Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.devhelm.io/llms.txt

Use this file to discover all available pages before exploring further.

The DevHelm MCP server is hosted at mcp.devhelm.io — connect from any MCP-compatible client without installing anything. The same code is also published to PyPI for local/offline use.

Authentication

Every request to the MCP server requires a DevHelm API token. Create one from Settings → API Keys in the Dashboard. Send your token in the Authorization header. The token never appears in the URL.
{
  "mcpServers": {
    "devhelm": {
      "url": "https://mcp.devhelm.io/mcp",
      "headers": {
        "Authorization": "Bearer dh_live_xxxxxxxx"
      }
    }
  }
}

Path-based token

For clients that only accept a URL and don’t support custom headers, embed the token in the path:
{
  "mcpServers": {
    "devhelm": {
      "url": "https://mcp.devhelm.io/dh_live_xxxxxxxx/mcp"
    }
  }
}
The path-based form puts your token directly in the URL. Treat the entire URL as a secret — don’t commit it to version control or share it in plaintext. Use the Bearer header form whenever your client supports it.

Client setup

Copy the config for your client. All examples use the hosted server with Bearer auth.
Add to .cursor/mcp.json in your project root, or ~/.cursor/mcp.json for global access:
{
  "mcpServers": {
    "devhelm": {
      "url": "https://mcp.devhelm.io/mcp",
      "headers": {
        "Authorization": "Bearer dh_live_xxxxxxxx"
      }
    }
  }
}
After saving, restart the MCP server via the Command Palette → “MCP: Restart Server”.

Environment variables

When using the hosted server, configuration is minimal — just the token in your client config. These environment variables apply when running locally:
VariableDefaultDescription
DEVHELM_API_TOKENAPI token for authentication (required)
DEVHELM_API_URLhttps://api.devhelm.ioAPI base URL (for self-hosted or testing)
DEVHELM_ORG_IDOrganization ID; required when your token grants access to multiple orgs
DEVHELM_WORKSPACE_IDWorkspace ID; required when your token grants access to multiple workspaces
For the hosted server, pass org_id and workspace_id as query parameters if needed: https://mcp.devhelm.io/mcp?org_id=123&workspace_id=456

Run locally

If you need offline access or want to develop against a local API, the same server code is published to PyPI as devhelm-mcp-server. It speaks MCP over stdio — your client spawns it as a subprocess.
Requires Python 3.11 or later. The package depends on devhelm (the Python SDK, ≥ 0.4.0) and fastmcp ≥ 2.0.

Install

The fastest way is uvx (downloads, caches, and runs in one step):
uvx devhelm-mcp-server
Or install with pip:
pip install devhelm-mcp-server
The package registers a devhelm-mcp-server console script (with devhelm-mcp as a deprecated back-compat alias).

Local client config

When running locally, your MCP client spawns the server as a subprocess instead of connecting to a URL:
{
  "mcpServers": {
    "devhelm": {
      "command": "uvx",
      "args": ["devhelm-mcp-server"],
      "env": {
        "DEVHELM_API_TOKEN": "dh_live_xxxxxxxx"
      }
    }
  }
}

Health check

The hosted server exposes a health endpoint:
curl https://mcp.devhelm.io/health
{"status": "healthy", "service": "devhelm-mcp-server"}

Troubleshooting

Restart your MCP client after saving the configuration. In Cursor, open the Command Palette and search for “MCP: Restart Server”. In Claude Desktop, quit and relaunch the app.
Verify your API token is valid:
curl -H "Authorization: Bearer dh_live_xxxxxxxx" https://api.devhelm.io/api/v1/monitors
If you get a 403 with “workspace not specified”, your token has access to multiple workspaces. For hosted, append ?workspace_id=YOUR_ID to the URL. For local, set DEVHELM_WORKSPACE_ID in the env block.
Check that your network allows outbound HTTPS to mcp.devhelm.io. Corporate proxies or VPNs may block the connection. If you can’t reach the hosted server, run locally instead.
Install uv first:
curl -LsSf https://astral.sh/uv/install.sh | sh
Or skip uv entirely: pip install devhelm-mcp-server and use "command": "devhelm-mcp-server" in your config.
Ensure your Python Scripts/bin directory is on PATH. If you’re using pyenv or a virtual environment, use the full path to the binary or activate the environment before launching your MCP client.

Next steps

Tools reference

Complete catalog of all MCP tools with parameters.

MCP overview

Introduction, example interactions, and full tool coverage.