Problem/Motivation
I would like to make use of the tools in the MCP Tools module with the Drupal MCP Server module. That drupal module does not have a stable release yet, but in its current form it has a dependency on the mcp/sdk of ^0.5.0. Because of how composer resolves dependencies, the dependency that MCP Tools has of ^0.2.2 will not allow the module to be added via composer require as the carat only allows for later version of the same major version.
Steps to reproduce
Add the MCP Server module via composer: composer require drupal/mcp_server:^2.0@dev
Verify that this adds the mcp/sdk package with version 0.5.0.
Attempt to add the MCP Tools module via composer: composer require drupal/mcp_tools:^1.0@beta
Verify that composer will not add the module due to the dependency on mcp/sdk 0.2.2
Proposed resolution
Update the MCP Tools module composer.json to add later versions of the mcp/sdk dependency
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork mcp_tools-3589053
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jaydub commentedWell I was able to get a little further by making a merge request and updating my composer.json to allow for and composer require the MR, but I still end up unable to add the module as there are also mcp/sdk package dependencies in the code-wheel/mcp-tool-gateway and code-wheel/mcp-error-codes packages that are dependencies of mcp_tools module.
So rather than try to sort that out as well, I'm hoping the module maintainer can take a look at this ticket and update the version deps across the board as needed.
There are a lot of nice tools in this module, but not being able to make use of them with mcp_server module in its now actively developed state really reduces the utility.
Comment #4
jaydub commentedThe mcp_server module now has dependency on the 0.6.0 version of the mcp/sdk package. I suspect this will continue to be a moving target as long as the sdk is in active development.
Comment #5
mowens commented#3589053 → Fixed, credit jaydub (report, MR, and follow-up analysis were all correct)
released beta9 with fixes.
Comment #7
mowens commented