Fixed mcp compatibility

This commit is contained in:
Jan Böhmer 2026-05-06 23:37:38 +02:00
parent d453c48c55
commit dc5b818400
2 changed files with 102 additions and 82 deletions

View file

@ -15,8 +15,9 @@
"amphp/http-client": "^5.1",
"api-platform/doctrine-orm": "^4.1",
"api-platform/json-api": "^4.0.0",
"api-platform/mcp": "^4.3",
"api-platform/mcp": "4.3.x-dev",
"api-platform/symfony": "^4.0.0",
"api-platform/metadata": "4.3.x-dev",
"beberlei/doctrineextensions": "^1.2",
"brick/math": "^0.14.8",
"brick/schema": "^0.2.0",
@ -41,6 +42,7 @@
"league/html-to-markdown": "^5.0.1",
"liip/imagine-bundle": "^2.2",
"maennchen/zipstream-php": "2.1",
"mcp/sdk": "v0.5.0 as 0.4.0",
"nbgrp/onelogin-saml-bundle": "^v2.0.2",
"nelexa/zip": "^4.0",
"nelmio/cors-bundle": "^2.3",

180
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "0b28d7ee421cd51cc710bdacdcf0cc85",
"content-hash": "79f9618efcdf9891b62843fb5c3fb8de",
"packages": [
{
"name": "amphp/amp",
@ -1629,22 +1629,22 @@
},
{
"name": "api-platform/mcp",
"version": "v4.3.4",
"version": "4.3.x-dev",
"source": {
"type": "git",
"url": "https://github.com/api-platform/mcp.git",
"reference": "a984d05c20a02dfc0dd7691aaac8a9ba546f93ee"
"reference": "407c1039e8e022f7baed7d2cfbf63f5f09957f6b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/api-platform/mcp/zipball/a984d05c20a02dfc0dd7691aaac8a9ba546f93ee",
"reference": "a984d05c20a02dfc0dd7691aaac8a9ba546f93ee",
"url": "https://api.github.com/repos/api-platform/mcp/zipball/407c1039e8e022f7baed7d2cfbf63f5f09957f6b",
"reference": "407c1039e8e022f7baed7d2cfbf63f5f09957f6b",
"shasum": ""
},
"require": {
"api-platform/json-schema": "^4.3",
"api-platform/metadata": "^4.3",
"mcp/sdk": "^0.4.0",
"mcp/sdk": ">=0.4 <1.0",
"php": ">=8.2",
"symfony/object-mapper": "^7.4 || ^8.0",
"symfony/polyfill-php85": "^1.32"
@ -1700,22 +1700,22 @@
],
"support": {
"issues": "https://github.com/api-platform/mcp/issues",
"source": "https://github.com/api-platform/mcp/tree/v4.3.4"
"source": "https://github.com/api-platform/mcp/tree/4.3"
},
"time": "2026-04-30T12:21:24+00:00"
"time": "2026-05-06T12:07:59+00:00"
},
{
"name": "api-platform/metadata",
"version": "v4.3.4",
"version": "4.3.x-dev",
"source": {
"type": "git",
"url": "https://github.com/api-platform/metadata.git",
"reference": "e93caa26e7992ca138f2d12f79b5b25d2d091b7b"
"reference": "52b367f046c5d202629e9441aece39b0e6b37838"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/api-platform/metadata/zipball/e93caa26e7992ca138f2d12f79b5b25d2d091b7b",
"reference": "e93caa26e7992ca138f2d12f79b5b25d2d091b7b",
"url": "https://api.github.com/repos/api-platform/metadata/zipball/52b367f046c5d202629e9441aece39b0e6b37838",
"reference": "52b367f046c5d202629e9441aece39b0e6b37838",
"shasum": ""
},
"require": {
@ -1798,9 +1798,9 @@
"swagger"
],
"support": {
"source": "https://github.com/api-platform/metadata/tree/v4.3.4"
"source": "https://github.com/api-platform/metadata/tree/4.3"
},
"time": "2026-04-30T12:21:24+00:00"
"time": "2026-05-06T12:07:59+00:00"
},
{
"name": "api-platform/openapi",
@ -7147,16 +7147,16 @@
},
{
"name": "mcp/sdk",
"version": "v0.4.0",
"version": "v0.5.0",
"source": {
"type": "git",
"url": "https://github.com/modelcontextprotocol/php-sdk.git",
"reference": "1f5f7e16a3af23dd43ec0a5c972d7aa8e8429024"
"reference": "fb2c8c2ee4ab2791239c5f534bb07bfb7589d4e8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/modelcontextprotocol/php-sdk/zipball/1f5f7e16a3af23dd43ec0a5c972d7aa8e8429024",
"reference": "1f5f7e16a3af23dd43ec0a5c972d7aa8e8429024",
"url": "https://api.github.com/repos/modelcontextprotocol/php-sdk/zipball/fb2c8c2ee4ab2791239c5f534bb07bfb7589d4e8",
"reference": "fb2c8c2ee4ab2791239c5f534bb07bfb7589d4e8",
"shasum": ""
},
"require": {
@ -7164,19 +7164,22 @@
"opis/json-schema": "^2.4",
"php": "^8.1",
"php-http/discovery": "^1.20",
"phpdocumentor/reflection-docblock": "^5.6",
"phpdocumentor/reflection-docblock": "^5.6 || ^6.0",
"psr/clock": "^1.0",
"psr/container": "^1.0 || ^2.0",
"psr/event-dispatcher": "^1.0",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.1",
"psr/http-message": "^1.1 || ^2.0",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"symfony/finder": "^5.4 || ^6.4 || ^7.3 || ^8.0",
"symfony/uid": "^5.4 || ^6.4 || ^7.3 || ^8.0"
},
"require-dev": {
"composer/semver": "^3.0",
"ext-openssl": "*",
"firebase/php-jwt": "^6.10 || ^7.0",
"laminas/laminas-httphandlerrunner": "^2.12",
"nyholm/psr7": "^1.8",
"nyholm/psr7-server": "^1.1",
@ -7188,8 +7191,13 @@
"psr/simple-cache": "^2.0 || ^3.0",
"symfony/cache": "^5.4 || ^6.4 || ^7.3 || ^8.0",
"symfony/console": "^5.4 || ^6.4 || ^7.3 || ^8.0",
"symfony/finder": "^5.4 || ^6.4 || ^7.3 || ^8.0",
"symfony/http-client": "^5.4 || ^6.4 || ^7.3 || ^8.0",
"symfony/process": "^5.4 || ^6.4 || ^7.3 || ^8.0"
},
"suggest": {
"symfony/finder": "Required for file-based discovery."
},
"type": "library",
"autoload": {
"psr-4": {
@ -7217,9 +7225,9 @@
"description": "Model Context Protocol SDK for Client and Server applications in PHP",
"support": {
"issues": "https://github.com/modelcontextprotocol/php-sdk/issues",
"source": "https://github.com/modelcontextprotocol/php-sdk/tree/v0.4.0"
"source": "https://github.com/modelcontextprotocol/php-sdk/tree/v0.5.0"
},
"time": "2026-02-23T21:42:54+00:00"
"time": "2026-04-26T13:37:40+00:00"
},
{
"name": "mf2/mf2",
@ -9174,16 +9182,16 @@
},
{
"name": "phpdocumentor/reflection-docblock",
"version": "5.6.7",
"version": "6.0.3",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
"reference": "31a105931bc8ffa3a123383829772e832fd8d903"
"reference": "7bae67520aa9f5ecc506d646810bd40d9da54582"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/31a105931bc8ffa3a123383829772e832fd8d903",
"reference": "31a105931bc8ffa3a123383829772e832fd8d903",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/7bae67520aa9f5ecc506d646810bd40d9da54582",
"reference": "7bae67520aa9f5ecc506d646810bd40d9da54582",
"shasum": ""
},
"require": {
@ -9191,8 +9199,8 @@
"ext-filter": "*",
"php": "^7.4 || ^8.0",
"phpdocumentor/reflection-common": "^2.2",
"phpdocumentor/type-resolver": "^1.7",
"phpstan/phpdoc-parser": "^1.7|^2.0",
"phpdocumentor/type-resolver": "^2.0",
"phpstan/phpdoc-parser": "^2.0",
"webmozart/assert": "^1.9.1 || ^2"
},
"require-dev": {
@ -9202,7 +9210,8 @@
"phpstan/phpstan-mockery": "^1.1",
"phpstan/phpstan-webmozart-assert": "^1.2",
"phpunit/phpunit": "^9.5",
"psalm/phar": "^5.26"
"psalm/phar": "^5.26",
"shipmonk/dead-code-detector": "^0.5.1"
},
"type": "library",
"extra": {
@ -9232,44 +9241,44 @@
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"support": {
"issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
"source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.6.7"
"source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/6.0.3"
},
"time": "2026-03-18T20:47:46+00:00"
"time": "2026-03-18T20:49:53+00:00"
},
{
"name": "phpdocumentor/type-resolver",
"version": "1.12.0",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
"reference": "92a98ada2b93d9b201a613cb5a33584dde25f195"
"reference": "327a05bbee54120d4786a0dc67aad30226ad4cf9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/92a98ada2b93d9b201a613cb5a33584dde25f195",
"reference": "92a98ada2b93d9b201a613cb5a33584dde25f195",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/327a05bbee54120d4786a0dc67aad30226ad4cf9",
"reference": "327a05bbee54120d4786a0dc67aad30226ad4cf9",
"shasum": ""
},
"require": {
"doctrine/deprecations": "^1.0",
"php": "^7.3 || ^8.0",
"php": "^7.4 || ^8.0",
"phpdocumentor/reflection-common": "^2.0",
"phpstan/phpdoc-parser": "^1.18|^2.0"
"phpstan/phpdoc-parser": "^2.0"
},
"require-dev": {
"ext-tokenizer": "*",
"phpbench/phpbench": "^1.2",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-phpunit": "^1.1",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.13.9",
"vimeo/psalm": "^4.25"
"psalm/phar": "^4"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-1.x": "1.x-dev"
"dev-1.x": "1.x-dev",
"dev-2.x": "2.x-dev"
}
},
"autoload": {
@ -9290,9 +9299,9 @@
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
"support": {
"issues": "https://github.com/phpDocumentor/TypeResolver/issues",
"source": "https://github.com/phpDocumentor/TypeResolver/tree/1.12.0"
"source": "https://github.com/phpDocumentor/TypeResolver/tree/2.0.0"
},
"time": "2025-11-21T15:09:14+00:00"
"time": "2026-01-06T21:53:42+00:00"
},
{
"name": "phpoffice/phpspreadsheet",
@ -15727,16 +15736,16 @@
},
{
"name": "symfony/rate-limiter",
"version": "v7.4.9",
"version": "v7.4.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/rate-limiter.git",
"reference": "0b0078d29f6e64b8833492e9f76a853f23fb1a81"
"reference": "778c5239c7fd6bf9b886dedf3d84ddb156ddb888"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/rate-limiter/zipball/0b0078d29f6e64b8833492e9f76a853f23fb1a81",
"reference": "0b0078d29f6e64b8833492e9f76a853f23fb1a81",
"url": "https://api.github.com/repos/symfony/rate-limiter/zipball/778c5239c7fd6bf9b886dedf3d84ddb156ddb888",
"reference": "778c5239c7fd6bf9b886dedf3d84ddb156ddb888",
"shasum": ""
},
"require": {
@ -15777,7 +15786,7 @@
"rate-limiter"
],
"support": {
"source": "https://github.com/symfony/rate-limiter/tree/v7.4.9"
"source": "https://github.com/symfony/rate-limiter/tree/v7.4.10"
},
"funding": [
{
@ -15797,7 +15806,7 @@
"type": "tidelift"
}
],
"time": "2026-04-29T13:21:53+00:00"
"time": "2026-05-04T13:25:50+00:00"
},
{
"name": "symfony/routing",
@ -16759,16 +16768,16 @@
},
{
"name": "symfony/translation",
"version": "v7.4.8",
"version": "v7.4.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
"reference": "33600f8489485425bfcddd0d983391038d3422e7"
"reference": "ada7578c30dd5feaa8259cff3e885069ea81ddde"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/33600f8489485425bfcddd0d983391038d3422e7",
"reference": "33600f8489485425bfcddd0d983391038d3422e7",
"url": "https://api.github.com/repos/symfony/translation/zipball/ada7578c30dd5feaa8259cff3e885069ea81ddde",
"reference": "ada7578c30dd5feaa8259cff3e885069ea81ddde",
"shasum": ""
},
"require": {
@ -16835,7 +16844,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/translation/tree/v7.4.8"
"source": "https://github.com/symfony/translation/tree/v7.4.10"
},
"funding": [
{
@ -16855,7 +16864,7 @@
"type": "tidelift"
}
],
"time": "2026-03-24T13:12:05+00:00"
"time": "2026-05-06T11:19:24+00:00"
},
{
"name": "symfony/translation-contracts",
@ -17491,16 +17500,16 @@
},
{
"name": "symfony/validator",
"version": "v7.4.9",
"version": "v7.4.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/validator.git",
"reference": "d3bb3dcfbaa26b5782196819dac2e1097d5fae2c"
"reference": "c76458623af9a3fe3b2e5b09b36453f334c2a361"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/validator/zipball/d3bb3dcfbaa26b5782196819dac2e1097d5fae2c",
"reference": "d3bb3dcfbaa26b5782196819dac2e1097d5fae2c",
"url": "https://api.github.com/repos/symfony/validator/zipball/c76458623af9a3fe3b2e5b09b36453f334c2a361",
"reference": "c76458623af9a3fe3b2e5b09b36453f334c2a361",
"shasum": ""
},
"require": {
@ -17571,7 +17580,7 @@
"description": "Provides tools to validate values",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/validator/tree/v7.4.9"
"source": "https://github.com/symfony/validator/tree/v7.4.10"
},
"funding": [
{
@ -17591,7 +17600,7 @@
"type": "tidelift"
}
],
"time": "2026-04-30T15:35:16+00:00"
"time": "2026-05-05T15:30:56+00:00"
},
{
"name": "symfony/var-dumper",
@ -17926,16 +17935,16 @@
},
{
"name": "symfony/yaml",
"version": "v7.4.8",
"version": "v7.4.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
"reference": "c58fdf7b3d6c2995368264c49e4e8b05bcff2883"
"reference": "c660d6538545a3e8e65a5621ee3d7a6d352892c7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/c58fdf7b3d6c2995368264c49e4e8b05bcff2883",
"reference": "c58fdf7b3d6c2995368264c49e4e8b05bcff2883",
"url": "https://api.github.com/repos/symfony/yaml/zipball/c660d6538545a3e8e65a5621ee3d7a6d352892c7",
"reference": "c660d6538545a3e8e65a5621ee3d7a6d352892c7",
"shasum": ""
},
"require": {
@ -17978,7 +17987,7 @@
"description": "Loads and dumps YAML files",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/yaml/tree/v7.4.8"
"source": "https://github.com/symfony/yaml/tree/v7.4.10"
},
"funding": [
{
@ -17998,7 +18007,7 @@
"type": "tidelift"
}
],
"time": "2026-03-24T13:12:05+00:00"
"time": "2026-05-05T08:01:55+00:00"
},
{
"name": "symplify/easy-coding-standard",
@ -20806,12 +20815,12 @@
"source": {
"type": "git",
"url": "https://github.com/Roave/SecurityAdvisories.git",
"reference": "9d468c11a8da481c22b4e610494babae032fdb03"
"reference": "de95f6d567110e037eddcefa3d0d8f22d75d4053"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/9d468c11a8da481c22b4e610494babae032fdb03",
"reference": "9d468c11a8da481c22b4e610494babae032fdb03",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/de95f6d567110e037eddcefa3d0d8f22d75d4053",
"reference": "de95f6d567110e037eddcefa3d0d8f22d75d4053",
"shasum": ""
},
"conflict": {
@ -20959,7 +20968,7 @@
"cpsit/typo3-mailqueue": "<0.4.5|>=0.5,<0.5.2",
"craftcms/aws-s3": ">=2.0.2,<=2.2.4",
"craftcms/azure-blob": ">=2.0.0.0-beta1,<=2.1",
"craftcms/cms": "<=4.17.8|>=5,<5.9.15",
"craftcms/cms": "<4.17.12|>=5,<5.9.18",
"craftcms/commerce": ">=4,<4.11|>=5,<5.6",
"craftcms/composer": ">=4.0.0.0-RC1-dev,<=4.10|>=5.0.0.0-RC1-dev,<=5.5.1",
"craftcms/craft": ">=3.5,<=4.16.17|>=5.0.0.0-RC1-dev,<=5.8.21",
@ -21131,7 +21140,7 @@
"georgringer/news": "<1.3.3",
"geshi/geshi": "<=1.0.9.1",
"getformwork/formwork": "<=2.3.3",
"getgrav/grav": "<2.0.0.0-beta2",
"getgrav/grav": "<2.0.0.0-beta4",
"getgrav/grav-plugin-api": "<1.0.0.0-beta15",
"getkirby/cms": "<4.9|>=5,<5.4",
"getkirby/kirby": "<3.9.8.3-dev|>=3.10,<3.10.1.2-dev|>=4,<4.7.1",
@ -21231,7 +21240,7 @@
"kelvinmo/simplexrd": "<3.1.1",
"kevinpapst/kimai2": "<1.16.7",
"khodakhah/nodcms": "<=3.4.1",
"kimai/kimai": "<2.54",
"kimai/kimai": "<=2.55",
"kitodo/presentation": "<3.2.3|>=3.3,<3.3.4",
"klaviyo/magento2-extension": ">=1,<3",
"knplabs/knp-snappy": "<=1.4.2",
@ -21427,7 +21436,7 @@
"phpmailer/phpmailer": "<6.5",
"phpmussel/phpmussel": ">=1,<1.6",
"phpmyadmin/phpmyadmin": "<5.2.2",
"phpmyfaq/phpmyfaq": "<=4.1",
"phpmyfaq/phpmyfaq": "<=4.1.1",
"phpoffice/common": "<0.2.9",
"phpoffice/math": "<=0.2",
"phpoffice/phpexcel": "<=1.8.2",
@ -21449,7 +21458,7 @@
"pimcore/demo": "<10.3",
"pimcore/ecommerce-framework-bundle": "<1.0.10",
"pimcore/perspective-editor": "<1.5.1",
"pimcore/pimcore": "<=11.5.14.1|>=12,<12.3.3",
"pimcore/pimcore": "<=11.5.14.1|>=12,<12.3.3|==12.3.3",
"pimcore/web2print-tools-bundle": "<=5.2.1|>=6.0.0.0-RC1-dev,<=6.1",
"piwik/piwik": "<1.11",
"pixelfed/pixelfed": "<0.12.5",
@ -21584,7 +21593,7 @@
"starcitizentools/short-description": ">=4,<4.0.1",
"starcitizentools/tabber-neue": ">=1.9.1,<2.7.2|>=3,<3.1.1",
"starcitizenwiki/embedvideo": "<=4",
"statamic/cms": "<5.73.20|>=6,<6.13",
"statamic/cms": "<5.73.21|>=6,<6.15",
"stormpath/sdk": "<9.9.99",
"studio-42/elfinder": "<2.1.67",
"studiomitte/friendlycaptcha": "<0.1.4",
@ -21658,7 +21667,7 @@
"thelia/thelia": ">=2.1,<2.1.3",
"theonedemon/phpwhois": "<=4.2.5",
"thinkcmf/thinkcmf": "<6.0.8",
"thorsten/phpmyfaq": "<4.1.1",
"thorsten/phpmyfaq": "<=4.1.1",
"tikiwiki/tiki-manager": "<=17.1",
"timber/timber": ">=0.16.6,<1.23.1|>=1.24,<1.24.1|>=2,<2.1",
"tinymce/tinymce": "<7.2",
@ -21860,7 +21869,7 @@
"type": "tidelift"
}
],
"time": "2026-05-05T21:24:41+00:00"
"time": "2026-05-06T21:27:25+00:00"
},
{
"name": "sebastian/cli-parser",
@ -23373,9 +23382,18 @@
"time": "2025-11-17T20:03:58+00:00"
}
],
"aliases": [],
"aliases": [
{
"package": "mcp/sdk",
"version": "0.5.0.0",
"alias": "0.4.0",
"alias_normalized": "0.4.0.0"
}
],
"minimum-stability": "stable",
"stability-flags": {
"api-platform/mcp": 20,
"api-platform/metadata": 20,
"roave/security-advisories": 20
},
"prefer-stable": false,