sales
Freshworks CRM MCP Integration for LangChain
Connect Freshworks CRM to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Freshworks CRM to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Freshworks CRM MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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 LangChain
LangChain 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. |