Enables Large Language Models to interact with Model Context Protocol (MCP) servers by writing and executing TypeScript/JavaScript code through a local HTTP proxy.
This tool implements Cloudflare's "Code Mode" workflow, fundamentally shifting how Large Language Models (LLMs) interact with external systems. Instead of directly calling multiple specialized tools, LLMs are given a single `execute_code` tool. They then write standard TypeScript/JavaScript code, leveraging their strong code-generation abilities, to make HTTP requests to a local proxy. This proxy transparently forwards these requests to your Model Context Protocol (MCP) servers, allowing LLMs to orchestrate complex operations, chain calls, and process results within a familiar programming paradigm, all while operating within a secure Deno sandbox.