Enterprise CMS and content platform.
## Drupal MCP Server: Enterprise Content Framework The **Drupal MCP Server** integrates Drupal CMS into Google Antigravity, enabling enterprise content management with JSON:API, content modeling, and taxonomy management directly from your development environment. ### Why Drupal MCP? - **Enterprise Ready**: Proven platform powering major government and enterprise sites - **Flexible Architecture**: Highly customizable with modules and themes - **JSON:API**: Standards-compliant API for headless implementations - **Content Modeling**: Sophisticated content types with field configurations - **Taxonomy**: Powerful categorization and tagging system ### Key Features #### 1. Content Queries ```python # Get nodes (content) articles = await mcp.get_nodes( type="article", filter={"status": 1}, # Published include=["field_image", "uid", "field_tags"], sort="-created", limit=10 ) for article in articles["data"]: print(f"Title: {article['attributes']['title']}") # Get single node node = await mcp.get_node( nid=123, include=["field_image", "uid"] ) ``` #### 2. Node Management ```python # Create node node = await mcp.create_node( type="article", attributes={ "title": "New Article", "body": {"value": "<p>Article content...</p>", "format": "full_html"}, "status": True }, relationships={ "field_tags": {"data": [{"type": "taxonomy_term--tags", "id": "term-uuid"}]} } ) # Update node await mcp.update_node( nid=node["data"]["id"], attributes={"title": "Updated Title"} ) # Delete node await mcp.delete_node(nid=123) ``` #### 3. Taxonomy Operations ```python # Get vocabulary terms terms = await mcp.get_terms( vocabulary="tags", filter={"status": 1} ) for term in terms["data"]: print(f"Term: {term['attributes']['name']}") # Create term await mcp.create_term( vocabulary="tags", name="New Tag" ) ``` #### 4. Media Management ```python # Upload media media = await mcp.upload_media( file_path="./images/photo.jpg", bundle="image", name="Photo" ) # Get media media_item = await mcp.get_media(mid=media["data"]["id"]) print(f"URL: {media_item['attributes']['field_media_image']['url']}") ``` ### Configuration ```json { "mcpServers": { "drupal": { "command": "npx", "args": ["-y", "@anthropic/mcp-drupal"], "env": { "DRUPAL_BASE_URL": "https://your-drupal-site.com", "DRUPAL_CLIENT_ID": "your-oauth-client-id", "DRUPAL_CLIENT_SECRET": "your-oauth-client-secret" } } } } ``` ### Use Cases **Government Sites**: Power government portals with accessibility compliance. **Higher Education**: Manage university websites with complex content hierarchies. **Media Publishing**: Operate news and media sites with editorial workflows. **Enterprise Portals**: Build intranet and customer portals with granular access control. The Drupal MCP enables enterprise content management within your development environment.
{
"mcpServers": {
"drupal": {}
}
}