KosmoKrator

sales

Apollo.io MCP Integration for Vercel AI SDK

Connect Apollo.io to Vercel AI SDK 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 Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Apollo.io MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "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 Vercel AI SDK

Vercel AI SDK 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