elusznik/mcp-server-code-execution-mode

An MCP server that executes Python code in isolated rootless containers with optional MCP server proxying. Implementation of Anthropic's and Cloudflare's ideas for reducing MCP tool definitions context bloat.

43
/ 100
Emerging

Implements dynamic tool discovery at runtime via a single `run_python` tool, allowing LLMs to search and compose MCP servers on-demand rather than pre-loading all schemas—reducing context overhead from 30K to ~200 tokens regardless of tool count. Built with rootless container isolation (Podman/Docker) and native Python support for data science workflows, it proxies any stdio-based MCP server while enabling fuzzy schema search and zero-copy execution within sandboxed environments. Targets AI agents and data-intensive applications requiring both strict security boundaries and the ability to discover/call 100+ tools without context explosion.

317 stars.

No Package No Dependents
Maintenance 6 / 25
Adoption 10 / 25
Maturity 13 / 25
Community 14 / 25

How are scores calculated?

Stars

317

Forks

28

Language

Python

License

GPL-3.0

Last pushed

Dec 05, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/elusznik/mcp-server-code-execution-mode"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.