PCTX is an open-source framework and Model Context Protocol (MCP) gateway designed to revolutionize how AI agents interact with tools and services. By aggregating multiple upstream MCP servers and handling complex authentication, PCTX presents a unified 'Code Mode' interface to agents. This innovative approach allows agents to generate and execute TypeScript code within secure Deno sandboxes, rather than making sequential, token-heavy tool calls. This significantly reduces token usage, enables complex native control flow (loops, conditionals, error handling), and ensures on-demand loading of tools, making agent-tool interactions more efficient, powerful, and secure.
主な機能
01Code mode interface for efficient agent interaction
02Isolated Deno sandbox for secure code execution
03Secure authentication (OAuth, environment variables, system keychain)
04TypeScript compiler with rich error feedback
050 GitHub stars
06Aggregation of multiple upstream MCP servers
ユースケース
01Improving AI agent efficiency by drastically reducing token usage in multi-step operations.
02Streamlining AI agent access to diverse tools and services through a single, unified gateway.
03Enabling AI agents to perform complex operations with native control flow, such as loops and conditionals, securely.