Connects MCP clients to Aider so they can edit and create files in a repository.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add aider -- uvx aider-mcp --repo-path /path/to/your/repo~/.codex/config.toml
[mcp_servers.aider]
command = "uvx"
args = ["aider-mcp", "--repo-path", "/path/to/your/repo"]
# codex mcp add aider -- uvx aider-mcp --repo-path /path/to/your/repo~/.cursor/mcp.json
{
"mcpServers": {
"aider": {
"command": "uvx",
"args": [
"aider-mcp",
"--repo-path",
"/path/to/your/repo"
]
}
}
}.vscode/mcp.json
{
"servers": {
"aider": {
"type": "stdio",
"command": "uvx",
"args": [
"aider-mcp",
"--repo-path",
"/path/to/your/repo"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"aider": {
"command": "uvx",
"args": [
"aider-mcp",
"--repo-path",
"/path/to/your/repo"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"aider": {
"command": "uvx",
"args": [
"aider-mcp",
"--repo-path",
"/path/to/your/repo"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"aider": {
"command": "uvx",
"args": [
"aider-mcp",
"--repo-path",
"/path/to/your/repo"
]
}
}
}