How to integrate Apollo MCP with Grok Build

Connect Grok Build to Apollo MCP. Bulk enrich profiles for new leads, add contacts to outreach sequence now, and more from your terminal, with authentication handled for you.

Apollo logoApollo
Api Key

Apollo is a CRM and lead generation platform that helps businesses discover contacts and manage sales pipelines. Use it to streamline customer outreach and track your deals from one place.

48 Tools

How to integrate Apollo MCP with Grok Build

Grok Build is xAI's terminal coding agent. It runs on Grok 4.5, plans its work before it acts, and can run multiple sub-agents in parallel. It also reads Claude Code's MCP configuration, so any server you already have in a .mcp.json is picked up with no changes.

In this guide, I will show you how to connect your Apollo account to Grok Build through Composio, so it can bulk enrich profiles for new leads, add contacts to outreach sequence now, create a new sales deal for Acme, and more without leaving the terminal. Composio holds the OAuth tokens for you, and Grok Build only calls the tools you approve.

Also integrate Apollo with

Why use Composio over a standalone MCP server?

  • Read and write access. Composio's Apollo integration lets Grok Build take real actions like creating drafts, sending updates, and labeling records, not just reading data.
  • 1,000+ SaaS toolkits out of the box. One endpoint gives you a full catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
  • One MCP server for every app. Wire up a single Composio server instead of maintaining a separate MCP entry for each app.
  • Smart, context-aware tool loading. Grok Build caps how many tools it holds in a single request. Composio loads only the tools a task needs, so you do not spend that budget on tools you are not using.
  • Cross-app automation. Chain actions across apps in one run. Pull a thread, summarize it in Notion, and post the highlights to Slack from a single prompt.

Prerequisites

  • Grok Build installed and signed in. Install with curl -fsSL https://x.ai/cli/install.sh | bash on macOS or Linux, or irm https://x.ai/cli/install.ps1 | iex on Windows PowerShell. On first launch Grok opens a browser to authenticate; for headless or CI use, set an XAI_API_KEY environment variable instead (create the key at console.x.ai).
  • Access to the Apollo account you want to connect.
  • The Composio MCP endpoint. Composio's server is remote and hosted, so there is nothing to run locally and no tunnel to set up.

Step-by-step: Connect Apollo to Grok Build

1. Install and verify Grok Build

Install the CLI, then restart your shell so the grok binary lands on your PATH:

bash
curl -fsSL https://x.ai/cli/install.sh | bash
which grok

On Windows, install with PowerShell instead: irm https://x.ai/cli/install.ps1 | iex. If which grok returns a path, you are set. Grok Build runs on Grok 4.5 by default; you can switch models inside the session with /model <name>.

2. Add the Composio server

Add Composio as a remote HTTP MCP server with the grok mcp add command:

bash
grok mcp add --transport http composio https://connect.composio.dev/mcp

You can also add and manage servers from inside a session. Run /mcps to open the extensions modal on the MCP tab, then add a new server and paste the Composio URL. Added this way, Grok auto-detects the name from the URL and lists the server as connect:

bash
https://connect.composio.dev/mcp
Grok Build /mcps extensions modal listing MCP servers Grok Build adding the Composio MCP server with its URL

Grok also reads Claude Code-style config, so an entry in ~/.grok/config.toml or a project .mcp.json works the same way.

3. Authenticate

Composio uses OAuth. In the /mcps modal, select the Composio server and press i to authenticate (Grok also triggers this browser flow automatically the first time it uses a Composio tool). Click Allow to authorize access. Grok stores the tokens under ~/.grok/mcp_credentials.json, and /mcps shows Composio as connected.

Grok Build prompting to authenticate the Composio MCP server Composio authorization screen with the Allow button for Grok Build

4. Start building

Ask Grok to work with your Apollo account through Composio. On the first Apollo action, Composio prompts you to connect the account through OAuth. Approve the scopes once, and Composio handles token refresh from there.

What you can do after connecting Apollo

  • Bulk enrich profiles for new leads
  • Add contacts to outreach sequence now
  • Create a new sales deal for Acme
  • List all opportunity stages in pipeline

Security + privacy notes (important)

  • Use least-privilege access. Grant only the Apollo scopes you actually need.
  • Review OAuth scopes before approving. Check that the requested scopes match what you expect Composio and Grok Build to do.
  • Keep write actions human-reviewed. Grok Build proposes a plan before it acts. Leave that approval step on for actions like sending messages or editing records.
  • Keep secrets out of version control. Your XAI_API_KEY and any tokens should never be committed. Use environment variables or a secrets manager.
TOOLS

Supported Tools

Every Apollo action and event your agent gets out of the box.

Add Contacts to Sequence

Adds contacts to a specified Apollo email sequence and returns the contact details.

Bulk organization enrichment

Enriches data for up to 10 organizations simultaneously by providing a list of their base company domains (e.

Bulk people enrichment

Use to enrich multiple person profiles simultaneously with comprehensive data from Apollo's database.

Bulk update account stage

Bulk updates the stage for specified existing Apollo.

Create an Apollo account

Creates a new account in Apollo.

Bulk create Apollo accounts

Creates multiple accounts in Apollo.

Bulk create Apollo contacts

Tool to bulk create multiple contacts in Apollo with a single API call.

Create call record in Apollo

Tool to log call records in Apollo from external systems.

Create Apollo contact

Creates a new contact in Apollo.

Create custom field

Creates a new custom field in Apollo.

Create Apollo deal

Creates a new sales opportunity (deal) in Apollo.

Create Apollo Task

Tool to create a single task in Apollo.

Get Account by ID

Tool to retrieve detailed information about a specific account by its Apollo ID.

Check Apollo API key status

Tool to check whether the provided Apollo API key is valid and accepted by Apollo (health/auth check).

Get Apollo Contact

Retrieves detailed information about a specific contact by its ID.

Get Apollo deal

Retrieves information about a specific deal by its ID.

Get Labels

Retrieves all labels from Apollo.

Get opportunity stages

Retrieves all configured opportunity (deal) stages from the Apollo.

Get Organization by ID

Retrieves complete information about a specific organization by its Apollo ID.

Get Organization Job Postings

Retrieves paginated job postings for a specified organization by its ID, optionally filtering by domain; ensure `organization_id` is a valid identifier.

Get typed custom fields

Retrieves all typed custom field definitions available in the Apollo.

List Apollo account stages

Retrieves the IDs for all available account stages in your team's Apollo account.

List apollo contact stages

Retrieves all available contact stages from an Apollo account, including their unique IDs and names.

List Apollo deals

Retrieves a list of deals from Apollo, using Apollo's default sort order if 'sort_by_field' is omitted.

List email accounts

Retrieves all email accounts and their details for the authenticated user; takes no parameters.

List Fields

Retrieves all field definitions from Apollo.

List Apollo Users

Retrieves a list of all users (teammates) associated with the Apollo account, supporting pagination via `page` and `per_page` parameters.

Enrich organization data

Fetches comprehensive organization enrichment data from Apollo.

Search organizations in Apollo

Searches Apollo's database for organizations using various filters; consumes credits on every call (unavailable on free plans) — avoid re-running identical queries and surface quota errors rather than retrying.

Enrich person with Apollo

Enriches and retrieves information for a person from Apollo.

Apollo people search

Searches Apollo's contact database for people using various filters; results capped at 50,000 records and does not enrich contact data.

Search Apollo Accounts

Searches for accounts within your existing Apollo.

Search for Calls

Searches for call records in Apollo.

Search Apollo contacts

Searches Apollo contacts using keywords, stage IDs (from 'List Contact Stages' action), or sorting (max 50,000 records; `sort_ascending` requires `sort_by_field`).

Search news articles

Tool to search for news articles about companies in Apollo's database.

Search outreach emails

Tool to search for outreach emails sent through Apollo sequences.

Search sequences

Searches for sequences (e.

Search tasks

Searches for tasks in Apollo.

Update an Apollo account

Updates specified attributes of an existing account in Apollo.

Update account ownership

Updates the ownership of multiple Apollo accounts to a specified user.

Update Apollo call record

Tool to update an existing call record in Apollo.

Update Apollo contact details

Tool to update an existing contact's information in Apollo.

Update contact ownership

Updates the ownership of specified Apollo contacts to a given Apollo user, who must be part of the same team.

Bulk update Apollo contacts

Tool to bulk update multiple Apollo contacts with a single API call.

Update contact stage

Updates the stage for one or more existing contacts in Apollo.

Update contact status in sequence

Updates a contact's status within a designated Apollo sequence, but cannot set the status to 'active'.

Update Apollo deal

Updates specified fields of an existing Apollo.

View API Usage Stats

Fetches Apollo API usage statistics and rate limits for the connected team.

FAQ

Frequently asked questions

A standalone Apollo MCP server gives Grok Build a fixed set of Apollo tools tied to that one server. The Composio Tool Router lets Grok Build load tools from Apollo and many other apps on demand, based on the task, all through a single endpoint.

Yes. Grok Build ships with native MCP support. Add a server with the grok mcp add command, from the in-session /mcps modal, or by editing ~/.grok/config.toml. It also reads Claude Code-style .mcp.json files, so Grok Build discovers the tools automatically.

Yes. Grok Build has zero-migration compatibility with Claude Code's configuration, so the same Composio server entry works in both without edits.

Tokens, keys, and configuration are encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant, so your Apollo data and credentials are handled to that standard.

Start with Apollo.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Apollo tool your agent needs.Free to start.

Start building