डेवहब सीएमएस एमसीपी
DevHub CMS LLM एकीकरण मॉडल संदर्भ प्रोटोकॉल के माध्यम से
सारांश
DevHub CMS MCP क्या है?
DevHub CMS MCP (Content Management System Model Context Protocol) एक अभिनव प्लेटफ़ॉर्म है जिसे सामग्री प्रबंधन प्रणालियों में बड़े भाषा मॉडल (LLMs) को एकीकृत करने के लिए डिज़ाइन किया गया है। यह एकीकरण उपयोगकर्ताओं को सामग्री निर्माण, प्रबंधन और अनुकूलन के लिए उन्नत AI क्षमताओं का लाभ उठाने की अनुमति देता है, जिससे सामग्री कार्यप्रवाहों की समग्र उपयोगकर्ता अनुभव और दक्षता में सुधार होता है।
DevHub CMS MCP की विशेषताएँ
- LLM एकीकरण: विभिन्न बड़े भाषा मॉडलों के साथ सहजता से एकीकृत होता है ताकि बुद्धिमान सामग्री सुझाव और स्वचालन प्रदान किया जा सके।
- उपयोगकर्ता-अनुकूल इंटरफ़ेस: एक साफ और सहज इंटरफ़ेस के साथ डिज़ाइन किया गया है जो सामग्री प्रबंधन कार्यों को सरल बनाता है।
- अनुकूलन योग्य कार्यप्रवाह: विभिन्न सामग्री रणनीतियों और टीम संरचनाओं के अनुकूलन के लिए अनुकूलन योग्य कार्यप्रवाह प्रदान करता है।
- वास्तविक समय सहयोग: कई उपयोगकर्ताओं को वास्तविक समय में सहयोग करने की अनुमति देता है, जिससे टीमवर्क और उत्पादकता में वृद्धि होती है।
- विश्लेषण और रिपोर्टिंग: सामग्री प्रदर्शन और उपयोगकर्ता सहभागिता को ट्रैक करने के लिए गहन विश्लेषण और रिपोर्टिंग उपकरण प्रदान करता है।
- सुरक्षा और अनुपालन: डेटा सुरक्षा और उद्योग मानकों के अनुपालन को सुनिश्चित करता है, उपयोगकर्ता जानकारी और सामग्री की अखंडता की रक्षा करता है।
DevHub CMS MCP का उपयोग कैसे करें
- साइन अप करें: DevHub प्लेटफ़ॉर्म पर एक खाता बनाएं ताकि CMS तक पहुँच प्राप्त कर सकें।
- अपना कार्यक्षेत्र सेट करें: टीम के सदस्यों को जोड़कर और भूमिकाएँ परिभाषित करके अपने कार्यक्षेत्र को अनुकूलित करें।
- LLMs एकीकृत करें: अपने पसंदीदा बड़े भाषा मॉडलों को कनेक्ट करें ताकि AI-चालित सामग्री सुझावों का उपयोग करना शुरू कर सकें।
- सामग्री बनाएँ: सहज संपादक का उपयोग करके अपनी सामग्री बनाएँ, संपादित करें और प्रबंधित करें। अपने लेखन को बढ़ाने के लिए AI सुझावों का लाभ उठाएँ।
- सहयोग करें: टीम के सदस्यों को वास्तविक समय में सामग्री पर सहयोग करने के लिए आमंत्रित करें, आवश्यकतानुसार फीडबैक प्रदान करें और संपादन करें।
- प्रदर्शन का विश्लेषण करें: सामग्री प्रदर्शन की निगरानी करने और भविष्य की सामग्री रणनीतियों के लिए डेटा-संचालित निर्णय लेने के लिए विश्लेषण उपकरण का उपयोग करें।
अक्सर पूछे जाने वाले प्रश्न
प्रश्न: मैं DevHub CMS MCP के साथ किस प्रकार की सामग्री बना सकता हूँ?
उत्तर: आप ब्लॉग पोस्ट, लेख, लैंडिंग पृष्ठ और अधिक सहित कई प्रकार की सामग्री बना सकते हैं, सभी AI सुझावों द्वारा संवर्धित।
प्रश्न: क्या DevHub CMS MCP छोटे व्यवसायों के लिए उपयुक्त है?
उत्तर: हाँ, DevHub CMS MCP को स्केलेबल बनाने के लिए डिज़ाइन किया गया है और इसे छोटे व्यवसायों के साथ-साथ बड़े उद्यमों द्वारा प्रभावी ढंग से उपयोग किया जा सकता है।
प्रश्न: LLM एकीकरण कैसे काम करता है?
उत्तर: LLM एकीकरण CMS को सामग्री निर्माण के आधार पर संदर्भ-सचेत सुझाव और स्वचालन प्रदान करने की अनुमति देता है, जिससे दक्षता और रचनात्मकता में सुधार होता है।
प्रश्न: क्या मैं DevHub CMS MCP में कार्यप्रवाह अनुकूलित कर सकता हूँ?
उत्तर: बिल्कुल! आप अपनी टीम की विशिष्ट आवश्यकताओं और सामग्री रणनीतियों के अनुसार कार्यप्रवाह को अनुकूलित कर सकते हैं।
प्रश्न: क्या DevHub CMS MCP का मोबाइल संस्करण है?
उत्तर: हाँ, DevHub CMS MCP मोबाइल उपकरणों पर सुलभ है, जिससे आप चलते-फिरते अपनी सामग्री का प्रबंधन कर सकते हैं।
प्रश्न: सुरक्षा के लिए कौन से उपाय किए गए हैं?
उत्तर: DevHub CMS MCP उपयोगकर्ता डेटा की सुरक्षा के लिए मजबूत सुरक्षा प्रोटोकॉल लागू करता है और उद्योग मानकों के अनुपालन को सुनिश्चित करता है।
विवरण
DevHub CMS MCP
A Model Context Protocol (MCP) integration for managing content in the DevHub CMS system.
Installation
You will need the uv package manager installed on your local system.
Manual configuration of 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.
Manual configuration for Cursor
This MCP can also be used in cursor with a similar configuration from above added to your Cursor global environment or to individual projects.
Examples here
Installing via Claude Code
Claude Code's command line supports MCP installs.
You can add the devhub-cms-mcp
by updating the environment variables below
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 for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @devhub/devhub-cms-mcp --client claude
Local development
Clone the repo (or your fork)
git clone git@github.com:devhub/devhub-cms-mcp.git
Manual configuration of Claude Desktop
To use this server with the Claude Desktop app for local development, add the following configuration to the "mcpServers" section of 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"
}
}
}
}
After updating the config, restart Claude Desktop.
Configuration for running with uv
directly
This MCP requires the following environment variables to be set:
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
This MCP provides the following tools for interacting with DevHub CMS:
Business and Location Management
- get_businesses(): Gets all businesses within the DevHub account. Returns a list of businesses with their IDs and names.
- get_locations(business_id): Gets all locations for a specific business. Returns detailed location information including address, coordinates, and URLs.
- get_hours_of_operation(location_id, hours_type='primary'): Gets the hours of operation for a specific DevHub location. Returns a structured list of time ranges for each day of the week.
- update_hours(location_id, new_hours, hours_type='primary'): Updates the hours of operation for a DevHub location.
- get_nearest_location(business_id, latitude, longitude): Finds the nearest DevHub location based on geographic coordinates.
- site_from_url(url): Gets the DevHub site ID and details from a URL. Returns site ID, URL, and associated location IDs.
Content Management
- get_blog_post(post_id): Retrieves a single blog post by ID, including its title, date, and HTML content.
- create_blog_post(site_id, title, content): Creates a new blog post. The content should be in HTML format and should not include an H1 tag.
- update_blog_post(post_id, title=None, content=None): Updates an existing blog post's title and/or content.
Media Management
- upload_image(base64_image_content, filename): Uploads an image to the DevHub media gallery. Supports webp, jpeg, and png formats. The image must be provided as a base64-encoded string.
Usage with LLMs
This MCP is designed to be used with Large Language Models that support the Model Context Protocol. It allows LLMs to manage content in DevHub CMS without needing direct API access integrated into the LLM natively.
Testing
This package includes a test suite with mocked requests to the DevHub API, allowing you to test the functionality without making actual API calls.
Running Tests
To run the tests, first install the package with test dependencies:
uv pip install -e ".[test]"
Run the tests with pytest:
uv run pytest
For more detailed output and test coverage information:
uv run pytest -v --cov=devhub_cms_mcp
Test Structure
tests/devhub_cms_mcp/test_mcp_integration.py
: Tests for MCP integration endpoints
सर्वर कॉन्फ़िगरेशन
{
"mcpServers": {
"devhub-cms-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--devhub--devhub-cms-mcp--devhub-cms-mcp",
"devhub-cms-mcp"
],
"env": {
"DEVHUB_API_KEY": "devhub-api-key",
"DEVHUB_API_SECRET": "devhub-api-secret",
"DEVHUB_BASE_URL": "devhub-base-url"
}
}
}
}