From c937dd277bd9a0cbcb805084a9ba939a58189bba Mon Sep 17 00:00:00 2001 From: vitaliiivanov Date: Fri, 30 Oct 2026 16:59:23 +0200 Subject: [PATCH] Allow mcp/sdk ^0.8.1 next to ^0.9 * Widen the mcp/sdk constraint to "^0.8.1 || ^0.9" * The MCP server console uses only API that is the same in 0.8.1 and 0.9.0: Server::builder(), Builder::setServerInfo(), setDiscovery(), addPrompt(), addTool(), build(), Server::run() and StdioTransport * Lets projects install packages that still require mcp/sdk ^0.8, for example api-platform/mcp Claude-Session: https://claude.ai/code/session_01FJNNwwvzPyUiqfifdYCy99 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index bb3e8d2..eab2dab 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "description": "AiDev module", "license": "proprietary", "require": { - "mcp/sdk": "^0.9", + "mcp/sdk": "^0.8.1 || ^0.9", "nikic/php-parser": ">=5.0", "php": ">=8.3", "spryker/csv": "^3.0",