devagent
Provides tools for fetching GitHub pull request diffs and running automated code review, unit tests, and linting on the changed code.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@devagentreview the latest PR, run tests, and lint changed files"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Multi-Agent Dev Automation System — Agentic CI/CD Pipeline
An automated agentic CI/CD pipeline using FastAPI, Claude-powered agents, and Model Context Protocol (MCP) to automatically analyze GitHub Pull Requests, run unit tests, and lint files.
Project Architecture
devagent/
├── agents/ # Claude-powered agents
│ ├── base_agent.py # Base agent with tool execution loop
│ ├── reviewer_agent.py # Reviewer agent parsing PR diffs
│ └── prompts.py # System prompts
├── app/ # FastAPI application
│ ├── api/routes/ # API endpoints (health)
│ ├── services/ # Claude integration service
│ ├── config.py # Settings and environment config
│ └── main.py # FastAPI main entrypoint
├── mcp_server/ # MCP Server
│ ├── server.py # MCPServer registration and endpoints
│ └── tools/ # MCP tools (fetch_pr_diff, lint, run_tests, search)
├── tests/ # Test suite (pytest)
│ ├── test_agents.py
│ ├── test_health.py
│ └── test_mcp_tools.py
├── .env.example # Environment template
├── .gitignore # Git ignore files
└── requirements.txt # Python dependenciesRelated MCP server: code-review-mcp-server
Features & MCP Tools
BaseAgent: Executes a tool-calling loop using the Anthropic API (Claude 3.5 Sonnet) to recursively gather codebase information.
ReviewerAgent: Performs code reviews on PR diffs looking for correctness bugs, security vulnerabilities, and code quality issues.
MCP Tools:
fetch_pr_diff: Retrieves changed files and patches for a GitHub PR.search_codebase: Searches local files using patterns or text search.run_tests: Runs unit tests using pytest within the target repository.lint_code: Runs Ruff linter on target files.
Installation & Setup
Clone the repository (once pushed to GitHub).
Create and activate a virtual environment:
python -m venv .venv # Windows: .venv\Scripts\activate # Linux/macOS: source .venv/bin/activateInstall dependencies:
pip install -r requirements.txtConfigure environment variables: Create a
.envfile from the template and fill in your keys:cp .env.example .envAdd your
ANTHROPIC_API_KEYand optionallyGITHUB_TOKEN.
Running the Project
Running FastAPI App
uvicorn app.main:app --reloadAccess the API docs at http://localhost:8000/docs.
Running MCP Server
To run the MCP server directly:
python mcp_server/server.pyRunning Tests
To run all tests and verify the system works:
python -m pytestThis server cannot be deployed
Maintenance
Related MCP Connectors
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
Create, deploy, and operate MCP servers directly from your GitHub repositories.
AI-native git hosting — repos, PRs, issues, CI gates, and AI code review over MCP (60 tools).
Free MCP tools: the only MCP linter, health checks, cost estimation, and trust evaluation.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables code review operations on GitHub and GitLab, including fetching pull/merge requests, viewing diffs, adding comments, analyzing code quality, and creating merge requests directly from your MCP client.158 npm4MIT
- AlicenseNot gradedqualityAmaintenanceEnables automated code review and GitHub PR commenting through MCP integration.18 npm9MIT
- AlicenseAqualityCmaintenanceProvides GitHub PR review capabilities to LLMs, enabling automated PR analysis, review submission, and inline commenting via MCP.149 npm1MIT

Gitrama MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceProvides 15 MCP tools for AI-powered Git intelligence, enabling commit messages, branch creation, PR descriptions, code review, diff analysis, and push operations directly from your AI assistant.MIT