You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 11, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 11, 2026. It is now read-only.
✅ Type Safety: Tool schemas derived from TypeScript signatures
✅ DRY: Single source of truth (handler signature)
✅ Reduced Boilerplate: 1800+ lines eliminated
✅ Auto-completion: Better IDE support
✅ Validation: Compile-time checks for tool definitions
Implementation Plan
Create decorator system (@MCPTool, @MCPParam)
Build schema generator (TypeScript AST parsing)
Migrate existing tools incrementally
Generate tool-definitions.ts in build step
Update server.ts to use generated definitions
Acceptance Criteria
server.ts reduced to <300 lines
All 59 tools migrated to decorator pattern
Tool definitions auto-generated in build
Zero manual tool schema writing
Build passing, all tests green
Documentation updated
Priority
🔴 Critical - Blocks scalability of adding new tools
Activity
gloomcheng commentedon Dec 25, 2025
Implemented in commit 248b40c
Summary
New tools can now be added with just a decorator annotation instead of manual schema definitions.
refactor: auto-generate MCP tool definitions with decorators (Issue #12)