Skip to content

Commit 30c7442

Browse files
committed
Add FastMCP dev servers + notebook launcher; update sprint artifacts
1 parent 9d4b934 commit 30c7442

18 files changed

Lines changed: 2640 additions & 283 deletions

docs/agile/catalogs/CURRENT_BACKLOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
2. **MCP server suite runbook and canonical configuration**
1313
- **User Story**: US-MCP-002
14-
- **Outcome**: Local FastMCP servers are easy to run; client connectivity is easy to validate
14+
- **Outcome**: Development MCP server suite is easy to run; client connectivity is easy to validate
1515

1616
3. **Coordinator + specialist subagent composition**
1717
- **User Story**: US-DEEPAGENTS-002

docs/agile/catalogs/SPRINT_SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
| ID | Title | Status | Points |
1919
|----|-------|--------|--------|
20-
| US-MCP-002 | FastMCP Tool Server Suite + Client Configuration | Not started | 8 |
20+
| US-MCP-002 | Development MCP Tool Server Suite + Client Configuration | Not started | 8 |
2121
| US-DEEPAGENTS-001 | DeepAgents Baseline Agent with MCP Tools + Memory | Not started | 13 |
2222
| US-DEEPAGENTS-002 | Specialized Subagents + Coordinator Routing | Not started | 8 |
2323
| US-DEEPAGENTS-003 | HITL + Safety for Sensitive Operations | Not started | 5 |

docs/agile/catalogs/TASK_CATALOG.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ This catalog provides detailed visibility into all tasks across user stories, in
1212

1313
## Active Sprint Tasks (Sprint 8)
1414

15-
### US-MCP-002: FastMCP Tool Server Suite + Client Configuration (8 Points)
15+
### US-MCP-002: Development MCP Tool Server Suite + Client Configuration (8 Points)
1616
| Task ID | Task Description | Estimate | Status | Owner | Notes |
1717
|---------|------------------|----------|--------|-------|-------|
18-
| T-MCP-002-01 | Define canonical local MCP server ports/endpoints and runbook | 2h | To Do | AI Team | Document ports 8000-8003 |
19-
| T-MCP-002-02 | Add client connectivity check (tool discovery + one tool call per server) | 3h | To Do | AI Team | Keep minimal and reliable |
20-
| T-MCP-002-03 | Document failure modes (missing env vars, server down, wrong port) | 1h | To Do | AI Team | Focus on actionable errors |
18+
| T-MCP-002-01 | Define canonical development MCP server suite (ports/endpoints) + runbook | 2h | To Do | AI Team | dev_repo/dev_search/dev_tests/github/dev_docs |
19+
| T-MCP-002-02 | Add client connectivity check (tool discovery + one safe tool call per server) | 3h | To Do | AI Team | Keep minimal and reliable |
20+
| T-MCP-002-03 | Document failure modes + safety policy (read-only default; write/exec gated by HITL) | 2h | To Do | AI Team | Align with project safety rules |
21+
| T-MCP-002-04 | Define allowlist for dev_tests/github (what commands are permitted without approval) | 2h | To Do | AI Team | Default to read-only; keep strict |
22+
| T-MCP-002-05 | Add research + RAG servers (dev_research/dev_knowledge) and document network policy | 3h | To Do | AI Team | Web + vector DB retrieval via MCP |
2123

2224
### US-DEEPAGENTS-001: DeepAgents Baseline Agent with MCP Tools + Memory (13 Points)
2325
| Task ID | Task Description | Estimate | Status | Owner | Notes |
@@ -29,7 +31,7 @@ This catalog provides detailed visibility into all tasks across user stories, in
2931
### US-DEEPAGENTS-002: Specialized Subagents + Coordinator Routing (8 Points)
3032
| Task ID | Task Description | Estimate | Status | Owner | Notes |
3133
|---------|------------------|----------|--------|-------|-------|
32-
| T-DA-002-01 | Create 2-3 specialist subagents with MCP tools | 3h | To Do | AI Team | finance/news/weather |
34+
| T-DA-002-01 | Create 2-3 specialist subagents with MCP tools | 3h | To Do | AI Team | repo/search/tests/git/docs + research |
3335
| T-DA-002-02 | Create coordinator with delegation tools and synthesis | 3h | To Do | AI Team | Must clearly attribute specialists |
3436

3537
### US-DEEPAGENTS-003: HITL + Safety for Sensitive Operations (5 Points)

docs/agile/catalogs/USER_STORY_CATALOG.md

Lines changed: 115 additions & 115 deletions
Large diffs are not rendered by default.

docs/agile/sprints/current_sprint.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ Build a reliable foundation for **DeepAgents-based agents** that use **MCP tools
3131

3232
### In Progress (Week 1)
3333

34-
#### US-MCP-002: FastMCP Tool Server Suite + Client Configuration (8 points)
34+
#### US-MCP-002: Development MCP Tool Server Suite + Client Configuration (8 points)
3535
**Priority**: High
3636
**Status**: Not started
3737

3838
**Scope**:
39-
- Standardize how we run the local FastMCP servers (weather/finance/news/calculator)
39+
- Define and standardize a **development MCP server suite** (repo inspection, search, tests, git, docs)
4040
- Provide a single place for MCP server endpoints/ports
4141
- Add a quick connectivity check and example client usage
4242

@@ -134,7 +134,7 @@ For complete sprint information, see:
134134
- Standard deep agent creation, memory via checkpointer, optional persistent memory patterns
135135

136136
### 2. MCP tools as the core integration surface
137-
- Local FastMCP servers (weather/finance/news/calculator)
137+
- Development MCP server suite (repo/search/tests/git/docs) for agent building
138138
- Configurable remote MCP servers (optional)
139139

140140
### 3. Optional multi-agent delegation

docs/agile/sprints/sprint_8/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
| ID | Title | Points | Priority | Status |
2222
|----|-------|--------|----------|--------|
23-
| **US-MCP-002** | FastMCP Tool Server Suite + Client Configuration | 8 | High | Not started |
23+
| **US-MCP-002** | Development MCP Tool Server Suite + Client Configuration | 8 | High | Not started |
2424
| **US-DEEPAGENTS-001** | DeepAgents Baseline Agent with MCP Tools + Memory | 13 | Critical | Not started |
2525
| **US-DEEPAGENTS-002** | Specialized Subagents + Coordinator Routing | 8 | High | Not started |
2626
| **US-DEEPAGENTS-003** | HITL + Safety for Sensitive Operations | 5 | High | Not started |

docs/agile/sprints/sprint_8/backlog.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,19 @@
99
## Sprint Overview
1010

1111
### Success Criteria
12-
- [ ] Local FastMCP servers can be started via a simple runbook and are reachable from a client
12+
- [ ] Development MCP server suite can be started via a simple runbook and is reachable from a client
1313
- [ ] Baseline DeepAgent can load MCP tools and successfully call at least 2 tools end-to-end
1414
- [ ] Coordinator can delegate to specialists and synthesize a unified response
15+
- [ ] Agent can perform research and retrieval:
16+
- web search via MCP (with sources)
17+
- RAG retrieval via MCP (with citations/metadata)
1518

1619
## User Stories
1720

1821
### Priority 1 - Must Have
1922
| Story ID | Title | Story Points | Assignee | Status |
2023
|----------|-------|--------------|----------|--------|
21-
| US-MCP-002 | FastMCP Tool Server Suite + Client Configuration | 8 | AI Team | Not started |
24+
| US-MCP-002 | Development MCP Tool Server Suite + Client Configuration | 8 | AI Team | Not started |
2225
| US-DEEPAGENTS-001 | DeepAgents Baseline Agent with MCP Tools + Memory | 13 | AI Team | Not started |
2326

2427
### Priority 2 - Should Have
@@ -34,7 +37,7 @@
3437
## Sprint Tasks (High-Level)
3538

3639
### Development Tasks
37-
- [ ] Define canonical MCP server config (ports, endpoints) and a runbook
40+
- [ ] Define canonical development MCP server config (ports, endpoints) and a runbook
3841
- [ ] Implement baseline DeepAgent entrypoint (tools + memory) consistent with notebook patterns
3942
- [ ] Implement coordinator + delegation tools to call specialist agents
4043

docs/agile/sprints/sprint_8/user_stories/US-DEEPAGENTS-002.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,20 @@
1212
## Story Overview
1313

1414
**As a** user of the agent system
15-
**I want** a coordinator agent that can delegate to specialized subagents (finance/news/weather)
16-
**So that** tasks can be routed to the best tool set and the final answer is synthesized from specialist outputs
15+
**I want** a coordinator agent that can delegate to specialized development subagents (repo/search/tests/git/docs)
16+
**So that** real development tasks can be routed to the best tool set and the final answer is synthesized from specialist outputs
1717

1818
## Acceptance Criteria
1919

2020
- [ ] Define at least 2 specialist subagents with limited, domain-specific MCP tools
2121
- [ ] Define a coordinator agent with delegation tools (one per specialist)
2222
- [ ] Coordinator synthesizes results into a single response and indicates which specialist handled what
23-
- [ ] Demonstrate a multi-domain query that triggers at least 2 specialists
23+
- [ ] Demonstrate a multi-step development query that triggers at least 2 specialists (e.g., search + tests, or search + git diff)
24+
- [ ] Include a **research specialist** (web + RAG) for “how do I do X?” development questions
2425

2526
## Notes
2627

2728
- Reference patterns: `tests/deep_agents/deep_agents_mcp.ipynb` (specialized servers + delegation tools)
29+
- This story depends on the development MCP server suite defined in US-MCP-002.
2830

2931

Lines changed: 67 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# User Story: US-MCP-002 - FastMCP Tool Server Suite + Client Configuration
1+
# User Story: US-MCP-002 - Development MCP Tool Server Suite + Client Configuration
22

33
**Epic**: EPIC-2: Software Development Agents
44
**Sprint**: Sprint 8
@@ -11,20 +11,78 @@
1111
## Story Overview
1212

1313
**As a** developer building agents with MCP tools
14-
**I want** a clear, repeatable way to run local FastMCP servers and connect to them from a client
15-
**So that** DeepAgents-based agents can reliably discover and call MCP tools during development and demos
14+
**I want** a clear, repeatable way to run development-focused MCP servers and connect to them from a client
15+
**So that** DeepAgents-based agents can reliably discover and call the tools needed for real software development workflows (repo inspection, search, tests, git, docs)
1616

1717
## Acceptance Criteria
1818

19-
- [ ] Define and document canonical local MCP server ports/endpoints for:
20-
- weather (8000), finance (8001), news (8002), calculator (8003)
21-
- [ ] Provide a runbook for starting all servers locally (separate terminals)
22-
- [ ] Provide a simple client-side connectivity check (tool discovery and one tool call per server)
23-
- [ ] Failure modes documented (server down, wrong port, missing env var such as NEWS_API_KEY)
19+
- [ ] Define and document canonical local MCP server ports/endpoints for a **development server suite**:
20+
- **dev_repo** (repo inspection: list/read) on **8100**
21+
- **dev_search** (code search: grep/semantic-ish search) on **8101**
22+
- **dev_tests** (test runner: pytest/targeted commands, allowlisted) on **8102**
23+
- **github** (official GitHub MCP server; remote; uses `GITHUB_TOKEN`) on **(remote)**
24+
- **dev_docs** (link scan/validate + docs navigation helpers) on **8104**
25+
- **dev_research** (internet research: web search + source capture) on **8105**
26+
- **dev_knowledge** (RAG retrieval + knowledge base maintenance) on **8106**
27+
- [ ] Provide a runbook for starting the suite locally (separate terminals) and verifying the ports are reachable
28+
- [ ] Provide a minimal client-side connectivity check:
29+
- tool discovery per server
30+
- one safe read-only tool call per server (happy path)
31+
- [ ] Document failure modes and mitigations:
32+
- server down / wrong port
33+
- missing optional dependencies (pytest, git)
34+
- missing env vars for optional integrations
35+
- permission errors (workspace path not accessible)
36+
- [ ] Define a safety policy for development MCP tools:
37+
- **Default read-only**
38+
- **Any write/exec/git-push requires HITL approval** (handled by US-DEEPAGENTS-003)
39+
40+
## Proposed Tool Map (v1)
41+
42+
These tool IDs are the *capabilities* we want available to the DeepAgent. Implementation can reuse existing tool functions where they already exist (see Notes).
43+
44+
- **dev_repo** (read-only)
45+
- `file.list_directory`
46+
- `file.read`
47+
- `file.search_content`
48+
- `file.get_info`
49+
- `file.exists`
50+
- **dev_docs** (read-only by default; healing is gated)
51+
- `link.scan_all`
52+
- `link.validate`
53+
- `link.generate_report`
54+
- `link.heal` (RESTRICTED; requires HITL approval)
55+
- **dev_search** (read-only)
56+
- `file.search_content` (baseline)
57+
- (future) fast code search across the repo with file-type filters
58+
- **dev_tests** (execution; allowlisted commands only; can be HITL-gated)
59+
- run `pytest` for a specific path/test id
60+
- parse failures into a structured summary
61+
- **github** (remote; read-only by default; any write ops are gated)
62+
- Use the official GitHub MCP server at `https://api.githubcopilot.com/mcp/`
63+
- Auth: `Authorization: Bearer $GITHUB_TOKEN`
64+
- Prefer read-only operations for v1 (search, read, list); gate write operations via HITL
65+
- **dev_research** (network access; read-only)
66+
- `research.plan_research` (query decomposition)
67+
- `research.quick_search` (fast web research)
68+
- `research.web_search` (full research swarm with verification/synthesis)
69+
- `research.get_stats` (capabilities + diagnostics)
70+
- **dev_knowledge** (RAG + knowledge base)
71+
- `rag_swarm.query` (end-to-end: retrieval + response + metrics)
72+
- `rag_swarm.semantic_search` (retrieval only)
73+
- `rag_swarm.analyze_query` (query analysis/rewrites)
74+
- `rag_swarm.get_stats` (capabilities + diagnostics)
75+
- (future) software catalog / anti-duplication:
76+
- `software_catalog.build_comprehensive_catalog`
77+
- `software_catalog.search_catalog_semantic`
2478

2579
## Notes
2680

2781
- Reference implementation patterns: `tests/deep_agents/deep_agents_mcp.ipynb`
28-
- Local server code lives in: `utils/mcp/fastmcp/`
82+
- Existing FastMCP demo servers live in: `utils/mcp/fastmcp/` (weather/finance/news/calculator). Keep them for demos, but Sprint 8 focuses on development tooling.
83+
- Existing internal MCP tool registry exists under `utils/mcp/server.py` and `utils/mcp/tools/`; we should reuse tool implementations where possible instead of re-inventing them.
84+
- Existing MCP research and RAG tools already exist:
85+
- `utils/mcp/tools/research_swarm_tools.py` (web research swarm)
86+
- `utils/mcp/tools/rag_swarm_tools.py` (RAG swarm over ContextEngine/Qdrant)
2987

3088

0 commit comments

Comments
 (0)