File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ CHANGELOG
19
19
* Add bundle configuration for enabling/disabling transports
20
20
* Add cache-based SSE message storage
21
21
* Add service configuration for MCP server setup
22
- * Added ` \Symfony\AI\McpBundle\DependencyInjection\ContainerBuilder\MCPToolChainCompilerPass `
22
+ * Added ` \Symfony\AI\McpBundle\DependencyInjection\ContainerBuilder\McpToolChainCompilerPass `
23
23
to find services tagged ` mcp.tool ` and register them in the MCP tool chain.
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ Configuration
65
65
66
66
To add your tools to the MCP server, add the tag:
67
67
68
- .. code-block :: php
68
+ Example::
69
69
70
70
#[AutoconfigureTag('mcp.tool')]
71
71
class CurrentTimeTool implements MetadataInterface, ToolExecutorInterface
Original file line number Diff line number Diff line change 13
13
14
14
use Symfony \AI \McpBundle \Command \McpCommand ;
15
15
use Symfony \AI \McpBundle \Controller \McpController ;
16
- use Symfony \AI \McpBundle \DependencyInjection \ContainerBuilder \MCPToolChainCompilerPass ;
16
+ use Symfony \AI \McpBundle \DependencyInjection \ContainerBuilder \McpToolChainCompilerPass ;
17
17
use Symfony \AI \McpBundle \Routing \RouteLoader ;
18
18
use Symfony \Component \Config \Definition \Configurator \DefinitionConfigurator ;
19
19
use Symfony \Component \DependencyInjection \ContainerBuilder ;
@@ -26,7 +26,7 @@ public function build(ContainerBuilder $container): void
26
26
{
27
27
parent ::build ($ container );
28
28
29
- $ container ->addCompilerPass (new MCPToolChainCompilerPass ());
29
+ $ container ->addCompilerPass (new McpToolChainCompilerPass ());
30
30
}
31
31
32
32
public function configure (DefinitionConfigurator $ definition ): void
You can’t perform that action at this time.
0 commit comments