Skip to content

Conversation

valtzu
Copy link
Contributor

@valtzu valtzu commented Jul 19, 2025

Q A
Bug fix? no
New feature? no
Docs? no
Issues Related to #90
License MIT

Don't autowire / autoconfigure any services in mcp bundle

@chr-hertel chr-hertel added the MCP Bundle Issues & PRs about the MCP SDK integration bundle label Jul 19, 2025
@valtzu valtzu force-pushed the wire-explicitly-mcp branch from 883efeb to 52a1803 Compare July 20, 2025 17:30
@valtzu
Copy link
Contributor Author

valtzu commented Jul 20, 2025

Covers McpBundle part of #77 too

@valtzu valtzu force-pushed the wire-explicitly-mcp branch from 52a1803 to f0a63bd Compare July 20, 2025 18:07
@valtzu valtzu force-pushed the wire-explicitly-mcp branch 2 times, most recently from ed42cb5 to 447b412 Compare July 23, 2025 11:10
Comment on lines +43 to +47
->set('mcp.server.request_handler.tool_list', ToolListHandler::class)
->args([
service('mcp.tool_collection'),
20,
])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

found out while testing that this is missing the tag:

Suggested change
->set('mcp.server.request_handler.tool_list', ToolListHandler::class)
->args([
service('mcp.tool_collection'),
20,
])
->set('mcp.server.request_handler.tool_list', ToolListHandler::class)
->args([
service('mcp.tool_collection'),
20,
])
->tag('mcp.server.request_handler')

@valtzu valtzu force-pushed the wire-explicitly-mcp branch from 447b412 to d6cb1e2 Compare July 25, 2025 14:58
@chr-hertel
Copy link
Member

Thank you @valtzu.

@chr-hertel chr-hertel merged commit 09ac08d into symfony:main Jul 25, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MCP Bundle Issues & PRs about the MCP SDK integration bundle Status: Needs Work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants