KosmoKrator

productivity

Pipedrive MCP Integration for LangChain

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

7 functions 6 read 1 write API token auth

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

Pipedrive MCP Config for LangChain

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Pipedrive Tools Visible to LangChain

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

MCP toolSource functionTypeDescription
integration__pipedrive__pipedrive_create_deal pipedrive.pipedrive_create_deal Write Create a new deal in Pipedrive. Provide a title and optionally set value, currency, person, organization, stage, and other deal fields.
integration__pipedrive__pipedrive_get_current_user pipedrive.pipedrive_get_current_user Read Get the profile of the currently authenticated Pipedrive user — name, email, company, timezone, and other account details.
integration__pipedrive__pipedrive_get_deal pipedrive.pipedrive_get_deal Read Get full details for a single deal in Pipedrive, including value, stage, person, organization, and custom fields.
integration__pipedrive__pipedrive_get_person pipedrive.pipedrive_get_person Read Get full details for a single person (contact) in Pipedrive, including email, phone, organization, and custom fields.
integration__pipedrive__pipedrive_list_deals pipedrive.pipedrive_list_deals Read List deals in Pipedrive with optional filters for user, person, organization, and status. Returns a paginated list of deals with key details.
integration__pipedrive__pipedrive_list_organizations pipedrive.pipedrive_list_organizations Read List organizations in Pipedrive. Returns a paginated list with name, address, owner, and other details.
integration__pipedrive__pipedrive_list_persons pipedrive.pipedrive_list_persons Read List persons (contacts) in Pipedrive. Returns a paginated list with name, email, phone, organization, and owner details.

Related Pipedrive Pages