Repository navigation
Commit 6a350ca
committed
[minimcp] Add ResourceManager for resource registration and execution
- Implement ResourceManager class for managing MCP resource handlers
- Add support for static resources and resource templates (parameterized URIs)
- Add resource registration via decorator (@mcp.resource(uri)) or programmatically
- Support resource listing, reading by URI/name, and removal operations
- Add URI pattern matching and template parameter validation
- Add comprehensive unit test suite1 parent 00eae9a commit 6a350ca
2 files changed
Lines changed: 1630 additions & 0 deletions
File tree
- src/mcp/server/minimcp/managers
- tests/server/minimcp/unit/managers
0 commit comments