Docs/Candor Deploy
Connect an AI coding agent (MCP)
Connect Claude Code, Codex, Cursor, VS Code or another MCP client to Candor Deploy, choose what it may do, and use an API token where a browser sign-in is not possible.
Candor Deploy has an MCP server. Once an agent is connected, you can ask it to deploy a repository, read a build log, set an environment variable or add a domain, and it does so through the same API the dashboard uses, with the permissions you gave it.
The endpoint
https://app.candordeploy.com/api/mcp
The dashboard shows the same address, with copy-and-paste setup for each client, under Settings, then MCP. If the two ever differ, use the one in the dashboard.
It is a Streamable HTTP endpoint. Any MCP client that supports remote servers can use it.
Connect by signing in (recommended)
Add the server to your client, then sign in when the client opens your browser. The sign-in page asks what the agent may do:
- read-only or full control;
- all of your projects, or only the ones you pick.
There is no token to copy. Connected clients are listed under Settings, then MCP, where you can change a client’s access or disconnect it.
Claude Code
claude mcp add --transport http candor https://app.candordeploy.com/api/mcp
More in Deploy from Claude.
Codex
codex mcp add candor --url https://app.candordeploy.com/api/mcp
codex mcp login candor
More in Deploy from Codex.
Cursor
Add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"candor": { "url": "https://app.candordeploy.com/api/mcp" }
}
}
VS Code
code --add-mcp '{"name":"candor","type":"http","url":"https://app.candordeploy.com/api/mcp"}'
Other clients
Any client that accepts a remote MCP server URL works the same way: give it the endpoint and sign in. The name candor in these examples is only a label; call it what you like.
Connect with an API token
Use a token where a browser sign-in is not possible, such as in CI.
- In the dashboard, open Settings, then API tokens.
- Give the token a name. Turn on Read-only if the agent should only look. Turn on Limit to specific resources to confine it to the projects you choose.
- Choose when it expires, then press Create token. The token is shown once. Copy it then.
- Send it as a bearer token:
{
"mcpServers": {
"candor": {
"url": "https://app.candordeploy.com/api/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}
Keep tokens out of your repository. Anyone holding a token can do what the token allows.
What an agent can and cannot do
- It acts as you, or as less than you. The tools it sees are the ones your role allows, narrowed further by the read-only and project choices you made.
- Secrets stay masked. A variable marked secret comes back masked to an agent, the same as in the dashboard.
- It is limited by the access you grant. There is no plan project limit for it to hit. What it can create or change is decided by its role and the read-only and project choices you made, so grant only what it needs.
- It cannot manage credentials. Creating tokens and changing sign-in settings are not available as tools.
- Nothing asks “are you sure?” for you. Tools are marked as read-only or destructive so a client can warn you, but the warning is the client’s job. If an agent should not be able to delete things, connect it as read-only or limit it to the projects it needs.
What to ask
Once connected, plain requests work:
- “List my projects on Candor.”
- “Show the build log for the last deployment of storefront and tell me why it failed.”
- “Set
LOG_LEVEL=debugon the api service and apply it.” - “Roll storefront back to the previous deployment.”
Read what the agent proposes before you approve a change, as you would with any tool that can change production.
Something here wrong, unclear or missing? Tell us. Docs get fixed like bugs.
Not a customer yet? Start a free trial, or see plans and limits.