Aider MCP Server

Aider MCP Server

aider-mcp-server-danielscholl•bydanielscholl

An MCP server that exposes Aider-based AI coding capabilities and model selection to MCP clients over SSE or stdio transports.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Runs one-shot AI coding tasks with Aider to add, fix, or enhance code in specified editable files.
  • •Lists available Aider models filtered by a substring.
  • •Sends a prompt to an LLM and returns its response.
  • •Can be run using SSE or stdio transports.

BEST FOR

  • •Enabling MCP clients to offload focused AI coding tasks to Aider.
  • •Developers who need to query and pick from available Aider models.

ABOUT AIDER-MCP-SERVER-DANIELSCHOLL

Aider MCP Server is cataloged as an MCP server attributed to danielscholl. An MCP server that exposes Aider-based AI coding capabilities and model selection to MCP clients over SSE or stdio transports. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Aider MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can I configure which model Aider uses for editing?

Yes, an editor model can be set via command line options or environment configuration, with a default Gemini model.

Can the coding task limit which files are edited?

Yes, the ai_code tool accepts lists of editable files and optional read-only files.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 335b50784c61 · 采集于 2026-11-13 11:16:13 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Aider MCP Server

A Machine Cognition Protocol (MCP) server that provides AI coding capabilities using Aider.

Status: Beta Python: 3.10+

Table of Contents

Overview

This MCP server leverages Aider, a powerful AI coding assistant, to provide coding capabilities via a standardized API. By discretely offloading work to Aider, we can reduce costs while using model-specific capabilities to create more reliable code through multiple focused LLM calls.

Features

  • AI Code Generation: Run one-shot coding tasks with Aider to add, fix, or enhance code
  • Model Selection: Query available models to choose the most appropriate one for your task
  • Flexible Configuration: Configure Aider sessions with customizable settings
  • Multi-transport Support: Run via Server-Sent Events (SSE) or stdio for flexible integration
  • General Question Answering: Ask an LLM questions using a simple prompt

Prerequisites

  • Python: 3.10 or higher
  • Package Manager: uv (recommended) or pip
  • API Keys: Depending on the models you want to use, you'll need API keys for:
    • OpenAI (for GPT models)
    • Anthropic (for Claude models)
    • Google (for Gemini models)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/aider-mcp.git
    cd aider-mcp
    
  2. Install the package:

    uv sync
    uv venv
    uv pip install -e .
    
  3. Run the tests to ensure everything is working:

    uv run pytest
    

Configuration

Configure the server behavior using environment variables in a .env file:

# Create environment file from example
cp .env.example .env

Edit the .env file to configure transport, host, port, and API keys.

VariableDescriptionDefaultRequired
TRANSPORTTransport protocol (sse or stdio)sseNo
HOSTHost to bind to when using SSE transport0.0.0.0No
PORTPort to listen on when using SSE transport8050No
OPENAI_API_KEYAPI key for OpenAI models*
ANTHROPIC_API_KEYAPI key for Anthropic models*
GEMINI_API_KEYAPI key for Google Gemini models*

*Required only if using models from that provider

Command Line Options

  • --editor-model: Model to use for editing (default: gemini/gemini-2.5-pro-exp-03-25)
  • --architect-model: Model to use for architecture planning (optional)
  • --cwd: Current working directory (default: current directory)

Running the Server

Start the Server (SSE Mode)

# Using the module directly
uv run python -m aider_mcp_server

Or with custom settings:

uv run python -m aider_mcp_server --editor-model "gemini/gemini-2.5-pro-exp-03-25" --cwd "/path/to/project"

You should see output similar to:

Starting server with transport: sse
Using SSE transport on 0.0.0.0:8050

Using stdio Mode

When using stdio mode, you don't need to start the server separately - the MCP client will start it automatically when configured properly (see Integration with MCP Clients).

MCP Tools

The Aider MCP server exposes the following tools:

ai_code

Run Aider to perform coding tasks.

Parameters:

  • ai_coding_prompt: The prompt for the AI coding task
  • relative_editable_files: List of files that can be edited
  • relative_readonly_files: (Optional) List of files that should be read-only
  • settings: (Optional) Settings for the Aider session

Example:

{
  "ai_coding_prompt": "Add a function that calculates the factorial of a number",
  "relative_editable_files": ["math.py"],
  "settings": {
    "auto_commits": false,
    "use_git": false
  }
}

get_models

List available Aider models filtered by substring.

Parameters:

  • substring: Substring to filter models by

Example:

{
  "substring": "openai"
}

ask_question

Send a prompt to an LLM and return the response.

Parameters:

  • prompt: The question or statement to send
  • model: (Optional) The LLM model to use

Example:

{
  "prompt": "What is the capital of France?",
  "model": "gpt-4o"
}

Integration with MCP Clients

Configure your MCP client to connect to the SSE endpoint:

{
  "mcpServers": {
    "aider-mcp-server": {
      "transport": "sse",
      "serverUrl": "http://localhost:8050/sse"
    }
  }
}

Stdio Integration

Configure your MCP client to run the server via stdio:

{
  "mcpServers": {
    "aider-mcp-server": {
      "transport": "stdio",
      "command": "python",
      "args": ["-m", "aider_mcp_server"],
      "env": {
        "TRANSPORT": "stdio"
      }
    }
  }
}

Integration with MCP Clients

Using Docker

{
    "mcpServers": {
      "aider-mcp-server": {
        "command": "docker",
        "args": [ "run", "-i", "--rm",
          "--mount", "type=bind,source=<YOUR_FULL_PATH>",
          "-e", "TRANSPORT=stdio",
          "-e", "EDITOR_MODEL=gemini/gemini-2.5-pro-preview-03-25",
          "-e", "GEMINI_API_KEY=<YOUR_API_KEY>",
          "danielscholl/aider-mcp-server"
        ]
      }
    }
  }

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Aider MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/aider-mcp-server-danielscholl)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools