/ Diretório / Playground / codemcp
● Comunidade ezyang ⚡ Instantâneo

codemcp

por ezyang · ezyang/codemcp

Minimal MCP coding agent for Claude Desktop — read/write/run, nothing else.

codemcp turns Claude Desktop into a usable coding agent without paying for Claude Code. It exposes just enough to be productive: a file reader/writer, a shell runner, and a project init step. Designed to be small, auditable, and easy to bring your own restrictions.

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

codemcp.replay ▶ pronto
0/0

Instalar

Escolha seu cliente

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "codemcp": {
      "command": "uvx",
      "args": [
        "codemcp"
      ]
    }
  }
}

Abra Claude Desktop → Settings → Developer → Edit Config. Reinicie após salvar.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "codemcp": {
      "command": "uvx",
      "args": [
        "codemcp"
      ]
    }
  }
}

Cursor usa o mesmo esquema mcpServers que o Claude Desktop. Config de projeto vence a global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "codemcp": {
      "command": "uvx",
      "args": [
        "codemcp"
      ]
    }
  }
}

Clique no ícone MCP Servers na barra lateral do Cline, depois "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "codemcp": {
      "command": "uvx",
      "args": [
        "codemcp"
      ]
    }
  }
}

Mesmo formato do Claude Desktop. Reinicie o Windsurf para aplicar.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "codemcp",
      "command": "uvx",
      "args": [
        "codemcp"
      ]
    }
  ]
}

O Continue usa um array de objetos de servidor em vez de um map.

~/.config/zed/settings.json
{
  "context_servers": {
    "codemcp": {
      "command": {
        "path": "uvx",
        "args": [
          "codemcp"
        ]
      }
    }
  }
}

Adicione em context_servers. Zed recarrega automaticamente ao salvar.

claude mcp add codemcp -- uvx codemcp

Uma linha só. Verifique com claude mcp list. Remova com claude mcp remove.

Casos de uso

Usos do mundo real: codemcp

Use Claude Desktop as a free Claude Code replacement

👤 Devs on Claude Pro (not Max) who want agentic coding ⏱ ~15 min intermediate

Quando usar: You don't want to pay for Claude Code but want the same loop in Desktop.

Pré-requisitos
  • Server/skill installed and authenticated — See repo README
Fluxo
  1. Init a project
    Initialize codemcp in /repos/my-project. Whitelist pytest and ruff only.✓ Copiado
    → codemcp.toml written with those two commands
  2. Iterate
    Add a /healthz endpoint and a test for it. Run pytest after.✓ Copiado
    → File edits + green test output, auto-committed

Resultado: Coding-agent workflow in plain Claude Desktop — every step a git commit.

Armadilhas
  • RunCommand only runs what's whitelisted in codemcp.toml — RunCommand only runs what's whitelisted in codemcp.toml — list every command you'll need upfront.
Combine com: github · filesystem

Combinações

Combine com outros MCPs para 10× de alavancagem

codemcp + github

Pair with github for complementary capabilities

Use this server together with github to complete a multi-step task.✓ Copiado
codemcp + filesystem

Pair with filesystem for complementary capabilities

Use this server together with filesystem to complete a multi-step task.✓ Copiado

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
ReadFile path: str Inspect code before editing free
EditFile path, old, new Make a surgical change free
RunCommand command: str Run tests or scripts whitelisted in codemcp.toml free

Custo e limites

O que custa rodar

Cota de API
See provider docs for rate limits
Tokens por chamada
Varies by tool
Monetário
See repo README for pricing details
Dica
Cache tool results and avoid repeated identical calls.

Segurança

Permissões, segredos, alcance

Armazenamento de credenciais: Use environment variables; never commit secrets
Saída de dados: Tool calls go to the provider's API as documented

Solução de problemas

Erros comuns e correções

command not in allowlist

Add the command to codemcp.toml under [commands] before asking Claude to run it.

Verificar: cat codemcp.toml
edit didn't match

EditFile uses exact match. Read the file first and copy the exact old string including whitespace.

Verificar: ReadFile and compare

Alternativas

codemcp vs. outros

AlternativaQuando usarTroca
Claude CodeYou're on Claude Max and want first-party integrationPaid; codemcp is free + open source

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills