Back to MCP Catalog

DevHub CMS MCP Server

Content Management SystemsPython
Manage content in DevHub CMS through LLM integration
Available Tools

get_businesses

Gets all businesses within the DevHub account. Returns a list of businesses with their IDs and names.

get_locations

Gets all locations for a specific business. Returns detailed location information including address, coordinates, and URLs.

business_id

get_hours_of_operation

Gets the hours of operation for a specific DevHub location. Returns a structured list of time ranges for each day of the week.

location_idhours_type

update_hours

Updates the hours of operation for a DevHub location.

location_idnew_hourshours_type

get_nearest_location

Finds the nearest DevHub location based on geographic coordinates.

business_idlatitudelongitude

site_from_url

Gets the DevHub site ID and details from a URL. Returns site ID, URL, and associated location IDs.

url

get_blog_post

Retrieves a single blog post by ID, including its title, date, and HTML content.

post_id

create_blog_post

Creates a new blog post. The content should be in HTML format and should not include an H1 tag.

site_idtitlecontent

DevHub CMS MCP provides a seamless integration between large language models and the DevHub content management system. It enables AI assistants to interact with your DevHub CMS, allowing for efficient management of business information, location data, and content across your DevHub-powered websites. With this MCP, you can retrieve business and location details, manage hours of operation, create and edit blog posts, and find the nearest locations based on geographic coordinates. It's an essential tool for businesses using DevHub who want to leverage AI for content management and customer service.

DevHub CMS MCP

DevHub CMS MCP is a Model Context Protocol integration that allows AI assistants to interact with the DevHub content management system. This integration enables efficient management of business information, location data, and content across DevHub-powered websites.

Prerequisites

Before installing DevHub CMS MCP, you'll need:

  1. A DevHub account with API access
  2. Your DevHub API key and secret
  3. Your DevHub base URL (typically in the format https://yourbrand.cloudfrontend.net)
  4. The uv package manager installed on your system

Installation Options

Installing via Claude Desktop

To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json:

{
    "mcpServers": {
        "devhub_cms_mcp": {
            "command": "uvx",
            "args": [
                "devhub-cms-mcp"
            ],
            "env": {
                "DEVHUB_API_KEY": "YOUR_KEY_HERE",
                "DEVHUB_API_SECRET": "YOUR_SECRET_HERE",
                "DEVHUB_BASE_URL": "https://yourbrand.cloudfrontend.net"
            }
        }
    }
}

After updating the config, restart Claude Desktop.

Installing via Claude Code

Claude Code's command line supports MCP installations. You can add the DevHub CMS MCP with:

claude mcp add devhub-cms-mcp \
    -e DEVHUB_API_KEY=YOUR_KEY_HERE \
    -e DEVHUB_API_SECRET=YOUR_SECRET_HERE \
    -e DEVHUB_BASE_URL=https://yourbrand.cloudfrontend.net \
    -- uvx devhub-cms-mcp

Installing via Cursor

This MCP can also be used with Cursor. Add a similar configuration to your Cursor global environment or to individual projects:

{
    "mcpServers": {
        "devhub_cms_mcp": {
            "command": "uvx",
            "args": [
                "devhub-cms-mcp"
            ],
            "env": {
                "DEVHUB_API_KEY": "YOUR_KEY_HERE",
                "DEVHUB_API_SECRET": "YOUR_SECRET_HERE",
                "DEVHUB_BASE_URL": "https://yourbrand.cloudfrontend.net"
            }
        }
    }
}

Installing via Smithery

For automatic installation via Smithery:

npx -y @smithery/cli install @devhub/devhub-cms-mcp --client claude

Local Development Setup

If you want to develop or modify the MCP:

  1. Clone the repository:

    git clone git@github.com:devhub/devhub-cms-mcp.git
    
  2. Configure Claude Desktop for local development by adding to your claude_desktop_config.json:

    {
        "mcpServers": {
            "devhub_cms_mcp": {
                "command": "uv",
                "args": [
                    "--directory",
                    "/YOUR/LOCAL/PATH/devhub-cms-mcp/",
                    "run",
                    "main.py"
                ],
                "env": {
                    "DEVHUB_API_KEY": "YOUR_KEY_HERE",
                    "DEVHUB_API_SECRET": "YOUR_SECRET_HERE",
                    "DEVHUB_BASE_URL": "https://yourbrand.cloudfrontend.net"
                }
            }
        }
    }
    
  3. Alternatively, set environment variables and run directly:

    export DEVHUB_API_KEY="your_api_key"
    export DEVHUB_API_SECRET="your_api_secret"
    export DEVHUB_BASE_URL="https://yourbrand.cloudfrontend.net"
    uv run main.py
    

Usage Examples

Once installed, you can use the MCP to interact with your DevHub CMS. Here are some example prompts:

  • "Show me all the businesses in my DevHub account"
  • "Get the locations for business ID 12345"
  • "What are the hours of operation for location ID 67890?"
  • "Update the hours for location ID 67890 to close at 6pm on weekdays"
  • "Find the nearest location to latitude 37.7749, longitude -122.4194"
  • "Create a new blog post titled 'Summer Specials' for site ID 12345"
  • "Get the details of blog post ID 67890"

The AI assistant will use the appropriate tools to fulfill these requests.

Related MCPs

Ghost CMS Integration
Content Management SystemsTypeScript

Interact with and manage your Ghost blog through LLM interfaces

Contentful Management API
Content Management SystemsTypeScript

Access and manage Contentful content through Claude AI

Drupal
Content Management SystemsTypeScript

Connect to Drupal CMS via Model Context Protocol

About Model Context Protocol

Model Context Protocol (MCP) allows AI models to access external tools and services, extending their capabilities beyond their training data.

Generate Cursor Documentation

Save time on coding by generating custom documentation and prompts for Cursor IDE.