# Requirements: MCP GitHub Project Manager
**Defined:** 2026-01-30
**Core Value:** Comprehensive AI-enabled GitHub-based project management from 0-100
## v1 Requirements
Requirements for this milestone. Each maps to roadmap phases.
### GitHub Projects v2 API Coverage (GHAPI)
**Sub-issues:**
- [x] **GHAPI-01**: Add sub-issue to parent issue
- [x] **GHAPI-02**: List sub-issues for a parent issue
- [x] **GHAPI-03**: Get parent issue for a sub-issue
- [x] **GHAPI-04**: Reprioritize sub-issue within parent
- [x] **GHAPI-05**: Remove sub-issue from parent
**Project Status Updates:**
- [x] **GHAPI-06**: Create project status update
- [x] **GHAPI-07**: List project status updates
- [x] **GHAPI-08**: Get project status update by ID
**Project Templates:**
- [x] **GHAPI-09**: Mark project as template
- [x] **GHAPI-10**: Unmark project as template
- [x] **GHAPI-11**: Copy project from template
- [x] **GHAPI-12**: List organization project templates
**Project Linking:**
- [x] **GHAPI-13**: Link project to repository
- [x] **GHAPI-14**: Unlink project from repository
- [x] **GHAPI-15**: Link project to team
- [x] **GHAPI-16**: Unlink project from team
- [x] **GHAPI-17**: List linked repositories for project
- [x] **GHAPI-18**: List linked teams for project
**Project Lifecycle:**
- [x] **GHAPI-19**: Close project
- [x] **GHAPI-20**: Reopen closed project
**Draft Issue Operations:**
- [x] **GHAPI-21**: Convert draft issue to real issue
**Project Item Operations:**
- [x] **GHAPI-22**: Update item position (reorder within project)
**Advanced Search:**
- [x] **GHAPI-23**: Search issues with AND/OR keywords
- [x] **GHAPI-24**: Filter project items with advanced query syntax
### MCP Protocol Compliance (MCP)
**SDK Upgrade:**
- [x] **MCP-01**: Upgrade SDK from 1.12.0 to 1.25.2
- [x] **MCP-02**: Update all imports for new SDK structure
- [x] **MCP-03**: Verify all 71 tools work after upgrade
- [x] **MCP-04**: Update protocol version negotiation
**Tool Annotations:**
- [x] **MCP-05**: Add behavior annotations to all destructive tools (create, update, delete)
- [x] **MCP-06**: Add read-only annotations to all query tools (get, list)
- [x] **MCP-07**: Add idempotent annotations where applicable
**Tool Output Schemas:**
- [x] **MCP-08**: Define output schemas for all project tools
- [x] **MCP-09**: Define output schemas for all issue tools
- [x] **MCP-10**: Define output schemas for all PR tools
- [x] **MCP-11**: Define output schemas for all AI tools
- [x] **MCP-12**: Define output schemas for all automation tools
**Error Handling:**
- [x] **MCP-13**: Implement MCP-compliant error codes
- [x] **MCP-14**: Add proper error data payloads
- [x] **MCP-15**: Handle protocol version mismatches gracefully
### Tech Debt Resolution (DEBT)
**Service Decomposition:**
- [x] **DEBT-01**: Extract SubIssueService from ProjectManagementService
- [x] **DEBT-02**: Extract ProjectStatusService from ProjectManagementService
- [x] **DEBT-03**: Extract ProjectTemplateService from ProjectManagementService
- [x] **DEBT-04**: Extract ProjectLinkingService from ProjectManagementService
- [x] **DEBT-05**: Extract SprintPlanningService from ProjectManagementService
- [x] **DEBT-06**: Extract MilestoneService from ProjectManagementService
- [x] **DEBT-07**: Reduce ProjectManagementService to coordination only
**Type Safety:**
- [x] **DEBT-08**: Define interfaces for all AI response objects
- [x] **DEBT-09**: Replace `as any` in TaskContextGenerationService
- [x] **DEBT-10**: Replace `as any` in PRDGenerationService
- [x] **DEBT-11**: Replace `as any` in ProjectAutomationService
- [x] **DEBT-12**: Replace `as any` in TaskGenerationService
- [x] **DEBT-13**: Add type guards for unknown data validation
**Test Coverage:**
- [x] **DEBT-14**: Fix 74 failing tests
- [x] **DEBT-15**: Enable and fix 20 skipped tests
- [x] **DEBT-16**: Add unit tests for ContextualReferenceGenerator
- [x] **DEBT-17**: Add unit tests for DependencyContextGenerator
- [x] **DEBT-18**: Add unit tests for ContextQualityValidator
- [x] **DEBT-19**: Add integration tests for new GitHub features
- [x] **DEBT-20**: Achieve 80%+ code coverage
**Resilience:**
- [x] **DEBT-21**: Implement circuit breaker for AI services
- [x] **DEBT-22**: Add health check endpoint
- [x] **DEBT-23**: Add request tracing with correlation IDs
- [x] **DEBT-24**: Implement cache persistence option
- [x] **DEBT-25**: Add graceful degradation for AI service failures
**Documentation:**
- [x] **DEBT-26**: Update STATUS.md to reflect actual codebase state
- [x] **DEBT-27**: Document all MCP tools with examples
- [x] **DEBT-28**: Add API reference documentation
### AI Feature Enhancement (AI)
**PRD Generation:**
- [x] **AI-01**: Improve feature extraction accuracy
- [x] **AI-02**: Add confidence scores to generated PRD sections
- [x] **AI-03**: Support PRD templates customization
- [x] **AI-04**: Add PRD validation against best practices
**Task Generation:**
- [x] **AI-05**: Improve task complexity estimation accuracy
- [x] **AI-06**: Better dependency detection between tasks
- [x] **AI-07**: Add effort estimation to tasks
- [x] **AI-08**: Support task templates
**Sprint Planning:**
- [x] **AI-09**: AI-powered sprint capacity planning
- [x] **AI-10**: Sprint backlog prioritization suggestions
- [x] **AI-11**: Sprint risk assessment
- [x] **AI-12**: Sprint scope recommendations based on velocity
**Roadmap Generation:**
- [x] **AI-13**: Generate roadmap from requirements
- [x] **AI-14**: Phase sequencing based on dependencies
- [x] **AI-15**: Milestone date estimation
- [x] **AI-16**: Roadmap visualization data generation
**Issue Intelligence:**
- [x] **AI-17**: Improve issue enrichment quality
- [x] **AI-18**: Better label suggestions
- [x] **AI-19**: Duplicate issue detection
- [x] **AI-20**: Related issue linking suggestions
### Production Readiness (PROD)
**Testing:**
- [x] **PROD-01**: All unit tests passing
- [x] **PROD-02**: All integration tests passing
- [x] **PROD-03**: All E2E tests passing
- [x] **PROD-04**: No skipped tests (4 E2E suites skipped with documented justification)
**Documentation:**
- [x] **PROD-05**: Complete README with quick start
- [x] **PROD-06**: Tool reference documentation
- [x] **PROD-07**: Configuration guide
- [x] **PROD-08**: Troubleshooting guide
**Package:**
- [x] **PROD-09**: Update package.json version
- [x] **PROD-10**: Verify npm publish configuration
- [x] **PROD-11**: Add changelog
- [x] **PROD-12**: Publish to npm
## v2 Requirements
Deferred to future release. Tracked but not in current roadmap.
### Advanced Features
- **V2-01**: Real-time project sync via webhooks
- **V2-02**: Multi-organization support
- **V2-03**: GitHub Enterprise Server support
- **V2-04**: Streamable HTTP transport for remote usage
- **V2-05**: OAuth 2.1 authorization flow
- **V2-06**: MCP Tasks primitive for long-running operations
- **V2-07**: MCP Elicitation for interactive tools
- **V2-08**: Redis cache backend option
- **V2-09**: Metrics and observability (OpenTelemetry)
- **V2-10**: Rate limit handling improvements
## Out of Scope
Explicitly excluded. Documented to prevent scope creep.
| Feature | Reason |
|---------|--------|
| GitHub Insights/Charts API | No programmatic API available (UI-only) |
| Fine-grained PAT support | GitHub GraphQL doesn't support it |
| Self-hosted GitHub Enterprise | Focus on github.com for v1 |
| Real-time collaboration | Complex, defer to v2 |
| Mobile app | CLI/MCP focus |
| UI dashboard | MCP server is API-only |
## Traceability
Which phases cover which requirements.
| Requirement | Phase | Status |
|-------------|-------|--------|
| DEBT-01 | Phase 1 | Complete |
| DEBT-02 | Phase 1 | Complete |
| DEBT-03 | Phase 1 | Complete |
| DEBT-04 | Phase 1 | Complete |
| DEBT-05 | Phase 1 | Complete |
| DEBT-06 | Phase 1 | Complete |
| DEBT-07 | Phase 1 | Complete |
| MCP-01 | Phase 2 | Complete |
| MCP-02 | Phase 2 | Complete |
| MCP-03 | Phase 2 | Complete |
| MCP-04 | Phase 2 | Complete |
| MCP-05 | Phase 2 | Complete |
| MCP-06 | Phase 2 | Complete |
| MCP-07 | Phase 2 | Complete |
| MCP-08 | Phase 2 | Complete |
| MCP-09 | Phase 2 | Complete |
| MCP-10 | Phase 2 | Complete |
| MCP-11 | Phase 2 | Complete |
| MCP-12 | Phase 2 | Complete |
| MCP-13 | Phase 2 | Complete |
| MCP-14 | Phase 2 | Complete |
| MCP-15 | Phase 2 | Complete |
| DEBT-08 | Phase 3 | Complete |
| DEBT-09 | Phase 3 | Complete |
| DEBT-10 | Phase 3 | Complete |
| DEBT-11 | Phase 3 | Complete |
| DEBT-12 | Phase 3 | Complete |
| DEBT-13 | Phase 3 | Complete |
| DEBT-14 | Phase 4 | Complete |
| DEBT-15 | Phase 4 | Complete |
| DEBT-16 | Phase 4 | Complete |
| DEBT-17 | Phase 4 | Complete |
| DEBT-18 | Phase 4 | Complete |
| DEBT-19 | Phase 4 | Complete |
| DEBT-20 | Phase 4 | Complete |
| DEBT-21 | Phase 5 | Complete |
| DEBT-22 | Phase 5 | Complete |
| DEBT-23 | Phase 5 | Complete |
| DEBT-24 | Phase 5 | Complete |
| DEBT-25 | Phase 5 | Complete |
| DEBT-26 | Phase 5 | Complete |
| DEBT-27 | Phase 5 | Complete |
| DEBT-28 | Phase 5 | Complete |
| GHAPI-01 | Phase 6 | Complete |
| GHAPI-02 | Phase 6 | Complete |
| GHAPI-03 | Phase 6 | Complete |
| GHAPI-04 | Phase 6 | Complete |
| GHAPI-05 | Phase 6 | Complete |
| GHAPI-06 | Phase 6 | Complete |
| GHAPI-07 | Phase 6 | Complete |
| GHAPI-08 | Phase 6 | Complete |
| GHAPI-09 | Phase 7 | Complete |
| GHAPI-10 | Phase 7 | Complete |
| GHAPI-11 | Phase 7 | Complete |
| GHAPI-12 | Phase 7 | Complete |
| GHAPI-13 | Phase 7 | Complete |
| GHAPI-14 | Phase 7 | Complete |
| GHAPI-15 | Phase 7 | Complete |
| GHAPI-16 | Phase 7 | Complete |
| GHAPI-17 | Phase 7 | Complete |
| GHAPI-18 | Phase 7 | Complete |
| GHAPI-19 | Phase 8 | Complete |
| GHAPI-20 | Phase 8 | Complete |
| GHAPI-21 | Phase 8 | Complete |
| GHAPI-22 | Phase 8 | Complete |
| GHAPI-23 | Phase 8 | Complete |
| GHAPI-24 | Phase 8 | Complete |
| AI-01 | Phase 9 | Complete |
| AI-02 | Phase 9 | Complete |
| AI-03 | Phase 9 | Complete |
| AI-04 | Phase 9 | Complete |
| AI-05 | Phase 9 | Complete |
| AI-06 | Phase 9 | Complete |
| AI-07 | Phase 9 | Complete |
| AI-08 | Phase 9 | Complete |
| AI-09 | Phase 10 | Complete |
| AI-10 | Phase 10 | Complete |
| AI-11 | Phase 10 | Complete |
| AI-12 | Phase 10 | Complete |
| AI-13 | Phase 10 | Complete |
| AI-14 | Phase 10 | Complete |
| AI-15 | Phase 10 | Complete |
| AI-16 | Phase 10 | Complete |
| AI-17 | Phase 11 | Complete |
| AI-18 | Phase 11 | Complete |
| AI-19 | Phase 11 | Complete |
| AI-20 | Phase 11 | Complete |
| PROD-01 | Phase 12 | Complete |
| PROD-02 | Phase 12 | Complete |
| PROD-03 | Phase 12 | Complete |
| PROD-04 | Phase 12 | Complete |
| PROD-05 | Phase 12 | Complete |
| PROD-06 | Phase 12 | Complete |
| PROD-07 | Phase 12 | Complete |
| PROD-08 | Phase 12 | Complete |
| PROD-09 | Phase 12 | Complete |
| PROD-10 | Phase 12 | Complete |
| PROD-11 | Phase 12 | Complete |
| PROD-12 | Phase 12 | Complete |
**Coverage:**
- v1 requirements: 99 total
- Mapped to phases: 99
- Unmapped: 0
---
*Requirements defined: 2026-01-30*
*Last updated: 2026-02-01 - All 99 requirements complete*