Gets all businesses within the DevHub account. Returns a list of businesses with their IDs and names.
Gets all locations for a specific business. Returns detailed location information including address, coordinates, and URLs.
Gets the hours of operation for a specific DevHub location. Returns a structured list of time ranges for each day of the week.
Updates the hours of operation for a DevHub location.
Finds the nearest DevHub location based on geographic coordinates.
Gets the DevHub site ID and details from a URL. Returns site ID, URL, and associated location IDs.
Retrieves a single blog post by ID, including its title, date, and HTML content.
Creates a new blog post. The content should be in HTML format and should not include an H1 tag.
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 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.
Before installing DevHub CMS MCP, you'll need:
https://yourbrand.cloudfrontend.net
)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.
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
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"
}
}
}
}
For automatic installation via Smithery:
npx -y @smithery/cli install @devhub/devhub-cms-mcp --client claude
If you want to develop or modify the MCP:
Clone the repository:
git clone git@github.com:devhub/devhub-cms-mcp.git
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"
}
}
}
}
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
Once installed, you can use the MCP to interact with your DevHub CMS. Here are some example prompts:
The AI assistant will use the appropriate tools to fulfill these requests.