batch.run

Run up to 50 endpoint calls behind ONE x402 payment. Price = exact sum of the sub-call prices (no discount). Atomic: every sub-call must succeed or nothing is charged (failures are returned so you can retry for free). Sub-calls must be ordinary catalog endpoints (no bearer-only, deprecated, varia...

Server Mcp @2sio/mcp
Category Execute
Risk class High
Parameters 00 required

What batch.run does on Mcp

AI agents invoke batch.run to trigger actions in Mcp. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.

Why batch.run needs a policy

This tool executes multiple endpoint calls in a single atomic transaction with financial consequences (x402 payment settlement). While it could theoretically batch Read or Write operations, the fact that it coordinates execution of 'up to 50 endpoint calls' with atomic guarantees and financial settlement via cryptocurrency means its primary function is Execute—it orchestrates and triggers external operations with…

From the tool's definition 'Run up to 50 endpoint calls behind ONE x402 payment' and 'Atomic: every sub-call must succeed or nothing is charged' indicate the tool executes multiple arbitrary endpoint calls with financial settlement via x402 payment mechanism on blockchain (USDC on Base…

Risk signalsBulk/mass operation — affects multiple targets

Questions about batch.run

What does the batch.run tool do? +

Run up to 50 endpoint calls behind ONE x402 payment. Price = exact sum of the sub-call prices (no discount). Atomic: every sub-call must succeed or nothing is charged (failures are returned so you can retry for free). Sub-calls must be ordinary catalog endpoints (no bearer-only, deprecated, variable-priced, or metered-upstream endpoints; no nested batch). Each item carries that endpoint\. It is categorised as a Execute tool in the Mcp MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

How do I enforce a policy on batch.run? +

Register the MCP server in PolicyLayer and add a rule for batch.run: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp. Nothing to install.

What risk level is batch.run? +

batch.run is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit batch.run? +

Yes. Add a rate_limit block to the batch.run rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block batch.run completely? +

Set action: deny in the PolicyLayer policy for batch.run. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides batch.run? +

batch.run is provided by the MCP server (@2sio/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.