sales
Freshworks CRM MCP Integration for Vercel AI SDK
Connect Freshworks CRM to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Freshworks CRM to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
Freshworks CRM MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"mcpServers": {
"kosmokrator-freshworks_crm": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=freshworks_crm",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=freshworks_crm --write=deny Why Use KosmoKrator Here
Expose only Freshworks CRM instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Freshworks CRM Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the Freshworks CRM integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__freshworks_crm__freshworks_crm_list_contacts | freshworks_crm.freshworks_crm_list_contacts | Read | List contacts in Freshworks CRM. Returns paginated results with contact details including name, email, phone, and company. |
integration__freshworks_crm__freshworks_crm_get_contact | freshworks_crm.freshworks_crm_get_contact | Read | Get a single contact from Freshworks CRM by ID. Returns full contact details including custom fields. |
integration__freshworks_crm__freshworks_crm_create_contact | freshworks_crm.freshworks_crm_create_contact | Write | Create a new contact in Freshworks CRM. Provide at least a first name or last name. Email and mobile number are optional. |
integration__freshworks_crm__freshworks_crm_list_deals | freshworks_crm.freshworks_crm_list_deals | Read | List deals in Freshworks CRM. Returns paginated results with deal details. Optionally filter by deal stage. |
integration__freshworks_crm__freshworks_crm_get_deal | freshworks_crm.freshworks_crm_get_deal | Read | Get a single deal from Freshworks CRM by ID. Returns full deal details including amount, stage, associated contacts, and custom fields. |
integration__freshworks_crm__freshworks_crm_list_accounts | freshworks_crm.freshworks_crm_list_accounts | Read | List sales accounts in Freshworks CRM. Returns paginated results with account details including name, domain, and industry. |
integration__freshworks_crm__freshworks_crm_get_current_user | freshworks_crm.freshworks_crm_get_current_user | Read | Get the currently authenticated Freshworks CRM user. Useful for verifying credentials and understanding whose context the agent is operating in. |