OpenWork MCP Gateway — Claude Code MCP server: how to install
Connects an OpenWork organization's skills, workflows, plugins, and connections to AI agents via a single OAuth MCP endpoint.
claude mcp add --transport http openwork https://api.openworklabs.com/mcp/agentWhat OpenWork MCP Gateway does
The gateway exposes the Hono-based Den control plane (den-api). Route logic is split across discrete directories for authentication, workers, SCIM, and organization administration, allowing an agent to inspect one subsystem at a time without loading the entire API surface.
Telemetry relies on DEN_OBSERVABILITY_BACKEND to output structured JSON logs, export OTLP traces through OpenTelemetry, or route errors into Sentry. Sensitive values like authorization headers, cookies, and query parameters are redacted before telemetry records are dispatched.
A Redis instance is optional; when DATABASE_REDIS_URL is omitted, read-through caching falls back directly to database queries. Self-hosted web interfaces require explicit HTTPS entries under approved origins, because wildcards and unencrypted HTTP routes are rejected.
What it helps with
- route agent queries to OpenWork organizational workflows and plugins
- monitor worker activity and heartbeats across Den deployments
- inspect organization settings and membership without direct DB access
- export OTLP traces or Sentry telemetry while redacting auth tokens
Example prompts for the agent
- List worker nodes and check their activity heartbeats
- Inspect active organization members using the Den cache helpers
- Check the approved web origins registered for this organization
How to install OpenWork MCP Gateway
Platform CLI: remote server
claude mcp add --transport http openwork https://api.openworklabs.com/mcp/agentPlatform CLI: remote server
codex mcp add den-api --url https://api.openworklabs.com/mcp/agentConfig file
{
"mcpServers": {
"den-api": {
"url": "https://api.openworklabs.com/mcp/agent"
}
}
}Config file
{
"servers": {
"den-api": {
"type": "http",
"url": "https://api.openworklabs.com/mcp/agent"
}
}
}Platform CLI: remote server
gemini mcp add -t http den-api https://api.openworklabs.com/mcp/agentStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about OpenWork MCP Gateway
How do I install OpenWork MCP Gateway in Claude Code?
Run claude mcp add --transport http openwork https://api.openworklabs.com/mcp/agent in your terminal.
What does OpenWork MCP Gateway do?
It provides an OAuth MCP endpoint that connects agents to OpenWork workflows, skills, workers, and Den control plane routes.
Is Redis required to run the Den API gateway?
No, Redis is optional. If DATABASE_REDIS_URL is not set, all read-through cache helpers fall back directly to database queries.