-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
Hello! I'm working on a Symfony Web Profiler integration for MCP servers and need access to the discovered capabilities for debugging purposes.
Current Issue
- ServerBuilder::build() creates a Registry and populates it with discovered capabilities
- This Registry is passed to Handler::make() via interfaces (ReferenceRegistryInterface, ReferenceProviderInterface)
- Request handlers like ListToolsHandler can access capabilities via $registry->getTools()
- But the Registry is never exposed publicly from the Server class
The Registry class has all the needed methods:
- getTools(): array
- getPrompts(): array
- getResources(): array
- getResourceTemplates(): array
But they're only accessible internally through the MCP protocol handlers.
Proposed Solution
Add a method to expose the registry
Metadata
Metadata
Assignees
Labels
No labels