Freshsales MCP server for AI agents

Live

API KEY

CRM

CRM & Sales

Freshsales gives your agent your Freshsales CRM: search and read contacts, accounts, deals, appointments, tasks, and activities, and create and update them, including notes.

  • Per-user credentials: each call uses the actual user's 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.
Freshsales
agent · Acme Q3
Run
Find the Acme deal and show its stage and amount.
S
freshsales_search
201ms
CRM agent
Found the Acme renewal deal at the negotiation stage with an amount of 18,000.
Sources: Freshsales deal, 1 match
freshsales
1 deal
18:29
Message Claude...

Tools your CRM agent reaches for on Freshsales, scoped per user.

CALL ANY TOOL
30 tools for CRM in Freshsales: search and read contacts, accounts, and deals, create and update records, schedule appointments, and log notes and tasks.
freshsales_appointment_create
Create appointment
Schedule an appointment (meeting) in Freshsales, optionally linked to a contact, account or deal and with attendees. Returns the new appointment with its id. Use freshsales_appointment_update to reschedule an existing appointment.
Parameters
Name
Type
Required
Description
end_date
string
Required
End of the appointment as an ISO 8601 datetime (or a date for an all-day appointment). Example: 2026-11-20T15:30:00Z.
from_date
string
Required
Start of the appointment as an ISO 8601 datetime (or a date for an all-day appointment). Example: 2026-11-20T15:00:00Z.
title
string
Required
Title of the appointment. Example: Product demo with Acme.
attendee_contact_ids
array
Optional
IDs of contacts to invite. Example: [16000123456].
attendee_user_ids
array
Optional
IDs of Freshsales users to invite. Get user IDs from freshsales_owners_list. Example: [16000012345].
description
string
Optional
Agenda or details of the appointment. Example: Walk through the reporting module.
is_allday
boolean
Optional
Set to true for an all-day appointment; then from_date and end_date are dates. Example: false.
location
string
Optional
Where the appointment takes place. Example: Zoom.
outcome_id
integer
Optional
ID of the outcome. Get valid IDs from freshsales_selector_options_list with selector sales_activity_outcomes. Example: 16000000123.
targetable_id
integer
Optional
ID of the contact, account or deal the appointment is linked to, matching targetable_type. Example: 16000123456.
targetable_type
string
Optional
Type of record the appointment is linked to: Contact, SalesAccount (an account) or Deal. Example: Contact. One of: `Contact`, `SalesAccount`, `Deal`.
time_zone
string
Optional
Time zone the appointment is scheduled in, as a Rails time zone name. Example: Pacific Time (US & Canada).
freshsales_appointment_get
Get appointment
freshsales_appointment_update
Update appointment
freshsales_appointments_list
List appointments
freshsales_contact_create
Create contact
freshsales_contact_get
Get contact
freshsales_contact_update
Update contact
freshsales_contacts_list
List contacts
freshsales_deal_create
Create deal
freshsales_deal_get
Get deal
freshsales_deal_update
Update deal
freshsales_deals_list
List deals
freshsales_lookup
Lookup
freshsales_note_create
Create note
freshsales_owners_list
List owners
freshsales_sales_account_create
Create sales account
freshsales_sales_account_get
Get sales account
freshsales_sales_account_update
Update sales account
freshsales_sales_accounts_list
List sales accounts
freshsales_sales_activities_list
List sales activities
freshsales_sales_activity_create
Create sales activity
freshsales_sales_activity_get
Get sales activity
freshsales_sales_activity_update
Update sales activity
freshsales_search
Search
freshsales_selector_options_list
List selector options
freshsales_task_create
Create task
freshsales_task_get
Get task
freshsales_task_update
Update task
freshsales_tasks_list
List tasks
freshsales_views_list
List views
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);

// Freshsales tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["freshsales"], toolNames: [
    "freshsales_search",
    "freshsales_deal_get",
    "freshsales_deal_update"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Find the Acme deal, show its stage and amount, and move it to the next stage" }] });
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: ["freshsales"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Find the Acme deal, show its stage and amount, and move it to the next stage" }],
  tools,
});

// Execute the tool call with the user's vaulted Freshsales 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: ["freshsales"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Find the Acme deal, show its stage and amount, and move it to the next stage" }],
  tools,
});

// Tool call runs with the user's vaulted Freshsales 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: ["freshsales"] }, pageSize: 100,
});

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

await agent.run("Find the Acme deal, show its stage and amount, and move it to the next stage");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Freshsales tool. Click to copy, paste into your agent, done.
Find records
Copy the prompt
Copied
Search Freshsales for contacts named Priya.
Copy the prompt
Copied
Look up the contact with this exact email.
Copy the prompt
Copied
List the deals in my open deals view.
Create and update
Copy the prompt
Copied
Create a deal for this account.
Copy the prompt
Copied
Move this deal to the next stage.
Copy the prompt
Copied
Add a note to this contact.
Tasks and meetings
Copy the prompt
Copied
List my open tasks.
Copy the prompt
Copied
Schedule an appointment with this contact tomorrow at 10.
Copy the prompt
Copied
Log a call as a sales activity on this deal.
SEE HOW AUTH WORKS
Each user connects their own Freshsales API key once, and Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Freshsales
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
Freshsales
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
Freshsales
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
Freshsales
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 sales 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.
GTM and RevOps Teams
Deal intelligence agent
Pulls recent Gong calls, scores deal risk with an LLM, cross-references the record in Attio, and DMs each owner their at-risk deals in Slack. Every read is scoped to that rep's own access.
Test other agents
See the same per-user auth pattern across other CRM and sales connectors.
GTM
CRM AI agent
Turn each Granola call transcript into a HubSpot record update, a drafted Gmail follow-up, and a Slack recap.
SALES
Deal intelligence agent
Score Gong call risk with an LLM, cross-reference the Attio record, and DM each owner their at-risk deals in Slack.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Freshsales API key looks fine in a demo. In production every deal and contact 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 key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Freshsales 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 Freshsales as the user or through a shared API key?
As the user. Each user connects their own Freshsales API key once, and Scalekit sends it with every call. Every deal and contact change in your audit trail is attributed to that user, not a shared service account.
Where is the Freshsales API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new 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 Freshsales?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the search and get tools without the create and update tools such as freshsales_deal_update. None of the 30 tools deletes anything. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Freshsales 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.
Can the agent delete Freshsales records?
No. None of the 30 tools deletes anything. The write tools create and update contacts, accounts, deals, appointments, tasks, and sales activities, and freshsales_note_create adds notes.
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"": {
""freshsales"": {
""url"": ""https://mcp.scalekit.com/freshsales"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.freshsales]
url = ""https://mcp.scalekit.com/freshsales""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""freshsales"": {
""url"": ""https://mcp.scalekit.com/freshsales"",
""type"": ""http""
}
}
}