Mcp Server Drupal

Mcp Server Drupal

作成者 Omedia4 months ago

TS based companion MCP server for the Drupal MCP module that works with the STDIO transport.

Developer Tools
denodrupalmcpmcp-server

MCP Server for Drupal

A Model Context Protocol server

This is a TypeScript-based MCP server for Drupal.

Features

Resources

  • All the resources defined by the Drupal API during the initialization phase

Tools

  • All the tools defined by the Drupal API during the initialization phase

Prompts

  • All the prompts defined by the Drupal API during the initialization phase

Development

Install dependencies:

bun install

Build the server:

bun run build

For development with auto-rebuild:

bun run dev

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server-drupal": {
      "command": "__BINARY_PATH__",
      "args": ["--drupalBaseUrl", "__DRUPAL_BASE_URL__"],
      "env": {}
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

bun run inspector

The Inspector will provide a URL to access debugging tools in your browser.

前提条件

  • サーバーのドメインに精通している
  • 関連技術の基本的な理解
  • Developer Toolsの知識

おすすめのサーバー

詳細

作成日

March 07, 2025

最終更新日

March 07, 2025

カテゴリー

Developer Tools

作成者

Omedia

シェアする