Cargo MCP server for AI agents

Live

OAUTH 2.1

GTM AUTOMATION

CRM & Sales

Cargo MCP gives your agent access to your Cargo workspace: search and run enrichment and CRM actions, query data models with SQL, browse workspace context, and check credit usage.

  • Per-user credentials: each call uses the actual user's token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Cargo MCP
agent · Acme Q3
Run
Which of my open deals have no contact with an email yet?
S
cargomcp_query_models
312ms
GTM agent
Found 14 open deals with no contact email, grouped by owner. Acme Co has the most at 4 deals.
Sources: Cargo models, 1 query
cargomcp
14 deals
18:29
Message Claude...

Tools your GTM automation agent reaches for on Cargo MCP, scoped per user.

CALL ANY TOOL
17 tools for GTM automation in Cargo MCP: run enrichment and CRM actions, query data models with SQL, browse workspace context, and track runs, batches, and credit usage.
cargomcp_autocomplete_action
Autocomplete action
Resolve autocomplete options for a connector action (HubSpot object types, Slack channels, Metabase questions, …). Pass slug from search_actions.autocompletes. Resolve params to concrete values first, do not pass $this expression paths. Put chosen values in execute_action data, not action.config.
Parameters
Name
Type
Required
Description
action
object
Required
An orchestration action (connector, native, tool, or agent). Use search_actions, then pass the returned action object here unchanged. It carries no config, inputs go in data or records.
params
object
Optional
Already-resolved params required by this autocomplete. Use the params schema from the listed result. If that schema has query, pass the search string there.
slug
string
Optional
Autocomplete slug from search_actions.autocompletes.
cargomcp_browse_context
Browse context
cargomcp_describe_model
Describe model
cargomcp_execute_action
Execute action
cargomcp_execute_action_batch
Batch execute action
cargomcp_get_action_schema
Get action schema
cargomcp_get_batch
Batch get
cargomcp_get_run
Run get
cargomcp_get_usage
Get usage
cargomcp_list_models
List models
cargomcp_list_runs
List runs
cargomcp_map_context
Map context
cargomcp_query_models
Query models
cargomcp_read_context
Read context
cargomcp_search_actions
Search actions
cargomcp_search_context
Search context
cargomcp_whoami
Whoami
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Cargo tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["cargomcp"], toolNames: [
    "cargomcp_search_actions",
    "cargomcp_query_models",
    "cargomcp_get_usage"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Find the action that enriches a company, count my open deals by owner, and show my credit usage for the last 7 days" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["cargomcp"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Find the action that enriches a company, count my open deals by owner, and show my credit usage for the last 7 days" }],
  tools,
});

// Execute the tool call with the user's vaulted Cargo OAuth token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["cargomcp"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Find the action that enriches a company, count my open deals by owner, and show my credit usage for the last 7 days" }],
  tools,
});

// Tool call runs with the user's vaulted Cargo OAuth token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["cargomcp"] }, pageSize: 100,
});

const agent = new Agent({
  name: "gtm_agent",
  model: "gemini-2.5-pro",
  instruction: "Cargo tools scoped to this user",
  tools,
});

await agent.run("Find the action that enriches a company, count my open deals by owner, and show my credit usage for the last 7 days");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Cargo MCP tool. Click to copy, paste into your agent, done.
Models and data
Copy the prompt
Copied
List the data models in my Cargo workspace.
Copy the prompt
Copied
Describe the columns of my companies model.
Copy the prompt
Copied
Query my deals model and count open deals by owner.
Actions and enrichment
Copy the prompt
Copied
Search Cargo actions for finding a contact's email.
Copy the prompt
Copied
Show the input schema for the enrich company action.
Copy the prompt
Copied
Check my Cargo credit usage for the last 7 days.
Context and runs
Copy the prompt
Copied
Browse the files in my workspace context.
Copy the prompt
Copied
Search my workspace context for our ICP definition.
Copy the prompt
Copied
List my recent action runs.
SEE HOW AUTH WORKS
Each user signs in to Cargo once, and Scalekit stores and refreshes their tokens. Credentials stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Cargo MCP
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Cargo MCP
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Cargo MCP
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Cargo MCP
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other CRM and automation connectors.
GTM and RevOps Teams
Outbound prospecting agent
Searches Apollo for prospects matching your ICP, scores and ranks them, drafts personalized outreach in Gmail, and logs every send to Google Sheets. Mail goes out as the rep, not from a shared inbox.
GTM and RevOps Teams
CRM AI agent
Reads the Granola transcript after every call, extracts next steps and updates the HubSpot record, drafts the follow-up in Gmail, and confirms in Slack, all on the rep's own delegated OAuth.
Test other agents
See the same per-user auth pattern across other CRM and automation connectors.
SALES
Outbound prospecting agent
Search Apollo for ICP matches, rank them, draft personalised Gmail outreach, and log every send to Google Sheets.
GTM
CRM AI agent
Turn each Granola call transcript into a HubSpot record update, a drafted Gmail follow-up, and a Slack recap.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Cargo token looks fine in a demo. In production every action run and batch looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Cargo today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Cargo as the user or through a shared service account?
As the user. Each user signs in to Cargo once, and Scalekit stores and refreshes their tokens. Audit logs attribute every action run and batch to that user, not a shared service account.
Where is the Cargo OAuth token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. Refresh is automatic. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Cargo?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the model and context tools without cargomcp_execute_action or cargomcp_execute_action_batch, which run actions that can write to your connected CRMs and consume credits. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Cargo access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
How does the agent run bulk work in Cargo?
cargomcp_execute_action_batch runs one action over a whole list, such as enriching a CSV or finding emails for every contact. If the batch is still executing, cargomcp_get_batch reports its status, and cargomcp_get_usage shows credit usage before you run paid actions.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""cargomcp"": {
""url"": ""https://mcp.scalekit.com/cargomcp"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.cargomcp]
url = ""https://mcp.scalekit.com/cargomcp""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""cargomcp"": {
""url"": ""https://mcp.scalekit.com/cargomcp"",
""type"": ""http""
}
}
}