File tree Expand file tree Collapse file tree 3 files changed +1
-8
lines changed Expand file tree Collapse file tree 3 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \DependencyInjection \Loader \Configurator ;
13
13
14
- use Symfony \AI \McpSdk \Capability \Tool \IdentifierInterface ;
15
14
use Symfony \AI \McpSdk \Capability \ToolChain ;
16
15
use Symfony \AI \McpSdk \Message \Factory ;
17
16
use Symfony \AI \McpSdk \Server ;
75
74
])
76
75
->set ('mcp.tool_chain ' , ToolChain::class)
77
76
->args ([
78
- tagged_iterator ('mcp.tool ' )
77
+ tagged_iterator ('mcp.tool ' ),
79
78
])
80
79
->alias ('mcp.tool_executor ' , 'mcp.tool_chain ' )
81
80
->alias ('mcp.tool_collection ' , 'mcp.tool_chain ' )
Original file line number Diff line number Diff line change @@ -63,11 +63,6 @@ Configuration
63
63
sse :
64
64
url : ' http://localhost:8000/sse' # URL to SSE endpoint of MCP server
65
65
66
- To add your tools to the MCP server, add the following tag::
67
-
68
- #[AutoconfigureTag('mcp.tool')]
69
- class CurrentTimeTool implements MetadataInterface, ToolExecutorInterface
70
-
71
66
.. _`Model Context Protocol` : https://modelcontextprotocol.io/
72
67
.. _`symfony/mcp-sdk` : https://github.com/symfony/mcp-sdk
73
68
.. _`Claude Desktop` : https://claude.ai/download
Original file line number Diff line number Diff line change 23
23
24
24
final class McpBundle extends AbstractBundle
25
25
{
26
-
27
26
public function configure (DefinitionConfigurator $ definition ): void
28
27
{
29
28
$ definition ->import ('../config/options.php ' );
You can’t perform that action at this time.
0 commit comments