Aider MCP ServerServer

disler
GitHub
AI CodingDevelopment ToolsCode Management

Loading subscription status...

💡 Description

The Aider MCP Server is an experimental protocol server designed to offload AI coding tasks to Aider, enhancing development efficiency and flexibility. It allows the Claude Code to distribute AI coding tasks to the best open-source AI coding assistant, enabling better cost control and operational coordination.

📝 JSON Entries

{
  "mcpServers": [
    {
      "aider-mcp-server": {
        "env": {
          "GEMINI_API_KEY": "<your gemini api key>",
          "OPENAI_API_KEY": "<your openai api key>",
          "ANTHROPIC_API_KEY": "<your anthropic api key>"
        },
        "args": [
          "--directory",
          "<path to this project>",
          "run",
          "aider-mcp-server",
          "--editor-model",
          "gpt-4o",
          "--current-working-dir",
          "<path to your project>"
        ],
        "command": "uv"
      }
    }
  ]
}

🛠️ Tools

aider_ai_codelist_models

Features

  • Offload AI coding tasks to Aider
  • List available AI models

💬 Example Queries

  • Use the Aider AI Code tool to: Refactor the calculate_sum function in calculator.py to handle potential TypeError exceptions.
  • Use the Aider List Models tool to: List models that contain the substring 'gemini'.