From 5557faf3750204370ba1eca71af4070051f78a38 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 04:03:14 +0000 Subject: [PATCH 1/2] build(deps): bump mcp/sdk from 0.4.0 to 0.5.0 Bumps [mcp/sdk](https://github.com/modelcontextprotocol/php-sdk) from 0.4.0 to 0.5.0. - [Release notes](https://github.com/modelcontextprotocol/php-sdk/releases) - [Changelog](https://github.com/modelcontextprotocol/php-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/modelcontextprotocol/php-sdk/compare/v0.4.0...v0.5.0) --- updated-dependencies: - dependency-name: mcp/sdk dependency-version: 0.5.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 170 ++++++++++++++++++++++++++------------------------ 2 files changed, 90 insertions(+), 82 deletions(-) diff --git a/composer.json b/composer.json index f6ad0b4715..bf03b15c15 100644 --- a/composer.json +++ b/composer.json @@ -47,7 +47,7 @@ "guzzlehttp/guzzle": "~7.10.0", "league/commonmark": "~2.8.2", "league/oauth2-server": "~9.3.0", - "mcp/sdk": "~0.4.0", + "mcp/sdk": "~0.5.0", "minishlink/web-push": "~10.0.3", "monolog/monolog": "~3.10.0", "myclabs/deep-copy": "~1.13.4", diff --git a/composer.lock b/composer.lock index e2abfdac36..94484dfbf8 100644 --- a/composer.lock +++ b/composer.lock @@ -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": "76b3386652104a2716e087662083d220", + "content-hash": "af621dfc9df55fbc288bcd13cc897e99", "packages": [ { "name": "2tvenom/cborencode", @@ -2053,16 +2053,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": { @@ -2070,19 +2070,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", @@ -2094,8 +2097,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": { @@ -2123,9 +2131,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": "minishlink/web-push", @@ -5403,74 +5411,6 @@ ], "time": "2026-03-30T15:14:47+00:00" }, - { - "name": "symfony/finder", - "version": "v8.0.8", - "source": { - "type": "git", - "url": "https://github.com/symfony/finder.git", - "reference": "8da41214757b87d97f181e3d14a4179286151007" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/8da41214757b87d97f181e3d14a4179286151007", - "reference": "8da41214757b87d97f181e3d14a4179286151007", - "shasum": "" - }, - "require": { - "php": ">=8.4" - }, - "require-dev": { - "symfony/filesystem": "^7.4|^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Finder\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Finds files and directories via an intuitive fluent interface", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/finder/tree/v8.0.8" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2026-03-30T15:14:47+00:00" - }, { "name": "symfony/html-sanitizer", "version": "v8.0.8", @@ -6229,7 +6169,7 @@ }, { "name": "symfony/polyfill-ctype", - "version": "v1.36.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", @@ -6288,7 +6228,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.36.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.37.0" }, "funding": [ { @@ -6975,7 +6915,7 @@ }, { "name": "symfony/polyfill-uuid", - "version": "v1.36.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-uuid.git", @@ -7034,7 +6974,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.36.0" + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.37.0" }, "funding": [ { @@ -10723,6 +10663,74 @@ ], "time": "2026-03-30T15:14:47+00:00" }, + { + "name": "symfony/finder", + "version": "v8.0.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "8da41214757b87d97f181e3d14a4179286151007" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/8da41214757b87d97f181e3d14a4179286151007", + "reference": "8da41214757b87d97f181e3d14a4179286151007", + "shasum": "" + }, + "require": { + "php": ">=8.4" + }, + "require-dev": { + "symfony/filesystem": "^7.4|^8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Finds files and directories via an intuitive fluent interface", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/finder/tree/v8.0.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2026-03-30T15:14:47+00:00" + }, { "name": "symfony/process", "version": "v8.0.8", From f783a8bb7fe0a3f3370df7adb008919c64cdb322 Mon Sep 17 00:00:00 2001 From: Thorsten Rinne Date: Mon, 27 Apr 2026 12:11:27 +0200 Subject: [PATCH 2/2] fix: updated parameters --- phpmyfaq/src/phpMyFAQ/Service/McpServer/McpSdkRuntime.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpmyfaq/src/phpMyFAQ/Service/McpServer/McpSdkRuntime.php b/phpmyfaq/src/phpMyFAQ/Service/McpServer/McpSdkRuntime.php index b0e4052b78..5c4d6c3a9b 100644 --- a/phpmyfaq/src/phpMyFAQ/Service/McpServer/McpSdkRuntime.php +++ b/phpmyfaq/src/phpMyFAQ/Service/McpServer/McpSdkRuntime.php @@ -93,6 +93,7 @@ private function buildServer(): Server ->addTool( $this->faqSearch(...), $definition->name, + null, $definition->description, null, $definition->inputSchema,