The current implementation does not support write operations. Only read and search operations are supported at this time.

Issue fork mcp-3551588

Command icon 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

shubhamgoel created an issue. See original summary.

shubhamgoel’s picture

Status: Active » Needs review

Hi Team,

The feature has been added to provide write operation in the MCP server.

Please review the MR.

shubhamgoel changed the visibility of the branch 3551588-write-operations-not to hidden.

shubhamgoel’s picture

Hi Team,

Please review and merge this MR for write operations in MCP

shubhamgoel’s picture

Hi
Please review and merge this MR.

shubhamgoel’s picture

Hi @gagosha,
Please review and merge the write operations tools for MCP.

gagosha’s picture

Hey @shubhamgoel,

In general, we are migrating to mcp_server, so there will not be releases containing these kinds of features, only critical bug fixes until the migration.

Also, I have a question: is there any particular reason why you're not using the Tool API tool for that? As I remember, there are content manipulation possibilities (maybe I'm wrong).

I'm still reviewing the PR. Maybe it can be merged into dev if it's helpful

shubhamgoel’s picture

Thanks @gagosha,

I believe the Tools API is primarily designed for entity manipulation with relatively limited flexibility, whereas the write operations supported by the MCP server offer a valuable way for users to create or update content in Drupal — all while respecting role-based access restrictions.
In my view, these write operations truly belong in the core MCP module.
Overall, adding robust write operation support to the MCP server would be a significant benefit to the community. Looking forward to seeing these (and other great) features integrated in the future!