MCP Server — RailKill/mcp-aider-executor

Model Context Protocol (MCP) server to execute aider-specific code editing operations

Local serverstdioPython

What is the MCP Server?

Model Context Protocol (MCP) server to execute aider-specific code editing operations

What you get

An .aider.mcp.details.json file is created in the same directory with the process ID and starting datetime. The MCP server provides tools for LLM agents to check if the process is still running, and to check the .aider.chat.history.md for updates.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
aider_check_git_logChecks recent commits.
aider_check_git_statusCalls git status --short to check the state of the given directory.
aider_check_last_promptReturns the original prompt message of the last Aider run.
aider_check_progressChecks the Aider chat history and background process status.
aider_checkout_git_branchSwitches git branches, creating a new one if it doesn't exist.
aider_create_git_stashStashes everything to clear the directory for Aider (git stash -u).
aider_git_revertReverts changes from a git commit by its hash.
aider_list_filesLists all files in a given directory.
aider_list_git_branchesReturns a list of git branches in the given directory.
aider_mcp_check_whitelistChecks what glob paths are whitelisted for this Aider MCP server.
aider_message_promptStarts aider as a background process with a given message prompt.
aider_read_config_yamlReturns the full content of the .aider.conf.yml in the directory.
aider_read_file_contentsReads the contents of a given filepath.
aider_setup_config_yamlCreates the .aider.conf.yml file in the directory.

How to install the MCP Server

{
  "mcpServers": {
    "mcp-aider-executor": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-aider-executor",
        "--whitelist",
        "/home/user/my-project/**",
        "--whitelist",
        "/local/my-application/**"
      ],
      "env": {
        "AIDER_MODEL": "openai/gemma-4-E4B-it-IQ4_XS",
        "OPENAI_API_BASE": "http://127.0.0.1:1337/v1",
        "OPENAI_API_KEY": "YOUR_OPENAI_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
AIDER_MODELDeclared in the maintainer’s client configuration.Check documentation
OPENAI_API_BASEDeclared in the maintainer’s client configuration.Check documentation
OPENAI_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use MCP to aider check git log.”
  • “Use MCP to aider check git status.”
  • “Use MCP to aider check last prompt.”

Frequently asked questions

Model Context Protocol (MCP) server to execute aider-specific code editing operations Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.