hr
Freshteam MCP Integration for LangChain
Connect Freshteam to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Freshteam 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.
Freshteam MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-freshteam": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=freshteam",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=freshteam --write=deny Why Use KosmoKrator Here
Expose only Freshteam 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.
Freshteam Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Freshteam integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__freshteam__freshteam_list_candidates | freshteam.freshteam_list_candidates | Read | List recruitment candidates from Freshteam. Returns paginated candidate records with optional filtering by status. |
integration__freshteam__freshteam_get_candidate | freshteam.freshteam_get_candidate | Read | Retrieve detailed information about a specific candidate in Freshteam by their ID. |
integration__freshteam__freshteam_list_job_postings | freshteam.freshteam_list_job_postings | Read | List job postings from Freshteam. Returns paginated job records with optional filtering by status and department. |
integration__freshteam__freshteam_get_job_posting | freshteam.freshteam_get_job_posting | Read | Retrieve detailed information about a specific job posting in Freshteam by its ID. |
integration__freshteam__freshteam_list_employees | freshteam.freshteam_list_employees | Read | List employees from Freshteam. Returns paginated employee records with optional filtering by department. |
integration__freshteam__freshteam_get_employee | freshteam.freshteam_get_employee | Read | Retrieve detailed information about a specific employee in Freshteam by their ID. |
integration__freshteam__freshteam_get_current_user | freshteam.freshteam_get_current_user | Read | Retrieve the profile of the currently authenticated Freshteam user. Useful for verifying the connection and identifying which account is active. |