Commit 7cf9574
committed
Major MCP Server Cleanup + UI Fixes - Sprint 6
COMPLETED WORK:
===============
1. MCP Server Complete Cleanup:
- Created mcp_tool.py decorator with auto parameter extraction
- Removed 460 lines of hardcoded tool definitions
- Dynamic tool loading from modules (22 tools working)
- Clean architecture: 350 lines vs 1000+ before
2. UI-MCP State Representation Fix:
- Fixed critical bug: parameters not showing in UI
- UI now directly represents MCP server state (no mapping)
- Native flat schema support
- Added design principle documentation in US-RAG-001
3. Tools Working (22 total):
- File Access Tools (6): read, write, list, search, info, exists
- Database Tools (6): query, schema, timeline, statistics
- RAG Swarm Tools (4): query, search, analyze, stats
- Google Drive Tools (6): list, search, get, upload, create, status
4. Documentation Updates:
- Updated US-RAG-001 with design principles
- Added pending work items for next session
- Cleaned up agile directory structure
- Updated sprint organization standards
PENDING FOR NEXT SESSION:
=========================
1. Google Docs MCP tools (similar to Drive)
2. API Key Configuration UI
3. Fix Research Swarm tools (import error)
4. Fix Agile tools (import error)
5. Fix Link Integrity tools (missing decorators)
FILES CHANGED:
==============
- utils/mcp/mcp_tool.py (NEW - 200 lines)
- utils/mcp/server.py (REWRITE - 350 lines, was 1000+)
- apps/mcp_management_app.py (UI parameter fix)
- docs/agile/sprints/sprint_6/user_stories/US-RAG-001.md (updated)1 parent 8c05a53 commit 7cf9574
File tree
240 files changed
+22553
-9722
lines changed- .cursor/rules
- context
- core
- enforcement
- meta
- agents
- rag
- research
- apps
- docs
- agile
- analysis
- automation
- backlog
- catalogs
- core
- frameworks
- overview
- planning
- retrospectives
- sprints
- current
- sprint_0
- completion
- execution
- user_stories
- sprint_1
- completion
- execution
- metrics
- planning
- retrospective
- review
- user_stories
- sprint_2
- completion
- execution
- user_stories
- sprint_3
- execution
- user_stories
- sprint_4
- analysis
- completion
- execution
- user_stories
- sprint_5
- execution
- planning
- sprint_6
- analysis
- completion_summaries
- execution
- planning
- research_sprint_archive
- user_stories
- user_stories
- teams
- user_stories
- validation
- architecture
- guides
- mcp
- testing
- monitoring
- reports
- scripts
- tests
- integration
- unit
- utils
- agile
- mcp
- tools
- prompts
- rag
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
240 files changed
+22553
-9722
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
84 | 136 | | |
85 | 137 | | |
86 | 138 | | |
| |||
92 | 144 | | |
93 | 145 | | |
94 | 146 | | |
| 147 | + | |
95 | 148 | | |
96 | 149 | | |
97 | 150 | | |
| |||
123 | 176 | | |
124 | 177 | | |
125 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
126 | 187 | | |
127 | 188 | | |
128 | 189 | | |
| |||
131 | 192 | | |
132 | 193 | | |
133 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
134 | 198 | | |
135 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
136 | 212 | | |
137 | 213 | | |
138 | 214 | | |
139 | 215 | | |
140 | 216 | | |
141 | 217 | | |
142 | | - | |
| 218 | + | |
143 | 219 | | |
144 | 220 | | |
145 | 221 | | |
146 | | - | |
| 222 | + | |
147 | 223 | | |
148 | 224 | | |
149 | 225 | | |
150 | | - | |
| 226 | + | |
151 | 227 | | |
152 | 228 | | |
153 | 229 | | |
| |||
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
1 | 33 | | |
2 | 34 | | |
3 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | 2 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
9 | 28 | | |
10 | 29 | | |
11 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
540 | 580 | | |
541 | 581 | | |
542 | 582 | | |
| |||
Lines changed: 55 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
155 | 181 | | |
156 | 182 | | |
157 | 183 | | |
| |||
207 | 233 | | |
208 | 234 | | |
209 | 235 | | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
210 | 242 | | |
211 | 243 | | |
212 | 244 | | |
| |||
273 | 305 | | |
274 | 306 | | |
275 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
276 | 331 | | |
277 | 332 | | |
278 | 333 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments