AC

aberemia24/code-executor-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

129 stars 23 forks Качество 75 Тренд 16MIT

aberemia24/code-executor-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/aberemia24/code-executor-mcp.

Обзор

aberemia24/code-executor-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/aberemia24/code-executor-mcp.

Обзор (машинный перевод)

Перестаньте бить стену 2-3 MCP сервера. Один MCP для организации всех — 98% экономии токенов, неограниченный доступ к инструментам.

Почему использовать Code Executor MCP?

  • 98% уменьшение токенов - 141k → 1,6k токенов (загрузить 1 executor против 50+ инструментов)
  • Sandbox Security - Изолированное выполнение Deno/Python, отсутствие интернета по умолчанию, логирование аудита
  • Type-Safe Wrappers — Автоматически сгенерируемый SDK TypeScript/Python с полным IntelliSense
  • Прогрессивное раскрытие — инструменты загружаются по требованию внутри песочницы, а не заранее в контексте
  • Zero Config Setup — мастер автоматически обнаруживает существующие MCP-серверы по Claude Code/Cursor
  • Готов к производству - 606 тестов, покрытие 95%+, поддержка Docker, ограничение скорости

Проблема

Нельзя использовать больше 2-3 MCP-серверов, прежде чем истощение контекста убьёт вас.

  • Исследования подтверждают: Точность инструментов значительно падает после 2-3 серверов
  • 6 490+ MCP-серверов доступны, но можно использовать только 2-3
  • 47 инструментов = 141k токенов расходуются до того, как вы напишете хоть слово

Вам приходится выбирать: файловая система ИЛИ браузер, или git, или AI-инструменты. Никогда не все.

Решение

Отключите все MCP. Включите только code-executor-mcp.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Code Executor MCP

Stop hitting the 2-3 MCP server wall. One MCP to orchestrate them all - 98% token savings, unlimited tool access.

Why Use Code Executor MCP?

  • 98% Token Reduction - 141k → 1.6k tokens (load 1 executor vs 50+ tools)
  • Sandboxed Security - Isolated Deno/Python execution, no internet by default, audit logging
  • Type-Safe Wrappers - Auto-generated TypeScript/Python SDK with full IntelliSense
  • Progressive Disclosure - Tools loaded on-demand inside sandbox, not upfront in context
  • Zero Config Setup - Wizard auto-detects existing MCP servers from Claude Code/Cursor
  • Production Ready - 606 tests, 95%+ coverage, Docker support, rate limiting

The Problem

You can’t use more than 2-3 MCP servers before context exhaustion kills you.

You’re forced to choose: filesystem OR browser OR git OR AI tools. Never all of them.

The Solution

Disable all MCPs. Enable only code-executor-mcp.

# Before: 47 tools, 141k tokens
mcp__filesystem__read_file
mcp__filesystem__write_file
mcp__git__commit
mcp__browser__navigate
... 43 more tools

# After: 2 tools, 1.6k tokens (98% reduction)
run-typescript-code
run-python-code

Inside the sandbox, access ANY MCP tool on-demand:

// Claude writes this automatically
const file = await callMCPTool('mcp__filesystem__read_file', { path: '/src/app.ts' });
const review = await callMCPTool('mcp__zen__codereview', { code: file });
await callMCPTool('mcp__git__commit', { message: review.suggestions });

Result: Unlimited MCP access, zero context overhead.

How Progressive Disclosure Works

sequenceDiagram
    participant C as Claude/Cursor
    participant E as Code Executor
    participant M as Other MCPs

    Note over C: ❌ Traditional: Load 50+ tools (141k tokens)

    Note over C: ✅ Code Executor: Load 2 tools (1.6k tokens)
    C->>E: run-typescript-code

    rect rgb(240, 248, 255)
        Note right of E: Sandbox (on-demand discovery)
        E->>M: callMCPTool('mcp__filesystem__read_file')
        M-->>E: Return data
    end

    E-->>C: Return result

Traditional MCP exposes all 47 tools upfront (141k tokens). Code Executor exposes 2 tools with outputSchema (1.6k tokens), loading others on-demand inside the sandbox when needed.

Quick Start

Открыть полный README на GitHub

Установка

npx -y code-executor-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "code-executor": { "command": "npx", "args": ["-y", "code-executor-mcp"], "env": { "MCP_CONFIG_PATH": "/full/path/to/this/.mcp.json", "DENO_PATH": "/path/to/.deno/bin/deno" } }, "filesystem": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "/home/user"] }, "playwright": { "command": "npx", "args": ["-y", "@playwright/mcp", "--headless"] } } }