hr
Freshteam MCP Integration for OpenAI Agents SDK
Connect Freshteam to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Freshteam to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Freshteam MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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 OpenAI Agents
OpenAI Agents 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. |