DevHub CMS MCP server

Manage and utilize content within DevHub CMS (blog posts, hours of operation and other content).
Back to servers
Setup instructions
Provider
DevHub
Release date
Mar 17, 2025
Language
Python
Package
Stats
2.2K downloads
5 stars

DevHub CMS MCP is a server that implements the Model Context Protocol (MCP), allowing you to manage content in the DevHub CMS system directly through Claude Desktop, Cursor, or Claude Code. This integration enables AI assistants to query and update business information, location details, blog posts, and media in your DevHub CMS.

Installation Options

Installing with 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 for Cursor

The MCP can also be used in Cursor with a similar configuration added to your Cursor global environment or to individual projects.

Installing via Claude Code

Claude Code's command line supports MCP installs:

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 Smithery

To install DevHub CMS MCP automatically via Smithery:

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

Running Directly with UV

Set the required environment variables:

export DEVHUB_API_KEY="your_api_key"
export DEVHUB_API_SECRET="your_api_secret"
export DEVHUB_BASE_URL="https://yourbrand.cloudfrontend.net"

Then run the MCP:

uv run main.py

Available Tools

Business and Location Management

  • get_businesses(): Retrieves all businesses within the DevHub account, returning a list with their IDs and names.
  • get_locations(business_id): Gets all locations for a specific business with detailed information.
  • get_hours_of_operation(location_id, hours_type='primary'): Retrieves operating hours for a location.
  • update_hours(location_id, new_hours, hours_type='primary'): Updates operating hours for a location.
  • get_nearest_location(business_id, latitude, longitude): Finds the nearest location based on coordinates.
  • site_from_url(url): Gets the DevHub site ID and details from a URL.

Content Management

  • get_blog_post(post_id): Retrieves a blog post by ID.
  • create_blog_post(site_id, title, content): Creates a new blog post with HTML content.
  • update_blog_post(post_id, title=None, content=None): Updates an existing blog post.

Media Management

  • upload_image(base64_image_content, filename): Uploads an image to the DevHub media gallery.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "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"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "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"
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "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"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later