MCP Directory
Back

code-mode

by universal-tool-calling-protocol · TypeScript · ★ 1,503

🔌 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

npx -y github:universal-tool-calling-protocol/code-mode

Auto-generated from the repo's primary language — check the repo's own README for its exact install instructions.

Claude Desktop config

A starting point for your claude_desktop_config.json (auto-generated — the repo's README may specify a published package name or required env vars):

{
  "mcpServers": {
    "code-mode": {
      "command": "npx",
      "args": [
        "-y",
        "github:universal-tool-calling-protocol/code-mode"
      ]
    }
  }
}

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 →

Related other servers