KosmoKrator

hr

Freshteam MCP Integration for Claude Agent SDK

Connect Freshteam to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect Freshteam to Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

Freshteam MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "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

Scoped tools

Expose only Freshteam instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Freshteam Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the Freshteam integration catalog.

MCP toolSource functionTypeDescription
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.

Related Freshteam Pages