How to Use the Drupal MCP in Claude Code
Connect Claude Code to your Drupal instance for headless content management and automated CLI-driven workflows.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Drupal MCP to Claude Code
Create your Vinkius account to connect Drupal to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Headless Drupal node control in Claude Code
Integrate node management into your CI/CD pipeline using `create_cms_node` and `patch_cms_node`. The agent processes your JSON payloads directly from the terminal, ensuring your content updates are consistent across environments. Automate your cleanup scripts by invoking `wipe_cms_node` to vaporize specific document entities. It provides a reliable way to manage your content lifecycle without a GUI.
Claude Code taxonomy and user auditing
Run `list_term_vocabularies` or `get_taxonomy_term` within your shell scripts to extract structural rules. This allows you to validate your taxonomy mappings programmatically as part of your deployment process. Use `list_drupal_users` to audit your admin identities from the command line. The output provides a precise array of users, perfect for integration into your security monitoring tools.
Claude Code file and content inspection
Inspect your headless models by calling `list_content_nodes` to identify routing spaces or `get_single_node` to grab specific UUIDs for your logs. It gives you direct access to your site data from your terminal. Verify your file storage by using `list_managed_files` and `get_file_metadata`. You get the exact structural details you need to ensure your assets conform to your project constraints.
Set up Drupal MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seedrupal-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Drupal transactions." It will automatically discover and invoke the available Drupal tools.
claude mcp add --transport http drupal-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Drupal MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Drupal MCP today
We host it, we monitor it, we maintain it. You just paste one token.