portofcontext/pctx

pctx is the execution layer for agentic tool calls. It auto-converts agent tools and MCP servers into code that runs in secure sandboxes for token-efficient workflows.

48
/ 100
Emerging

Replaces sequential tool calling with sandbox code execution, reducing token usage by ~98% through persistent MCP server aggregation and direct function access. Runs as either a stateless HTTP server or unified MCP server that handles authentication and upstream connection management, with generated code isolated in Deno sandboxes. Offers Python and CLI-based integration for agents using any framework (OpenAI Agents SDK, etc.) to access both custom tools and MCP servers through a unified Code Mode interface.

212 stars.

No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 13 / 25
Community 15 / 25

How are scores calculated?

Stars

212

Forks

23

Language

Rust

License

MIT

Last pushed

Feb 25, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/portofcontext/pctx"

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