DD

devhub/devhub-cms-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

9 stars 13 forks 质量 53 趋势 7

DevHub CMS LLM 通过示范背景协议集成

概览

DevHub CMS系统中管理内容的示范背景协议(MCP)集成. 您需要安装在本地系统中的 uV 软件包管理器 。 要使用此服务器使用 Claude 桌面应用程序, 请在您的 Claude desktop config.json 的" mcpServers" 部分中添加以下配置 : 更新配置后, 重新启动 Claude 桌面 。 此 MCP 也可以在光标中使用, 其配置从上面添加到您的光标全球环境或单个项目中。 Claude Code的指令行支持MCP安装. 您可以通过更新下面的环境变量来添加 devhub- cms- mcp 要通过 Smithery 为 Claude 桌面自动安装 DevHub CMS MCP :

概述(AI 翻译)

DevHub CMS系统中管理内容的示范背景协议(MCP)集成.

□ 安装

您需要安装在本地系统中的 uV 软件包管理器 。

Claude 桌面的手动配置

要使用此服务器使用 Claude 桌面应用程序, 请在您 [[T0] 的" mcpServers" 部分中添加以下配置 :

更新配置后, 重新启动 Claude 桌面 。

光标的手动配置

此 MCP 也可以在光标中使用, 其配置从上面添加到您的光标全球环境或单个项目中。

示例

通过克洛德代码安装

Claude Code的指令行支持MCP安装.

您可以通过更新以下环境变量来添加 devhub-cms-mcp

通过 Smithery 安装

要通过 Smithery 为 Claude 桌面自动安装 DevHub CMS MCP :

□ 地方发展

      • 切除还原(或叉子)

Claude 桌面的手动配置

要将此服务器与 Claude 桌面应用程序一起用于本地开发, 请在您 [[T2] 的" mcpServers" 部分中添加以下配置 :

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

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 [email protected]: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.

在 GitHub 查看完整 README

安装

uvx devhub-cms-mcp
新手?先看 mcpskill.org 教程 →