Hosted MCP Server
Status: COMING SOON
The local MCP server is available now on all tiers.
It exposes the management tools and the cooperative check tool through stdio.
The managed mcp.controlzero.ai endpoint is not live. This page documents the
planned HTTP offering; use the local MCP server today.
The Hosted MCP Server will be a cloud-hosted version of the Control Zero MCP server that runs as an HTTP service. Any MCP-capable AI coding client will be able to connect to it via the Streamable HTTP transport protocol -- no local installation required.
Hosted vs Local
For the local (stdio) option, configure the Control Zero registry once: add @controlzero:registry=https://npm.controlzero.ai to your .npmrc (or run npm config set @controlzero:registry https://npm.controlzero.ai). It applies to npm install and npx for the whole @controlzero scope.
| Feature | Local (stdio) | Hosted (HTTP) |
|---|---|---|
| Transport | stdio | Streamable HTTP |
| Installation | npm install -g @controlzero/mcp-server | None (cloud-hosted) |
| Availability | All tiers | Entitlement-gated (COMING SOON) |
| Network | Runs on your machine | Runs on Control Zero infrastructure |
| Authentication | CONTROLZERO_MGMT_KEY / CONTROLZERO_API_KEY | Authorization: Bearer with either key |
| Tools | Management tools and check | The same tools |
Both run the same server code and expose the same tools; see Available Tools.
Provisioning
Via Dashboard
- Go to Integrations > MCP Server in the Control Zero dashboard
- In the Hosted MCP Server section, click Provision Hosted MCP
- The connection URL and client configuration snippets will appear
- Copy the configuration for your IDE
Via API
POST /api/projects/{projectID}/mcp/provision
Cookie: cz_session=<your dashboard session cookie>
Returns:
{
"status": "provisioned",
"mcp_url": "https://mcp.controlzero.ai/mcp",
"transport": "streamable-http",
"provisioned_at": "2026-04-11T10:00:00Z",
"instructions": "..."
}
Check Status
GET /api/projects/{projectID}/mcp/status
Deprovision
DELETE /api/projects/{projectID}/mcp/deprovision
Client Configuration
Send one key as the bearer token. A management key (cz_mgmt_*) reaches the
management tools; an enforcement key (cz_live_* or cz_test_*) reaches
check. A tool called with the other kind of key returns an error naming the
key it needs.
Claude Desktop
Add to your Claude Desktop MCP configuration file:
{
"mcpServers": {
"controlzero": {
"url": "https://mcp.controlzero.ai/mcp",
"transport": "streamable-http",
"headers": {
"Authorization": "Bearer cz_live_YOUR_API_KEY"
}
}
}
}
Cursor
Add to Cursor's MCP settings:
{
"mcpServers": {
"controlzero": {
"url": "https://mcp.controlzero.ai/mcp",
"transport": "streamable-http",
"headers": {
"Authorization": "Bearer cz_live_YOUR_API_KEY"
}
}
}
}