MCP Directory
Back

code-mode

by universal-tool-calling-protocol ยท Python ยท โ˜… 1,437

๐Ÿ”Œ Plug-and-play library to enable agents to call MCP and UTCP tools via code execution.

#ai-agents#codemode#mcp#model-context-protocol#toolchain#utcp

Install

pip install git+https://github.com/universal-tool-calling-protocol/code-mode.git

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "code-mode": {
      "command": "uvx",
      "args": [
        "git+https://github.com/universal-tool-calling-protocol/code-mode.git"
      ]
    }
  }
}

From the README

๐Ÿค– Code-Mode Library: First library for tool calls via code execution [](https://www.npmjs.com/package/@utcp/code-mode) > Transform your AI agents from clunky tool callers into efficient code executors โ€” in just 3 lines. LLMs excel at writing code but struggle with tool calls. Instead of exposing hundreds of tools directly, give them ONE tool that executes TypeScript code with access to your entire toolkit. [Apple](https://machinelearning.apple.com/research/codeact), [Cloudflare](https://blog.cloudflare.com/code-mode/), and [Anthropic](https://โ€ฆ
Read full README on GitHub โ†’

๐Ÿ’ก Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related developer tools servers