KosmoKrator

hr

Ashby MCP Integration for LangChain

Connect Ashby to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect Ashby 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.

Ashby MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

{
  "mcpServers": {
    "kosmokrator-ashby": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=ashby",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=ashby --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Ashby 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.

Ashby Tools Visible to LangChain

LangChain sees stable MCP tool names generated from the Ashby integration catalog.

MCP toolSource functionTypeDescription
integration__ashby__ashby_get_application ashby.ashby_get_application Read Get detailed information about a specific job application in Ashby, including candidate details, status, and evaluation data.
integration__ashby__ashby_get_current_user ashby.ashby_get_current_user Read Get the profile of the currently authenticated Ashby user. Use this to verify API access and see user details.
integration__ashby__ashby_get_interview ashby.ashby_get_interview Read Get detailed information about a specific interview in Ashby, including scheduled time, interviewers, feedback, and scorecards.
integration__ashby__ashby_get_job ashby.ashby_get_job Read Get detailed information about a specific job in Ashby, including full description, requirements, compensation, and hiring team.
integration__ashby__ashby_list_applications ashby.ashby_list_applications Read List job applications in Ashby. Returns applications with candidate info, status, and associated job. Use filters to narrow by job or status.
integration__ashby__ashby_list_interviews ashby.ashby_list_interviews Read List scheduled interviews in Ashby. Returns interview details with date, time, interviewers, and associated application. Filter by application to see interviews for a specific candidate.
integration__ashby__ashby_list_jobs ashby.ashby_list_jobs Read List job postings in Ashby. Returns open and closed positions with department, location, and application count. Filter by status to find active openings.

Related Ashby Pages