Dev Team MCP

Dev Team MCP

Autonomous AI software development pipeline that transforms tickets into production-ready code through planning, coding, testing, reviewing, and delivery stages.

Category
访问服务器

README

Dev Team MCP — Autonomous AI Software Development Team

Submit a ticket → get production-ready code.

An autonomous MCP server that runs a full software development pipeline: Planner → Coder → Tester → Reviewer → Delivery

Runs on port 8002 alongside:

  • DevOps MCP (:8000) — Docker, K8s, AWS, Git
  • Dev Agent MCP (:8001) — Code generation in 18 languages

Architecture

┌─────────────────────────────────────────────────────────────────────┐
│  Claude Code / Copilot Chat                                         │
│                                                                     │
│  MCP Stdio Adapters:                                                │
│  ├── devops   → mcp-server      :8000  (DevOps — infra/git)        │
│  ├── dev      → mcp-dev-agent   :8001  (Code gen — 18 languages)   │
│  └── devteam  → dev-team-mcp    :8002  (Dev Team — full pipeline)  │
│                      │                                              │
│            ┌─────────▼─────────┐                                   │
│            │   ORCHESTRATOR    │                                    │
│            └─────────┬─────────┘                                   │
│                      │                                              │
│    ┌─────────────────┼─────────────────┐                           │
│    ▼                 ▼                 ▼                 ▼          │
│ PLANNER           CODER            TESTER           REVIEWER        │
│ Decompose         Generate         Write &          Security +      │
│ ticket into       production       run tests        perf + style    │
│ plan + stack      code files       fix failures     checklist       │
│    │                 │                 │                 │          │
│    └─────────────────┴─────────────────┴─────────────────┘         │
│                                │                                    │
│                      ┌─────────▼─────────┐                         │
│                      │  DELIVERY.md      │                         │
│                      │  git repo + tag   │                         │
│                      └───────────────────┘                         │
└─────────────────────────────────────────────────────────────────────┘

Each agent uses:

  • LLM (Ollama / OpenAI / Anthropic) for reasoning
  • Dev Agent :8001 for high-quality code generation and reviews
  • DevOps MCP :8000 for git operations and deployments

Quick Start

1. Install

cd ~/dev-team-mcp
make install

2. Configure

cp .env.example .env
# Edit .env — choose LLM_PROVIDER (default: ollama)

3. Run

# Start this server
make dev        # Dev server on :8002 with auto-reload

# Or start all three MCP servers at once
make start-all

4. Verify

curl http://localhost:8002/health | jq

How to Use

Submit a ticket (async)

curl -X POST http://localhost:8002/ticket \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Add JWT authentication to FastAPI app",
    "description": "Add JWT-based auth with login endpoint, token refresh, and protected routes. Use python-jose.",
    "language": "python",
    "framework": "fastapi",
    "priority": "high",
    "labels": ["feature", "security"]
  }'

Response:

{
  "ticket_id": "a1b2c3d4e5f6",
  "status": "pending",
  "message": "Ticket accepted. Pipeline started: Planner -> Coder -> Tester -> Reviewer. Poll GET /ticket/a1b2c3d4e5f6 for status."
}

Poll for status

curl http://localhost:8002/ticket/a1b2c3d4e5f6 | jq
{
  "ticket_id": "a1b2c3d4e5f6",
  "status": "done",
  "output_path": "/home/user/dev-team-mcp/workspace/add-jwt-auth-a1b2c3d4e5f6",
  "review_score": 88,
  "plan_summary": "Implement JWT authentication..."
}

Get all generated files

curl http://localhost:8002/ticket/a1b2c3d4e5f6/artifacts | jq

Get a specific file

curl http://localhost:8002/ticket/a1b2c3d4e5f6/artifacts/auth/jwt.py | jq .content

Blocking / sync mode (for small tasks)

curl -X POST http://localhost:8002/ticket/sync \
  -H "Content-Type: application/json" \
  -d '{"title": "Hello world script", "description": "Python script that prints hello world and current time"}'

MCP Tools (for Claude Code)

Once registered in ~/.claude/settings.json, you can use these tools directly in Claude:

Tool Description
devteam_submit_ticket Submit a ticket for autonomous development
devteam_submit_sync Submit and wait (blocking)
devteam_ticket_status Check pipeline progress
devteam_ticket_logs Stream agent log entries
devteam_list_tickets List all tickets
devteam_list_artifacts List generated files
devteam_get_artifact Get a specific file content
devteam_review_report Get code review score + checklist
devteam_cancel_ticket Cancel a ticket
devteam_health Health check

Pipeline Stages

1. Planner Agent

  • Reads the ticket and produces a structured JSON plan
  • Chooses the minimal viable tech stack
  • Breaks work into numbered steps with file targets
  • Flags security concerns (OWASP Top-10)
  • Defines test strategy and CI/CD approach

2. Coder Agent

  • Generates production-ready code for every file in the plan
  • Uses Dev Agent :8001 when available (falls back to direct LLM)
  • Applies OWASP mitigations (input validation, parameterised queries, no hardcoded secrets)
  • Auto-retries with alternative approach on failure

3. Tester Agent

  • Generates unit + integration tests for every source file
  • Runs tests via the language's native test runner
  • On failure: asks LLM to fix the implementation and re-runs (loop)
  • Tracks coverage percentage

4. Reviewer Agent

  • Full security audit (uses Dev Agent :8001 + LLM bundle review)
  • Performance analysis
  • Documentation completeness check
  • Production readiness checklist (12 criteria)
  • Auto-fixes medium/low issues
  • Approves (score ≥ 75) or rejects with detailed feedback

Delivery

  • All files written to workspace/<slug>-<ticket_id>/
  • Git repository initialised with commit history
  • DELIVERY.md — full handover document
  • production-ready-<id> git tag applied when approved

Output Structure

workspace/add-jwt-auth-a1b2c3d4e5f6/
├── DELIVERY.md          ← Human-readable handover
├── auth/
│   ├── jwt.py           ← JWT implementation
│   ├── routes.py        ← Protected routes
│   └── test_jwt.py      ← Unit tests
├── main.py              ← FastAPI app
├── requirements.txt
└── .github/
    └── workflows/
        └── ci.yml       ← GitHub Actions CI

Configuration

Env var Default Description
LLM_PROVIDER ollama ollama / openai / anthropic
OLLAMA_MODEL mistral Any Ollama model (codestral, llama3.1, etc.)
OPENAI_API_KEY Required when LLM_PROVIDER=openai
ANTHROPIC_API_KEY Required when LLM_PROVIDER=anthropic
DEVOPS_MCP_URL http://localhost:8000 DevOps MCP server URL
DEV_AGENT_URL http://localhost:8001 Dev Agent MCP server URL
DEV_TEAM_PORT 8002 This server's port
MAX_RETRIES 3 Max LLM retries per step
MAX_TEST_FAILURES 5 Max test fix iterations
WORKSPACE_DIR ./workspace Where generated repos land

Running Tests

make test

Full 3-Server Stack

# Terminal 1: DevOps MCP (infrastructure)
cd ~/mcp && make dev

# Terminal 2: Dev Agent MCP (code gen)
cd ~/mcp-dev-agent && make dev

# Terminal 3: Dev Team MCP (autonomous pipeline)
cd ~/dev-team-mcp && make dev

Or use the convenience target:

cd ~/dev-team-mcp && make start-all

Generated by Dev Team MCP — autonomous AI software development pipeline

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选