Loading...
Loading...
Drive Cargo from its hosted MCP server at https://mcp.getcargo.io/mcp — connect a client, discover and price an action, run it over one record or a batch, poll it, and read workspace models, with no CLI install. Also when to call an MCP tool instead of shelling out to `cargo-ai`. Triggers: "connect Cargo to Claude Desktop", "add Cargo to ChatGPT", "Cargo MCP server", "mcp.getcargo.io", "use Cargo without installing anything", "which Cargo tool do I call", "search_actions", "execute_action_batch", "MCP server is showing the wrong workspace". Tools: whoami, search_actions, get_action_schema, execute_action, execute_action_batch, get_run, query_models. Skip when: you have a shell and the job is a workflow, a CDK deploy, warehouse SQL, or a mailbox — use the CLI skills; when publishing an MCP server out of your own workspace or attaching one to a Cargo agent — use cargo-ai.
npx skill4agent add getcargohq/cargo-skills cargo-mcphttps://mcp.getcargo.io/mcpThree different things here are called MCP. This skill is the hosted server Cargo runs, which you point a client at. Publishing a curated server out of your own workspace (, thenai mcp-server createover stdio) and attaching somebody else's server to a Cargo agent (cargo-ai mcp) are bothrelease update-draft --mcp-clients. Check which one the user means before answering: the words are identical and the answers share nothing.cargo-ai
| The job | Surface |
|---|---|
| Run one action, or one action over many records | either; MCP if it is already connected |
| Find what Cargo can do, and what it costs | either ( |
| Read records off a model | either |
| Warehouse SQL, aggregates, joins | CLI ( |
| Build or edit a multi-step workflow, tool, or play | CLI ( |
| Workspace as code, plan and deploy | CLI ( |
| Provision mailboxes, warm up, send | CLI ( |
| Segments, connectors, content libraries, alerts, hosting, billing admin | CLI |
| No shell at all (ChatGPT, Claude Desktop, claude.ai, n8n) | MCP, and say plainly what is out of reach |
npm install -g @cargo-ai/cli
cargo-ai login --email you@company.com # emailed code, no browser; creates the account on first use
cargo-ai whoami # confirm the workspace before anything that spendshttps://mcp.getcargo.io/mcp401WWW-Authenticateresource_metadata401claude mcp add --transport http cargo https://mcp.getcargo.io/mcp.mcp.json{
"mcpServers": {
"cargo": {
"type": "http",
"url": "https://mcp.getcargo.io/mcp"
}
}
}{
"mcpServers": {
"cargo": {
"type": "http",
"url": "https://mcp.getcargo.io/mcp",
"headers": { "Authorization": "Bearer ${CARGO_API_TOKEN}" }
}
}
}defineMcpServerwhoami → which workspace am I in, how many credits
search_actions → find the action, and read its cost
get_action_schema → what inputs it takes
autocomplete_action → resolve a field needing a picked id (HubSpot object type, Slack channel)
execute_action │ one record
execute_action_batch │ many records
get_run / get_batch → poll while outcome is "executing"list_modelsdescribe_modelquery_modelslist_runsget_usagewhoamisearch_actionscredits[].costaction{
"name": "Enrich person & find email",
"credits": [{ "cost": 0.1, "type": "fixed" }],
"action": {
"kind": "connector",
"integrationSlug": "aiArk",
"actionSlug": "enrichPerson",
"connectorUuid": "7bb944ec-0254-44bc-b0e4-8a56378e80cf"
}
}kindconnectornativetoolagentkindintegrationSlugexecute_actionexecute_action_batchactionrecords../cargo-gtm/references/cost-discipline.mdquery_modelscargo-storage../cargo-gtm/references/acceptable-use.md