aider-mcp
Documentation
MyMCP - Multiple Coding Prompts with Aider
MyMCP is a Python application that enables parallel execution of multiple AI coding tasks using the Aider tool. It provides a framework for running multiple coding prompts simultaneously, improving efficiency and reducing execution time.
Features
- Parallel Execution: Run multiple AI coding tasks simultaneously for faster results
- Sequential Execution: Option to run tasks sequentially when needed
- Detailed Reporting: Get comprehensive reports on task execution, including success/failure status and implementation details
- MCP Integration: Built on the Model Context Protocol (MCP) for standardized AI model interactions
- Performance Metrics: Compare parallel vs. sequential execution times
Installation
Prerequisites
- Python 3.8 or higher
- Git (for tracking code changes)
- Aider CLI tool
Setup
1. Clone the repository:
git clone https://github.com/eiliyaabedini/aider-mcp.git
cd aider-mcpInstallation Guide for MyMCP
This guide will help you set up MyMCP on your system.
Prerequisites
- Python 3.8 or higher
- Git
- Aider CLI tool
Step 1: Install Aider
Aider is a required dependency for MyMCP. You can install it using one of the following methods:
Option 1: One-line installer (Mac & Linux)
curl -s https://aider.chat/install.sh | shOr with wget:
wget -qO- https://aider.chat/install.sh | shOption 2: Using pip
python -m pip install aider-install
aider-installStep 2: Install AiderMCP Requirements
Option 1: Using pip
pip install -e .Option 2: Manual installation
pip install -r requirements.txtStep 3: Configure Environment Variables
Create a `.env` file from `.env.sample` in the project root directory with the following content:
# Default model to use if not specified
AIDER_MODEL=gpt-4.1-mini
# Add any other environment variables neededStep 4: Verify Installation
Run the test suite to verify that everything is working correctly:
python tests/test_multiple_ai.pyYou should see output showing both parallel and sequential execution of AI coding tasks.
Step 5: Use AiderMCP in Claude Desktop
"AiderMCP": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"/Users/path/to/aider_mcp.py"
]
}Usage
Basic Usage
Just ask your MCP client (Claude Desktop) to use the code_with_ai or code_with_multiple_ai tool for coding.
and provide the full path where it should create the files.
Sample of Snake game to run at same time:
Use this directory as WorkDirectory: /Users/eiliya/ai/snake
This is the prompt for making a Snake Battle Royale,
First create a Readme and Architect file as your plan for implementation and save it as md file then,
I want you to think deep and design tasks properly, You will use **code_with_multiple_ai **MCP tool to implement the code, so You need to give the coder good context, our coder needs some knowledge as readonly_files, so provide the location of the Readme.md and Architect.md (That you will create and is a big picture of whole project)
Important, this tools let you code in parallel but you need to be careful that your tasks has no dependency, planing is imporant, create different task branches, that each branch can be run without dependency to other branches,
then run tasks of multiple branches at same time,
even if you can design the code the way that all the tasks are seperated and can be run in one attempt (no dependency to each other) then you can run them all in one attempt:
Example:
Branch 1: Front end --> Task1: initiate front end, Task2: implement index page
Branch 2: Back end --> Task1: initiate backend, Task2: implement api
Branch 3: Database --> Task1: initiate database, Task2: implement database
Then in each round you can get all the Task 1 to this method
Or
Branch 1: Task1: Implement index.html, Task2: assemble everything into index.html
Branch 2: Task1: Implement script.js
Branch 3: Task1: Implement styles.css
Branch 4: Task1: Implement script3.js
Branch 5: Task1: Implement script4.js
Branch 6: Task1: Implement script5.js
Branch 7: Task1: Implement script6.js
Then in each round you can get all the Task 1 to this method, but in task 2 you know all the tasks 1 are implemented,
then you can have dependency to all other implemented tasks 1
Game prompt:
"Snake Battle Royale Language: HTML/CSS/JavaScript (vanilla, no frameworks) Libraries: None, pure JavaScript Style: Minimalist design with accent colors in teal and orange Rules: 1. All files should be in the folder snake_battle_royale 1. Keep the code clean and reusable, use functions and classes and split the code into multiple files to keep it organized Guidelines: 2. You can move the snake around the screen using the arrow keys 3. Eat food to grow the snake 4. Avoid hitting the edges of the screen, or the snakes own body, or the enemy snake, or you lose. The game is only over when the players snake is dead. 5. There are at least 3 powerups that change the game mechanics, including effects that show how the powerups work 6. A scoring system that rewards the player for eating food and hitting powerups 7. A simple AI opponent that competes with the player using pathfinding 8. A home screen where the player can hit enter to start the game 9. A game over screen that shows your score and allows you to go back to the home screen or restart the game 10. On the game screen, display a legend containing the powerups and their names, as well as the user and enemy snake's name and score 11. When the game starts, we should have a 3 second countdown where everything is frozen in place, then the game starts"
if **code_with_multiple_ai **tool failed stop the process, I need to check itRunning Tests
The project includes tests to verify functionality and compare parallel vs. sequential execution:
python tests/test_multiple_ai.pyArchitecture
The project consists of several key components:
- aider_mcp.py: Main module providing the `code_with_multiple_ai` function
- aider_ai_code.py: Integration with the Aider tool for AI coding
- aider_adapter.py: Custom adapter for the Aider CLI tool
- tests/: Test files to verify functionality
- Aider - AI pair programming tool
- MCP (Model Context Protocol) - Protocol for AI model interactions
Frequently asked questions
What is aider-mcp?
aider-mcp is a Model Context Protocol (MCP) server listed in the TrackMCP directory.
How do I install aider-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is aider-mcp open source?
Yes — it is hosted on GitHub at https://github.com/eiliyaabedini/aider-mcp and has 9 stars.
Related MCP tools
🙌 OpenHands: Code Less, Make More for the Model Context Protocol. Enhance AI assistants with powerful integrations. Python-based implementation.
Universal memory layer for AI Agents; Announcing OpenMemory MCP - local and secure memory management. Python-based implementation.
基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择ChatGPT/Claude/DeepSeek/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
🚀 The fast, Pythonic way to build MCP servers and clients Trusted by 19900+ developers. Trusted by 19900+ developers. Trusted by 19900+ developers.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. MaxKB 是强大易用的开源企业级智能体平台。 for the Model Context Protocol. Enhance AI assistants with po
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP