Drupal Bridge MCP
Provides tools for interacting with Drupal's API, enabling management of content types and other resources through OAuth-scoped actions.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Drupal Bridge MCPlist all content types on my Drupal site"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Drupal Bridge MCP Server
๐ Quick Start
Related MCP server: external-ai-ecosystem-gateway
๐ ๏ธ Available Tools
MCP tools are auto-discovered from the Drupal site. Just create the tools using JSON-RPC MCP.
How It Works
Server fetches tool definitions from
/mcp/tools/listExtracts required OAuth scopes from each tool's
annotations.auth.scopes
This eliminates manual scope configuration and automatically adapts to backend tool changes.
Automatic Scope Discovery
Scopes are extracted from tool metadata:
{
"name": "examples.contentTypes.create",
"annotations": {
"auth": {
"scopes": ["content_type:write"],
"level": "required"
}
}
}The server automatically requests the content_type:write scope during OAuth flow.
Tool Access Validation
Before invoking a tool, the server validates:
Authentication - Tool requires auth and session is authenticated
Scopes - Session has all required OAuth scopes
Permissions - Drupal validates permissions server-side
Error example:
Insufficient OAuth scopes for tool "examples.contentTypes.create".
Required: content_type:write
Missing: content_type:write
Current: profile, content_type:readAuthentication Levels
Tools can declare three authentication levels:
none: Public tools, no authentication requiredoptional: Enhanced functionality with auth, but works withoutrequired: Enforces authentication and scope validation
If a tool doesn't declare annotations.auth, it defaults to level='none' (public access).
๐ Development
# Install dependencies
npm install
# Run in development
npm run dev
# Build for production
npm run build
# Type check
npm run type-checkUse the great MCP Inspector project to validate the MCP server changes.
npx @modelcontextprotocol/inspector๐ License
๐จโ๐ป Author
Mateu Aguilรณ Bosch (e0ipso) mateu@mateuaguilo.com
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP Hub: AI service discovery, per-user OAuth, and multi-service workflow orchestration
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to discover and execute tools via a secure MCP server with JWT authentication, RBAC, rate limiting, and audit logging.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP-compatible assistants to securely access external systems like Slack through permission-scoped, idempotent tools with tenant isolation, delegated OAuth consent, and an immutable audit trail.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to manage WordPress sites by providing tools for posts, media, users, plugins, menus, widgets, comments, options, and system administration over the MCP protocol, with support for application passwords and OAuth 2.1.GPL 2.0
- AlicenseNot gradedqualityBmaintenanceAn MCP gateway that enables AI clients to securely connect to WordPress and WooCommerce sites via OAuth, retrieve permitted content and data, and apply changes under configurable approval modes.GPL 2.0