
agentrix mcp python
在 Docker 容器中运行隔离的 Aider 编码代理,通过 HTTP 请求触发代码自动化更改。
Repository Info
About This Server
在 Docker 容器中运行隔离的 Aider 编码代理,通过 HTTP 请求触发代码自动化更改。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Agentrix MCP: Aider in Docker
Agentrix MCP lets you run isolated Aider coding agents in Docker containers. Trigger automated code changes on a Git branch via a simple HTTP call.
How It Works
- Send a request to the MCP server with a repo URL, branch, and Aider instructions.
- MCP launches a Docker container (
agentrix-aiderimage) with your parameters. - Inside the container:
- The repo is cloned and the branch checked out/created.
- Git is configured (optionally with a GitHub token).
- Aider runs with your instructions and commits changes.
- Container exits after processing.
Prerequisites
- Docker (install guide)
- Python 3.6+
- pip or uv (recommended for fast Python dependency management)
Quick Start
-
Clone this repo and enter the directory:
git clone <this-repo-url> cd agentrix-mcp-python -
Install Python dependencies:
Using pip:
pip install uvicorn fastapi python-dotenv dockerOr, using uv (much faster):
- Install uv (macOS/Linux):
curl -LsSf https://astral.sh/uv/install.sh | sh - Or with pip:
pip install uv - Then install dependencies:
uv pip install uvicorn fastapi python-dotenv docker
- Install uv (macOS/Linux):
-
Build the Docker image:
docker build -t agentrix-aider:latest . -
Set your OpenAI API key (if needed):
export OPENAI_API_KEY='sk-YOUR_OPENAI_API_KEY'Or create a
.envfile with:OPENAI_API_KEY=sk-YOUR_OPENAI_API_KEY -
Start the MCP server:
uvicorn agentrix_mcp:app --reload --port 8000The server will be available at http://localhost:8000.
Tip: Use --reload for auto-reloading during development.
Now you're ready to send requests to Agentrix MCP!
Learn more about uv:
https://github.com/astral-sh/uv
Quick Start
Clone the repository
git clone https://github.com/magnusquest/agentrix-mcp-pythonInstall dependencies
cd agentrix-mcp-python
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.