1mcp
Enables AI agents to compose and execute sandboxed code for chained Model Context Protocol (MCP) tool calls, significantly reducing token usage.
1mcp empowers AI agents to write and execute JavaScript/TypeScript code that chains Model Context Protocol (MCP) tool calls within a secure, sandboxed environment. By compiling agent-generated code to WASM and running it in a QuickJS runtime, it dramatically reduces token usage compared to making individual tool calls. The platform provides granular control over network, filesystem, and runtime policies, allowing for safe execution either on a backend server or directly in the browser via Web Workers, offloading compute and maintaining state across sessions.
Características Principales
01Sandboxed JavaScript/TypeScript Runtime (WASM/QuickJS)
0213 GitHub stars
03Chained Code Execution for Token Reduction (up to 96%)
04Granular Security Policies (Network, Filesystem, Runtime Limits)
05Seamless AI SDK Integration
06Browser-Side Code Execution via Web Workers
Casos de Uso
01Enabling AI agents to perform complex, multi-step operations efficiently
02Integrating and sandboxing AI SDK tools for secure agent interactions
03Offloading AI agent computation to client browsers for reduced server load