Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By joeblackwaslikev1.0.1MITIn 1 marketplace
Sandboxed code execution MCP server — keep intermediate results out of the context window
You run one by typing its /name in Claude Code.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
1 caution to review before installing
A command runs shell commands (! syntax) when you invoke it
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Implementation of "Code execution with MCP: building more efficient AI agents" — Anthropic Engineering, Nov 2025. The canonical reference for this pattern.
This isn't a compression trick. Intermediate data — raw API responses, filtered lists, full document bodies — never enters the context window at all. The sandbox is opaque to Claude by design.
Mid-workflow. Claude's working. Three more tool calls to go. Then:
✓ Searching QuickBooks... 847 invoices found (context: +14,200 tokens)
✓ Filtering overdue... 23 invoices (context: +8,100 tokens)
✓ Fetching customer details...
⚠ Claude AI Usage Limit Reached
You've reached your usage limit and will be able to resume in 5 hours.
The tool calls worked. Claude ran out of room to think.
mcp-exec fixes this architecturally — you decide what enters context, and everything else stays in the sandbox.
mcp-exec adds two tools to Claude Code:
tools(query) — searches your connected MCP servers and returns trimmed summaries. Full schemas never touch the context window.exec(code, runtime) — runs code in an OS-level sandbox. MCP servers are importable as modules. Only the final return value comes back.Runtimes:
| Runtime | State | Use for |
|---|---|---|
"node" | Persistent (globalThis) | MCP orchestration, multi-step workflows |
"bash" | Stateless | Unix pipelines, jq, awk, post-processing |
"python" | Stateless (uv run --isolated) | Data analysis, pandas, arbitrary PyPI packages via PEP 723 |
Without mcp-exec: 847 invoices returned raw (14k tokens), customer lookups add 8k more, rate limit mid-task.
With mcp-exec:
exec({
runtime: "node",
code: `
import { searchInvoices, getInvoice } from 'mcp/quickbooks';
import { getCustomer } from 'mcp/crm';
import { createDraft } from 'mcp/gmail';
const overdue = await searchInvoices({ status: 'overdue' });
const details = await Promise.all(
overdue.map(inv => Promise.all([
getInvoice({ id: inv.id }),
getCustomer({ id: inv.customerId })
]))
);
const body = details
.map(([inv, cust]) => \`\${inv.amount} — \${cust.name}\`)
.join('\n');
await createDraft({ to: '[email protected]', subject: 'Overdue invoices', body });
return \`Draft created — \${overdue.length} invoices\`;
`
})
// → "Draft created — 23 invoices" tokens used: ~80
Without mcp-exec: 34 Linear tickets + 12 PRs with diffs + 200 Slack messages = 20k tokens before the meeting starts.
With mcp-exec:
exec({
runtime: "node",
code: `
import { getIssues } from 'mcp/linear';
import { listPullRequests } from 'mcp/github';
import { getMessages, postMessage } from 'mcp/slack';
mcp-exec@agent-marketplace is listed by joeblackwaslike/agent-marketplace — review the source before installing
npx claudepluginhub joeblackwaslike/agent-marketplace --plugin mcp-execPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.