symfony / mcp-bundle
Symfony integration bundle for Model Context Protocol (via official mcp/sdk)
v1.0.0-BETA1
2026-10-22 23:42 UTC
Requires
- mcp/sdk: ^0.9
- php-http/discovery: ^1.20
- symfony/config: ^7.3|^8.0
- symfony/console: ^7.3|^8.0
- symfony/dependency-injection: ^7.3|^8.0
- symfony/finder: ^7.3|^8.0
- symfony/framework-bundle: ^7.3|^8.0
- symfony/http-foundation: ^7.3|^8.0
- symfony/http-kernel: ^7.3|^8.0
- symfony/psr-http-message-bridge: ^7.3|^8.0
- symfony/routing: ^7.3|^8.0
- symfony/service-contracts: ^2.5|^3
Requires (Dev)
- nyholm/psr7: ^1.8
- phpstan/phpstan: ^2.1
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^11.5.53
- symfony/monolog-bundle: ^3.10 || ^4.0
- symfony/twig-bundle: ^7.3|^8.0
Suggests
- symfony/lock: Required for a session lock with any store but "file".
Provides
None
Conflicts
None
Replaces
None
README
Symfony integration bundle for Model Context Protocol using the official MCP SDK mcp/sdk.
Act as an MCP server that exposes tools, prompts, resources and resource templates, and as an MCP client of other MCP servers, both over HTTP or STDIO.
This Bundle is experimental. Experimental features are not covered by Symfony's Backward Compatibility Promise.
Installation
composer require symfony/mcp-bundle
This repository is a READ-ONLY sub-tree split. See https://github.com/symfony/ai to create issues or submit pull requests.