feature #1631 [MCP Bundle] Implement PSR-16 adapter session storage (EdouardCourty)

This PR was merged into the main branch.

Discussion
----------

[MCP Bundle] Implement PSR-16 adapter session storage

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| Docs?         | yes
| Issues        | Fix https://github.com/symfony/ai/issues/1612
| License       | MIT

This PR brings compatibility with the underlying SDK's PSR-16 storage capacities for HTTP sessions storage.
New configurations options are made available :
- `cache` value for `mcp.http.session.store` (in addition to the existing `filesystem` and `memory` values
- `cache_pool` option for providing a custom cache pool to be used for storage (if none provided, defaulting to the built-in adapter)

Commits
-------

abe0d7d1 feat(sessions): implement psr-16 adapter session storage
This commit is contained in:
Christopher Hertel
2026-02-28 16:49:27 +01:00

View File

@@ -31,7 +31,7 @@
],
"require": {
"php": ">=8.2",
"mcp/sdk": "^0.3",
"mcp/sdk": "^0.4",
"psr/log": "^2.0|^3.0",
"symfony/config": "^5.4|^6.4|^7.3|^8.0",
"symfony/console": "^5.4|^6.4|^7.3|^8.0",