Code Mode Proxy

•
32
•

Aggregates numerous Model Context Protocol servers into two programmable tools for efficient AI agent interaction.

The rapid proliferation of Model Context Protocol (MCP) servers can overwhelm AI agents with hundreds of individual tool definitions, leading to significant context burden. This tool elegantly solves this 'tool explosion' by consolidating all connected MCP servers behind just two powerful, code-mode functions: `search()` to dynamically discover available tools using TypeScript filters, and `execute()` to call any tool across any server with type-safe, asynchronous code. This approach drastically reduces the context burden for AI models, enables dynamic server hot-reloads, and supports complex, chained tool interactions within a secure, sandboxed JavaScript environment.

Características Principales

01Consolidates hundreds of tool definitions into just two core functions.
02Supports hot-reloading of servers without restarting the AI agent.
03Enables composable, chained execution of tools across multiple servers.
04Provides type-safe interaction with auto-generated TypeScript declarations.
05Executes agent code in a sandboxed QuickJS engine for security.
0628 GitHub stars

Casos de Uso

01Dynamically discover tools from any connected server by writing TypeScript filter code.
02Integrate new MCP servers seamlessly into an AI agent's environment without needing to update its configuration.
03Execute complex, multi-step workflows by chaining calls to tools across different servers in a single command.