{"repo":"schizoidcock/mcx","free":true,"listed":false,"github":"https://github.com/schizoidcock/mcx","clone":"git clone https://github.com/schizoidcock/mcx.git","description":"MCP server that lets AI agents execute code instead of calling tools directly.","language":"TypeScript","stars":28,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"MCX - Modular Code Execution MCP server that lets AI agents execute code instead of calling tools directly. Based on Anthropic's code execution article. The Problem Traditional MCP has two inefficiencies: 1. Tool definition overload - Loading all tool definitions floods context 2. Intermediate result bloat - Every API response passes through the model The Solution Instead of calling tools directly, the agent writes code that runs in a sandbox: Result: 98% token reduction by filtering data inside the execution environment. Installation Requires Bun: MCX uses Bun for runtime. Install Bun if you haven't already. Quick Start Directory Structure Claude Code Integration Add to your Claude Code settings ( /.claude.json or project's .mcp.json ): That's it! MCX automatically uses /.mcx/ for config and adapters. Claude Code Hooks (Optional) Redirect native tools to MCX alternatives for better performance: /.claude/settings.json: Native Tool MCX Alternative Advantage ------------- ----------------- ----------- Glob mcx find Frecency ranking, git status, proximity boost Grep mcx grep SIMD-accelerated, fuzzy search Edit mcx edit No \"read first\" requirement, CRLF normalization Write mcx write No \"read first\" requirement Read ( 50KB) mcx file({ storeAs }) File stays in sandbox, 99% token savings Bash cat/grep/find mcx file/mcx grep/mcx find Redirects shell commands to MCX See Hooks Integration for hook scripts. Key Features Feature Description --------- ------------- Lazy Loading Adapters f","default_branch":null,"files":null,"tree":[],"storefront":"/r/schizoidcock","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/schizoidcock/mcx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}