hr
Freshteam MCP Integration for Vercel AI SDK
Connect Freshteam to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Freshteam 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.
Freshteam MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"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 Vercel AI SDK
Vercel AI SDK 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. |