How to integrate Lusha MCP with Codex

Connect Codex to Lusha MCP. Enrich prospects from target company list, find verified emails for sales leads, and more using natural language, with authentication handled for you.

Lusha logoLusha
Api Key

Lusha is a B2B contact enrichment and prospecting platform for verified emails, phone numbers, and company data. It helps sales and go-to-market teams find accurate lead information faster.

67 Tools

Introduction

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With the Lusha MCP integration, Codex can enrich contacts and companies, prospect new leads, track company signals, score contacts by ICP fit, and find lookalikes, all without leaving the terminal or the app, whichever you prefer.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Lusha with

Why use Composio?

Apart from a managed and hosted MCP server, you will get:

  • CodeAct: A dedicated workbench that allows GPT to write its code to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
  • Large tool responses: Handle them to minimise context rot.
  • Dynamic just-in-time access to 20,000 tools across 2000+ other Apps for cross-app workflows. It loads the tools you need, so GPTs aren't overwhelmed by tools you don't need.

How to install Lusha MCP in Codex

Run the setup command

Run this command in your terminal to add the Composio MCP server to Codex.

Terminal

It will initiate the authentication in a browser window, authorize Codex to access your Composio account.

Composio authentication page

(Optional) Authenticate with OAuth

To authenticate manually, run the login command to open a browser window and authorize Codex to access your Composio account.

bash
codex mcp login composio

Verify the connection

Run codex mcp list to confirm Composio appears as a registered MCP server.

bash
codex mcp list

Codex App

Codex App follows the same approach as VS Code.

  1. Click ⚙️ on the bottom left → MCP Servers → + Add servers → Streamable HTTP:
  2. Fill the header and Key fields with { "x-consumer-api-key" = "ck_*******" }.
  3. The Key is the Composio API key, that you can find on dashboard.composio.dev
  4. Click on Authenticate and authorize Codex to your Composio account and you're all set.
Codex App MCP setup
  1. Restart and verify if it's there in .codex/config.toml
bash
[mcp_servers.composio]
url = "https://connect.composio.dev/mcp"
http_headers = { "x-consumer-api-key" = "ck_*******" }

Try it

Ask Codex for a Lusha task. The first time, Composio asks you to connect your Lusha account.

For example, ask it to:

  • "Enrich prospects from target company list"
  • "Find verified emails for sales leads"
  • "Get phone numbers for decision-makers"

What is the Lusha MCP server, and what's possible with it?

The Lusha MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Lusha account. It provides structured and secure access to your webhook subscriptions and audit activity, so your agent can create, review, update, and delete subscriptions, and monitor account activity on your behalf.

  • Webhook subscription setup: Have your agent create one or more webhook subscriptions for the real-time signal notifications you want to receive.
  • Subscription review: Let the agent list your webhook subscriptions and retrieve the details of a specific subscription.
  • Subscription updates: Direct your agent to change an existing webhook subscription when your notification needs evolve.
  • Subscription cleanup: Instruct your agent to delete webhook subscriptions that your team no longer uses.
  • Account activity monitoring: Have your agent review audit logs and aggregated statistics covering API calls and webhook deliveries.

Conclusion

You've successfully integrated Lusha with Codex using Composio's MCP server. Now you can interact with Lusha directly from your terminal, VS Code, or the Codex App using natural language commands.

Key benefits of this setup:

  • Seamless integration across CLI, VS Code, and standalone app
  • Natural language commands for Lusha operations
  • Managed authentication through Composio
  • Access to 20,000+ tools across 2000+ apps for cross-app workflows
  • CodeAct workbench for complex tool chaining

Next steps:

  • Try asking Codex to perform various Lusha operations
  • Explore cross-app workflows by connecting more toolkits
  • Build automation scripts that leverage Codex's AI capabilities
TOOLS

Supported Tools

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

Add Entities to Companies Table

Add Lusha companies to an existing companies table.

Add Columns to Contacts Table

Add contacts-table columns using exactly one of columns or columnKey; added columns populate asynchronously.

Add Entities to Contacts Table

Add up to 500 contacts to an existing table.

Create Companies Table

Create a companies table, optionally seeded with Lusha company IDs.

Create Contacts Table

Create a contacts table, optionally seeded with contact IDs.

Create Opt-Out Subscription

Create a webhook subscription for contact opt-out notifications.

Create Subscription

Create up to 25 webhook subscriptions per request for real-time Lusha signal notifications, such as contact job changes or company updates.

Delete Companies Table

Permanently delete a companies table and its table data.

Delete Contacts Table

Permanently delete a contacts table and all of its data.

Delete Subscriptions

Delete up to 25 webhook subscriptions by ID in one request and return a summary of successful and failed attempts.

Enrich Companies

Reveal company data and optionally persist results to a companies table.

Enrich Contacts

Reveal contact data, optionally using BYOK Data Waterfall providers.

Find Buying Group Contacts

Identify and score buying-group contacts within target companies.

Get Account Usage

Retrieve the connected Lusha account's usage, limits, plan, and pricing.

Get Audit Logs

Retrieve account audit logs for API calls and webhook deliveries to review delivery status, errors, and performance metrics.

Get Audit Log Stats

Retrieve aggregated audit-log delivery statistics, including total, successful and failed counts and success rate, optionally filtered by subscription ID.

Get Companies Table

Get a companies table's metadata, status, counts, and columns.

Get Companies Table Entities

Read a page of company rows and column values from a table.

Get Company Filter Values

Retrieve valid values for one Lusha company prospecting filter.

Get Company ICP Fit Scores

Score companies against the connected user's Target Profiles.

Get Company Lookalikes

Find similar companies and optionally persist them to a companies table.

Get Company Recommendations

Return companies ranked for the user by Target Profiles and recent signals.

Get Company Signal Filter Values

Retrieve valid values for one company signal filter.

Get Company Signals

Get company signals and optionally persist results to a companies table.

Get Company Signal Scores

Score companies by active buying signals.

Get Contact Filter Values

Retrieve valid values for one contact prospecting filter.

Score Contacts by ICP Fit

Score contacts against user-owned or shared Lusha Target Profiles.

Contact Lookalikes

Find similar contacts and optionally persist them to a contacts table.

Contact Recommendations

Return a user's contacts ranked against Target Profiles and recent signals.

Get Contacts Enrich Job

Poll one async contact Data Waterfall job without incurring a polling charge.

Contact Signals

Get contact signals and optionally persist results to a contacts table.

Score Contacts by Signal Activity

Score contacts from zero to one by their active buying signals.

Get Contacts Table

Get a contacts table's metadata, entity count, processing status, and columns with row-status counts.

Get Contacts Table Entities

Read one page of contacts and column values from a table.

Get Conversation Transcript

Fetch the speaker-attributed transcript for one conversation.

Get Subscription

Retrieve a webhook subscription by ID, including its status, configuration, and entity details.

Get Website Visits

Return companies ranked by visits to the connected user's tracked sites.

List Companies Column Catalog

List Lusha columns that can be added to a companies table.

List Companies Tables

List company tables visible to the resolved owner.

List Company Filter Types

List company prospecting filters and their query requirements.

List Company Recommendation Filters

List Target Profiles and signals available to company recommendations.

List Company Signal Filters

List company signal filters and their query requirements.

List Company Signal Types

List all supported company signal types.

List Contact Filter Types

Discover contact prospecting filter types and their query requirements.

List Contact Recommendation Filters

List the Target Profiles and signals available to the current user's recommendations.

List Contacts Column Catalog

List the Lusha columns available to add to a contacts table.

List Contact Signal Types

Return every contact signal type supported by Lusha.

List Contacts Table Columns

List a contacts table's columns and per-cell status counts.

List Contacts Tables

List contacts tables visible to an owner.

List Target Profiles

List Target Profiles available to the connected Lusha user.

List Subscriptions

List account webhook subscriptions with pagination to review their settings and active status.

Populate Companies Table Column

Asynchronously populate or refresh one companies-table column across selected rows.

Populate Contacts Table Column

Asynchronously populate or refresh one contacts-table column.

Prospect Companies

Find matching companies and optionally persist them to a companies table.

Prospect Contacts

Search Lusha contacts by ICP filters and return one page of previews.

Remove Column from Companies Table

Remove a non-default companies-table column and delete its cell data.

Remove Entities from Companies Table

Remove company rows from a companies table.

Remove Column from Contacts Table

Remove a non-default column and its cell data from a contacts table.

Remove Entities from Contacts Table

Remove specific contacts from a table.

Search and Enrich Companies

Find companies and reveal requested enrichment fields in one request.

Search and Enrich Contacts

Find contacts from known identifiers and reveal their contact data.

Search Companies

Find company previews from known identifiers, optionally including signals.

Search Contacts

Find contact previews from known identifiers before enrichment.

Search Conversations

Search processed Lusha sales conversations by transcript or filters.

Update Companies Table

Rename, archive, restore, or change visibility for a companies table.

Update Contacts Table

Rename, archive, restore, or change the visibility of a contacts table.

Update Subscription

Update a webhook subscription's name, URL, active status, or signal types, or regenerate its secret.

FRAMEWORKS

How to build Lusha MCP Agent with another framework

FAQ

Frequently asked questions

Start with Lusha.It takes 30 seconds.

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

Start building