Atlas / MCP servers / disler / Aider

AiderSAFE

mcp/disler/aider-2

Minimal MCP Server for Aider

Verdict
SAFE
Grade
B
Trust score
88 /100
Exposed tools
2 1r · 1w · 0d
Transport
stdio
License
—
Stars
308
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Model context protocol server for offloading AI coding work to Aider, enhancing development efficiency and flexibility.

Overview

This server allows Claude Code to offload AI coding tasks to Aider, the best open source AI coding assistant. By delegating certain coding tasks to Aider, we can reduce costs, gain control over our coding model and operate Claude Code in a more orchestrative way to review and revise code.

Setup

  1. Clone the repository:
git clone https://github.com/disler/aider-mcp-server.git
  1. Install dependencies:
uv sync
  1. Create your environment file:
cp .env.sample .env
  1. Configure your API keys in the .env file (or use the mcpServers "env" section) to have the api key needed for the model you want to use in aider:
GEMINI_API_KEY=your_gemini_api_key_here
OPENAI_API_KEY=your_openai_api_key_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here
...see .env.sample for more
  1. Copy and fill out the the .mcp.json into the root of your project and update the --directory to point to this project's root directory and the --current-working-dir to point to the root of your project.
{
"mcpServers": {
"aider-mcp-server": {
"type": "stdio",
"command": "uv",
"args": [
"--directory",
"",
"run",
"aider-mcp-server",
"--editor-model",
"gpt-4o",
"--current-working-dir",
""
],
"env": {
"GEMINI_API_KEY": "",
"OPENAI_API_KEY": "",
"ANTHROPIC_API_KEY": "",
...see .env.sample for more
}
}
}
}

Testing

Tests run with gemini-2.5-pro-exp-03-25

To run all tests:

uv run pytest

To run specific tests:

# Test listing models
uv run pytest src/aider_mcp_server/tests/atoms/tools/test_aider_lis
Read from source at commit e020b13ff62aOBSERVED · 2026-10-03
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add aider-mcp-server -- uvx aider-mcp-server
claude-desktop
{
  "mcpServers": {
    "aider-mcp-server": {
      "command": "uvx",
      "args": [
        "aider-mcp-server"
      ]
    }
  }
}
03

Exposed tools (2)

1 read · 1 write · 0 destructive.

ToolRiskDescription
aider_ai_codewriteRun Aider to perform AI coding tasks based on the provided prompt and files
list_modelsreadList available models that match the provided substring
04

Trust audit

SAFEgrade B · trust 88/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
declared (1 observation(s))
Dependencies
pinned
Secrets in source
found

Findings (3)

MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
ai_docs/just-prompt-example-mcp-server.xml:3026
api_key="sk-ds-3f422175ff114212a42d7107c3efd1e4",  # fake
LOWInventory / provenance · inv.hidden_file · CWE-1104
.env.sample
.env.sample
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-03 · audit v0.4.1 · source sha e020b13ff62afull audit observations/trust-audit/mcp-server/disler__aider-2.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-03e020b13ff62aSAFEB88first audit
06

Questions

What is the Aider MCP server?

Minimal MCP Server for Aider

What tools does Aider expose?

2 in total: 1 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Aider safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (88/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Aider need?

No credential environment variables were found in its source, so it appears to need none.

How does Aider run?

It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as aider-mcp-server.

How current is this page?

The grade is for one exact copy of the source (e020b13ff62a), read on 2026-10-03. The repository is watched and re-audited when it changes.

Advertisement