MCP Directory

micl2e2/code-to-tree

GitHub
Developer Tools

A single-binary MCP server that converts source code into AST, regardless of language.

Direct install

Run the underlying MCP server directly — without Agent-CoreX routing.

npx -y code-to-tree

Use with Agent-CoreX

Agent-CoreX intelligently routes which tools from micl2e2/code-to-tree your AI agent actually needs per request — reducing token usage and cost.

agent-corex.json

{
  "mcpServers": {
    "code-to-tree": {
      "command": "npx",
      "args": [
        "-y",
        "code-to-tree"
      ]
    }
  }
}

Route micl2e2/code-to-tree intelligently

Connect in 2 minutes. Only pay for the tools your agent actually uses.

Installation Guide

Use with Agent-CoreX

Recommended: intelligent tool routing, lower costs

uvx agent-corex mcp add code-to-tree

Agent-CoreX selects only the tools your agent needs, cutting token usage by up to 60%.

Direct Install

Use micl2e2/code-to-tree directly without routing

npx -y code-to-tree

New to Agent-CoreX? View setup guide →

micl2e2/code-to-tree MCP Server — Agent-CoreX