MCP server
CargoForge is a remote MCP server, so an AI agent (Claude, Cursor, and others) can create projects, deploy compose files, read logs and restart services for you.
- URL:
https://api.cargoforge.dev/mcp(streamable HTTP) - Needs the Cargo plan. Scopes and limits work exactly as for API keys.
Connect: sign in (OAuth)
Section titled “Connect: sign in (OAuth)”Clients that support MCP sign-in only need the URL. Add it as a custom connector (in claude.ai: Settings → Connectors); you’re sent to a CargoForge page to approve it, where you choose its scope and optional spend and container limits. You can revoke it any time under API Keys.
Connect: an API key
Section titled “Connect: an API key”Create a key under API Keys and send it as a bearer token.
Claude Code:
claude mcp add --transport http cargoforge https://api.cargoforge.dev/mcp \ --header "Authorization: Bearer <api-key>"Clients configured with JSON (Cursor and others):
{ "mcpServers": { "cargoforge": { "url": "https://api.cargoforge.dev/mcp", "headers": { "Authorization": "Bearer <api-key>" } } }}| Tool | Does |
|---|---|
list_projects, create_project |
find or make a project |
validate_compose |
check a file without deploying it |
deploy_compose, wait_for_deployment |
deploy, and wait until it settles |
list_deployments, get_endpoints |
versions, and the public addresses |
get_logs |
each service’s recent output |
restart_deployment, stop_deployment, start_deployment |
lifecycle |
set_env_var, list_env_vars |
secrets |
list_containers |
everything running, with live CPU and memory |
Everything an agent does shows in your activity feed under the key or connection’s name.
Good habits
Section titled “Good habits”- Give agents the Deploy scope (they can’t delete projects with it) and a spend limit.
- Ask the agent to run
validate_composefirst and read the notices. - Secrets go through
set_env_var, never into the compose file.