Nutshell MCP server for AI agents

Live

EMAIL AND API KEY

SALES CRM

CRM & Sales

Nutshell gives your agent CRM access in your Nutshell account: list and create leads, contacts, and accounts, log notes, activities, and tasks, move leads between pipelines, and read quotes, invoices, and products.

  • Per-user credentials: each call uses the actual user's email and API key, 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.
Nutshell
agent · Acme Q3
Run
Create a lead for Acme Corp.
S
nutshell_lead_create
610ms
CRM agent
Created the lead for Acme Corp and returned its ID so a follow-up task can be added.
Sources: Nutshell leads, 1 record
nutshell
1 lead
18:29
Message Claude...

Tools your sales crm agent reaches for on Nutshell, scoped per user.

CALL ANY TOOL
60 tools for sales CRM in Nutshell: list and create leads, contacts, and accounts, log notes, activities, and tasks, move leads between pipelines, and read quotes, invoices, and products.
nutshell_account_create
Create account
Create an account (company). Returns the created account in accounts[0]. Use this to add a company. Use nutshell_contact_create for a person.
Parameters
Name
Type
Required
Description
name
string
Required
Company name. Example: Acme Corp.
addresses
array
Optional
Addresses, each with address_1, city, state, postalCode, country and optional name and isPrimary. Example: [{"address_1": "100 Main St", "city": "Ann Arbor", "state": "MI", "postalCode": "48104", "country": "US"}]
custom_fields
object
Optional
Custom field values keyed by custom field name (see nutshell_accounts_list response or the custom field list in Nutshell). Example: {"Favorite Number": "12"}
description
string
Optional
Description. Example: Manufacturing customer in Michigan.
emails
array
Optional
Email addresses, each with value and optional name and isPrimary. Example: [{"value": "jane@acme.com", "name": "work", "isPrimary": true}]
links
object
Optional
Links keyed by resource type, e.g. owners, industry, accountType, tags, contacts. Example: {"owners": ["1-users"], "industry": "4-industries"}
phones
array
Optional
Phone numbers, each with value and optional name (e.g. work, mobile) and isPrimary. Example: [{"value": "555-123-4567", "name": "work", "isPrimary": true}]
urls
array
Optional
Websites, each with value. Example: [{"value": "https://acme.com"}]
nutshell_account_delete
Delete account
nutshell_account_get
Get account
nutshell_account_types_list
List account types
nutshell_account_update
Update account
nutshell_activities_list
List activities
nutshell_activity_update
Update activity
nutshell_audiences_list
List audiences
nutshell_contact_create
Create contact
nutshell_contact_get
Get contact
nutshell_contacts_list
List contacts
nutshell_invoices_list
List invoices
nutshell_lead_delete
Delete lead
nutshell_lead_get
Get lead
nutshell_lead_pipeline_set
Set lead pipeline
nutshell_lead_products_list
List lead products
nutshell_lead_reopen
Lead reopen
nutshell_lead_status_update
Update lead status
nutshell_leads_list
List leads
nutshell_note_create
Create note
nutshell_notes_list
List notes
nutshell_product_categories_list
List product categories
nutshell_product_delete
Delete product
nutshell_product_get
Get product
nutshell_quote_status_update
Update quote status
nutshell_quotes_list
List quotes
nutshell_stages_list
List stages
nutshell_tag_create
Create tag
nutshell_task_get
Get task
nutshell_tasks_list
List tasks

For more tools, view docs.

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);

// Nutshell tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["nutshell"], toolNames: [
    "nutshell_lead_create",
    "nutshell_task_create",
    "nutshell_leads_list"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "List my open leads, create a lead for Acme Corp, and add a follow-up task for Friday" }] });
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: ["nutshell"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "List my open leads, create a lead for Acme Corp, and add a follow-up task for Friday" }],
  tools,
});

// Execute the tool call with the user's vaulted Nutshell email and api key
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: ["nutshell"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "List my open leads, create a lead for Acme Corp, and add a follow-up task for Friday" }],
  tools,
});

// Tool call runs with the user's vaulted Nutshell email and api key
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: ["nutshell"] }, pageSize: 100,
});

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

await agent.run("List my open leads, create a lead for Acme Corp, and add a follow-up task for Friday");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Nutshell tool. Click to copy, paste into your agent, done.
Leads and pipelines
Copy the prompt
Copied
Create a lead for Acme Corp.
Copy the prompt
Copied
List my open leads in the Sales pipeline.
Copy the prompt
Copied
Move this lead to the Enterprise pipeline.
Contacts and accounts
Copy the prompt
Copied
Find the contact jane@example.com.
Copy the prompt
Copied
Create an account for Globex Corporation.
Copy the prompt
Copied
Update the phone number on this contact.
Notes, tasks, and quotes
Copy the prompt
Copied
Add a note to this lead about today's call.
Copy the prompt
Copied
Create a task to follow up with Jane on Friday.
Copy the prompt
Copied
Show the quotes for this lead.
SEE HOW AUTH WORKS
Each user connects their own Nutshell email and API key once, and Scalekit sends them with every call. Credentials stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Nutshell
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
Nutshell
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
Nutshell
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
Nutshell
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 connectors.
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 connectors.
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
One shared Nutshell login looks fine in a demo. In production every lead change 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 login
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Nutshell 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 Nutshell as the user or through a shared login?
As the user. Each user connects their own Nutshell email and API key once, and Scalekit sends them with every call. Audit logs attribute every lead and contact change to that user, not a shared service account.
Where are the Nutshell credentials stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate them, the user reconnects with a new email and API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Nutshell?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the list, get, and create tools without nutshell_lead_delete, nutshell_account_delete, or nutshell_contact_delete. Deleted leads can be restored with undelete and deleted accounts from the trash within 30 days. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Nutshell 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.
Which Nutshell records can the agent read?
Leads, accounts, contacts, activities, notes, tasks, quotes, invoices, and products, each with get and list tools. Reference lists such as nutshell_pipelines_list, nutshell_stages_list, nutshell_sources_list, nutshell_tags_list, and nutshell_users_list help the agent pick valid values before it writes.
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"": {
""nutshell"": {
""url"": ""https://mcp.scalekit.com/nutshell"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.nutshell]
url = ""https://mcp.scalekit.com/nutshell""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""nutshell"": {
""url"": ""https://mcp.scalekit.com/nutshell"",
""type"": ""http""
}
}
}