MCP servers
MCP (Model Context Protocol) servers give the agent extra tools: a database browser, an issue tracker, a documentation search. CCD is an MCP client. Each MCP tool shows up to the agent as mcp__<server>__<tool>.
Where servers run
MCP servers start on your project's own node, in the same trust boundary as the agent's other commands. They do not run on the shared CCD host for node projects. Three transports are supported: stdio (a command), http and sse (a URL).
Where they are configured
Merged in this order, with later sources adding to earlier ones:
- Company level: servers that apply to every project of your company (
/api/mcp/user-servers). .mcp.jsonin the repository root: standard{"mcpServers": {...}}files work. These must be approved before they run.- Project servers saved in CCD (the MCP panel in Hyper Agent, or the API below).
Add a server
In Hyper Agent open the MCP panel for the project. Or by API:
# stdio server
curl -X POST -H "X-API-Key: $CCD_API_KEY" -H "Content-Type: application/json" \
-d '{"name":"docs","command":"npx","args":["-y","@acme/docs-mcp"],"env":{"DOCS_TOKEN":"..."}}' \
"$CCD_URL/api/dev/projects/$PID/mcp-servers"
# remote server
curl -X POST -H "X-API-Key: $CCD_API_KEY" -H "Content-Type: application/json" \
-d '{"name":"tracker","url":"https://mcp.example.com/sse","type":"sse","headers":{"Authorization":"Bearer ..."}}' \
"$CCD_URL/api/dev/projects/$PID/mcp-servers"
# list and remove
curl -H "X-API-Key: $CCD_API_KEY" "$CCD_URL/api/dev/projects/$PID/mcp-servers"
curl -X DELETE -H "X-API-Key: $CCD_API_KEY" "$CCD_URL/api/dev/projects/$PID/mcp-servers?name=docs"
Rules for a server entry:
- name: 1 to 64 characters; letters, digits, space,
.,-,_; must start with a letter or digit. - It needs either
command(stdio, with optionalargsandenv) orurl(typeishttpby default, orsse; optionalheaders). - Optional keys:
disabled,autoApprove,startupTimeout.
Import or export a standard file:
curl -H "X-API-Key: $CCD_API_KEY" "$CCD_URL/api/dev/projects/$PID/mcp-import" # export
curl -X POST -H "X-API-Key: $CCD_API_KEY" -H "Content-Type: application/json" \
-d '{"json":"{\"mcpServers\":{\"docs\":{\"command\":\"npx\",\"args\":[\"-y\",\"@acme/docs-mcp\"]}}}"}' \
"$CCD_URL/api/dev/projects/$PID/mcp-import" # import
Check connection state with GET /api/dev/projects/$PID/mcp-status.
Approvals
A new server cannot act silently. A call runs without asking only when:
- the tool declares
readOnlyHintand notdestructiveHint, or - the server's
autoApprovelist names the tool (or contains"*").
Everything else asks you first, with the message "MCP tool X on server Y can act outside this project".
How tools are presented
Up to 40 tools are given to the agent directly with their full schemas. If your servers expose more, the rest are reachable through mcp_list_tools and mcp_call. The agent can also use mcp_resources and mcp_prompts to read server resources and prompt templates. Results are clipped to 8,000 characters.
Limits
The number of MCP servers per company depends on the plan: 3 on Solo, 10 on Team, 25 on Scale, 100 on Enterprise. See Plans and limits.
Trust
An MCP server is code you choose to run, and its tool output goes to the model. Only add servers you trust, keep tokens in env or headers rather than in prompts, and prefer read-only tools.