Skip to content

Commit 2edccb3

Browse files
authored
Updated install details for uvx now that we are on pypi (#1)
1 parent 9dd4991 commit 2edccb3

3 files changed

Lines changed: 41 additions & 7 deletions

File tree

README.md

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,41 @@ A Model Context Protocol (MCP) integration for managing content in the DevHub CM
66

77
You will need the [uv](https://github.com/astral-sh/uv) package manager installed on your local system.
88

9-
### Clone the repo
9+
### Manual configuration of Claude Desktop
10+
11+
To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your `claude_desktop_config.json`:
12+
13+
```
14+
{
15+
"mcpServers": {
16+
"devhub_cms_mcp": {
17+
"command": "uvx",
18+
"args": [
19+
"devhub-cms-mcp"
20+
],
21+
"env": {
22+
"DEVHUB_API_KEY": "YOUR_KEY_HERE",
23+
"DEVHUB_API_SECRET": "YOUR_SECRET_HERE",
24+
"DEVHUB_BASE_URL": "https://yourbrand.cloudfrontend.net"
25+
}
26+
}
27+
}
28+
}
29+
```
30+
31+
After updating the config, restart Claude Desktop.
32+
33+
## Local development
34+
35+
### Clone the repo (or your fork)
1036

1137
```
1238
git clone git@github.com:devhub/devhub-cms-mcp.git
1339
```
1440

1541
### Manual configuration of Claude Desktop
1642

17-
To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your `claude_desktop_config.json`:
43+
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`:
1844

1945
```
2046
{
@@ -37,7 +63,9 @@ To use this server with the Claude Desktop app, add the following configuration
3763
}
3864
```
3965

40-
## Configuration
66+
After updating the config, restart Claude Desktop.
67+
68+
### Configuration for running with `uv` directly
4169

4270
This MCP requires the following environment variables to be set:
4371

@@ -47,6 +75,12 @@ export DEVHUB_API_SECRET="your_api_secret"
4775
export DEVHUB_BASE_URL="https://yourbrand.cloudfrontend.net"
4876
```
4977

78+
Then run the MCP
79+
80+
```
81+
uv run main.py
82+
```
83+
5084
## Available Tools
5185

5286
This MCP provides the following tools for interacting with DevHub CMS:
@@ -69,4 +103,4 @@ This MCP provides the following tools for interacting with DevHub CMS:
69103

70104
## Usage with LLMs
71105

72-
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.
106+
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.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "devhub-cms-mcp"
3-
version = "0.1.0"
4-
description = "DevHub CMS integration through the Model Context Protocol"
3+
version = "0.2.0"
4+
description = "DevHub CMS LLM integration through the Model Context Protocol"
55
readme = "README.md"
66
requires-python = ">=3.10"
77
dependencies = [

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)