KosmoKrator

sales

Apollo.io MCP Integration for LangChain

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

6 functions 6 read 0 write API key auth

Connect Apollo.io 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.

Apollo.io MCP Config for LangChain

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

Expose only Apollo.io 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.

Apollo.io Tools Visible to LangChain

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

MCP toolSource functionTypeDescription
integration__apollo__apollo_search_contacts apollo.apollo_search_contacts Read Search for people in Apollo by name, email, or keyword. Returns a paginated list of contacts with profile details including name, title, company, email, phone, and social profiles.
integration__apollo__apollo_get_contact apollo.apollo_get_contact Read Retrieve full details for a specific contact in Apollo by their person ID. Returns comprehensive profile data including employment history, emails, phone numbers, and social profiles.
integration__apollo__apollo_enrich apollo.apollo_enrich Read Enrich a contact by matching on email address and/or name. Returns enriched profile data including title, company, social profiles, and contact details. Provide at least an email or a name.
integration__apollo__apollo_list_organizations apollo.apollo_list_organizations Read List organizations from your Apollo account. Returns paginated results with company details including name, website, industry, employee count, and revenue.
integration__apollo__apollo_get_organization apollo.apollo_get_organization Read Retrieve full details for a specific organization in Apollo by its ID. Returns comprehensive company data including industry, employee count, revenue, tech stack, locations, and key contacts.
integration__apollo__apollo_get_current_user apollo.apollo_get_current_user Read Retrieve the authenticated Apollo user's profile. Returns account information including name, email, plan type, and credit usage.

Related Apollo.io Pages