# How to integrate Instantly MCP with Codex

```json
{
  "title": "How to integrate Instantly MCP with Codex",
  "toolkit": "Instantly",
  "toolkit_slug": "instantly",
  "framework": "Codex",
  "framework_slug": "codex",
  "url": "https://composio.dev/toolkits/instantly/framework/codex",
  "markdown_url": "https://composio.dev/toolkits/instantly/framework/codex.md",
  "updated_at": "2026-05-06T08:16:41.601Z"
}
```

## Introduction

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With Instantly MCP integration, you can draft, triage, summarise emails, and much more, all without leaving the terminal or the app, whichever you prefer.

## Also integrate Instantly with

- [OpenAI Agents SDK](https://composio.dev/toolkits/instantly/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/instantly/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/instantly/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/instantly/framework/claude-cowork)
- [OpenClaw](https://composio.dev/toolkits/instantly/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/instantly/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/instantly/framework/cli)
- [Google ADK](https://composio.dev/toolkits/instantly/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/instantly/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/instantly/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/instantly/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/instantly/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/instantly/framework/crew-ai)

## TL;DR

### 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 870+ other Apps for cross-app workflows. It loads the tools you need, so GPTs aren't overwhelmed by tools you don't need.

## Connect Instantly to Codex

### How to install Instantly MCP in Codex
### Run the setup command
Run this command in your terminal to add the Composio MCP server to Codex.

```bash
codex mcp add composio --url https://connect.composio.dev/mcp
```

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

The Instantly MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Instantly account. It provides structured and secure access to your campaigns, leads, and outreach tools, so your agent can perform actions like launching new campaigns, managing leads, tracking inbox statistics, and handling API credentials on your behalf.
- Automated campaign creation and management: Ask your agent to launch new cold email campaigns or update existing ones, streamlining your outreach workflow without manual setup.
- Lead and lead list management: Let your agent add new leads, organize them into lists, or enrich them with AI-driven insights to maximize your campaign effectiveness.
- Email verification and deliverability tracking: Direct your agent to check the verification status of email addresses or run inbox placement tests to monitor and improve deliverability across providers.
- Inbox activity monitoring: Fetch unread email counts or campaign engagement metrics, helping you stay on top of your outreach performance in real time.
- API key and webhook automation: Have your agent create or delete API keys for secure integrations, or set up webhooks to receive instant notifications about important Instantly events.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `INSTANTLY_CHECK_EMAIL_VERIFICATION_STATUS` | Check Email Verification Status | Tool to check status of an email verification job. Use after submitting a verification request to retrieve the current status of a specific email address. |
| `INSTANTLY_COUNT_UNREAD_EMAILS` | Count Unread Emails | Tool to retrieve the count of unread emails. Use when you need to know how many unread messages are in your inbox before sending new emails. |
| `INSTANTLY_CREATE_AI_ENRICHMENT` | Create AI Enrichment | Tool to create an AI enrichment job for a campaign or lead list. Use when you need to enrich a resource with AI-driven insights. |
| `INSTANTLY_CREATE_API_KEY` | Create API Key | Tool to create a new API key. Use when you need to generate credentials for programmatic access to the Instantly API. |
| `INSTANTLY_CREATE_CAMPAIGN` | Create Campaign | Tool to create a new campaign. Use when you have campaign details ready and want to launch. |
| `INSTANTLY_CREATE_INBOX_PLACEMENT_TEST` | Create Inbox Placement Test | Tool to create an inbox placement test. Use when you need to measure deliverability across providers with your prepared email and recipient list. |
| `INSTANTLY_CREATE_LEAD` | Create Lead | Tool to create a new lead. Use when you need to add an individual lead to a campaign. |
| `INSTANTLY_CREATE_LEAD_LIST` | Create Lead List | Tool to create a new lead list. Use when you need to organize leads into a dedicated list before importing them into campaigns. |
| `INSTANTLY_CREATE_WEBHOOK` | Create Webhook | Tool to create a new webhook endpoint. Use when you need to receive Instantly event notifications via HTTP callbacks. |
| `INSTANTLY_DELETE_API_KEY` | Delete API Key | Tool to delete an API key. Use when you need to remove a specific API key by its ID after confirming its existence. |
| `INSTANTLY_DELETE_CAMPAIGN` | Delete Campaign | Tool to delete a campaign. Use when you need to remove a specific campaign by ID. |
| `INSTANTLY_DELETE_LEAD` | Delete Lead | Tool to delete a lead by its ID. Use when you need to remove a specific lead after confirming its existence. |
| `INSTANTLY_DELETE_LEAD_LIST` | Delete Lead List | Tool to delete a lead list by ID. Use when you need to remove a specific lead list after confirming its existence. |
| `INSTANTLY_DELETE_WEBHOOK` | Delete Webhook | Tool to delete a webhook. Use when you need to remove a specific webhook by its UUID. |
| `INSTANTLY_DISABLE_ACCOUNT_WARMUP` | Disable Account Warmup | Tool to disable the warm-up process for email accounts. Use when you need to stop warmup for specific or all accounts before sending critical campaigns. |
| `INSTANTLY_ENABLE_ACCOUNT_WARMUP` | Enable Account Warmup | Tool to enable the warm-up process for email accounts. Use when you want to start warming up one or more accounts to improve deliverability. |
| `INSTANTLY_GET_CAMPAIGN` | Get Campaign | Tool to retrieve campaign details. Use when you need full campaign configuration for a given campaign ID. |
| `INSTANTLY_GET_CAMPAIGN_ANALYTICS` | Get Campaign Analytics | Tool to retrieve analytics for campaigns. Use when you need performance metrics for one or multiple campaigns. |
| `INSTANTLY_GET_DAILY_CAMPAIGN_ANALYTICS` | Get Daily Campaign Analytics | Tool to retrieve daily analytics for a campaign. Use when you need per-day performance metrics for campaigns. |
| `INSTANTLY_GET_EMAIL_SERVICE_PROVIDER_OPTIONS` | Get Email Service Provider Options | Tool to retrieve email service provider options for inbox placement tests. Use when you need valid recipients_labels options. |
| `INSTANTLY_GET_INBOX_PLACEMENT_TEST` | Get Inbox Placement Test | Tool to retrieve inbox placement test results. Use when you need details for a specific inbox placement test by ID. |
| `INSTANTLY_GET_LEAD` | Get Lead | Tool to retrieve details of a specific lead by its ID. Use when you have the lead UUID and need full lead metadata. |
| `INSTANTLY_GET_LEAD_LIST` | Get Lead List | Tool to retrieve details of a specific lead list by its ID. Use when you have the lead list UUID and need list metadata. |
| `INSTANTLY_GET_VERIFICATION_STATS_FOR_LEAD_LIST` | Get Lead List Verification Stats | Tool to retrieve verification statistics for a lead list. Use when you need summary counts by verification status for a specific lead list. |
| `INSTANTLY_GET_WEBHOOK` | Get Webhook | Tool to retrieve details of a specific webhook subscription. Use when you have the webhook ID and need full webhook configuration. |
| `INSTANTLY_GET_WEBHOOK_EVENT` | Get Webhook Event | Tool to retrieve details of a specific webhook event. Use when you need to inspect a particular webhook event by its ID. |
| `INSTANTLY_LIST_ACCOUNTS` | List Email Accounts | Tool to list all email accounts for the authenticated user. Use after obtaining auth credentials to retrieve available accounts. |
| `INSTANTLY_LIST_API_KEYS` | List API Keys | Tool to list all API keys. Use when you need to retrieve your API keys with optional pagination after authentication. |
| `INSTANTLY_LIST_CAMPAIGNS` | List Campaigns | Tool to list all campaigns. Use when you need to fetch your campaigns list with optional filters and pagination. |
| `INSTANTLY_LIST_CUSTOM_TAGS` | List Custom Tags | Tool to list custom tags. Use when you need to retrieve custom tags with optional pagination and filtering. |
| `INSTANTLY_LIST_DFY_EMAIL_ACCOUNT_ORDERS` | List DFY Email Account Orders | Tool to list DFY email account orders. Use when you need to fetch your DFY email account orders with pagination. |
| `INSTANTLY_LIST_EMAILS` | List Emails | Tool to list emails. Use when you need to retrieve emails with optional filters and pagination. |
| `INSTANTLY_LIST_INBOX_PLACEMENT_BLACKLIST_AND_SPAM_ASSASSIN_REPORTS` | List Inbox Placement Blacklist & SpamAssassin Reports | Tool to list inbox placement blacklist & SpamAssassin reports. Use when you need to retrieve spam and blacklist analytics after running an inbox placement test. |
| `INSTANTLY_LIST_INBOX_PLACEMENT_TESTS` | List Inbox Placement Tests | Tool to list inbox placement tests. Use when you need a paginated overview of tests with optional filtering and sort order. |
| `INSTANTLY_LIST_LEAD_LISTS` | List Lead Lists | Tool to list all lead lists. Use when you need to fetch the lead lists with optional filters and pagination. |
| `INSTANTLY_LIST_LEADS` | List Leads | Tool to list leads. Use when you need to retrieve leads with optional filters like search, status filters, and pagination. |
| `INSTANTLY_LIST_THREADS` | List Email Threads | Tool to list email threads. Use when fetching threads with optional pagination and unread-only filtering. Note: Instantly's public API does not expose a dedicated GET /emails/threads endpoint. Threads can be derived by grouping emails (GET /emails) by their `thread_id`. This action implements that logic by querying /emails and aggregating into threads. |
| `INSTANTLY_LIST_WEBHOOK_EVENTS` | List Webhook Events | Tool to list webhook events. Use when you need to view received webhook events with optional pagination and filters. |
| `INSTANTLY_LIST_WEBHOOKS` | List Webhooks | Tool to list configured webhooks. Use when you need to retrieve your webhook configurations with optional filters and pagination. |
| `INSTANTLY_MARK_THREAD_AS_READ` | Mark Thread As Read | Tool to mark all emails in a specific thread as read. Use when you want to update the read status of an email thread after processing. |
| `INSTANTLY_MERGE_LEADS` | Merge Leads | Tool to merge multiple leads into a single lead. Use after confirming both source and destination lead IDs exist. |
| `INSTANTLY_SEARCH_CAMPAIGNS_BY_LEAD_EMAIL` | Search Campaigns by Lead Email | Tool to search campaigns by a lead's email address. Use when you need to find campaigns containing a specific lead by their email. |
| `INSTANTLY_UPDATE_CAMPAIGN` | Update Campaign | Tool to update details of a campaign. Use when you need to modify campaign settings after verifying its ID. |
| `INSTANTLY_UPDATE_LEAD` | Update Lead | Tool to update a lead's details. Use when you need to modify fields of an existing lead after identifying its ID. |
| `INSTANTLY_UPDATE_LEAD_INTEREST_STATUS` | Update Lead Interest Status | Tool to update a lead's interest status. Use when you need to set or reset a lead’s interest status for follow-up actions. |
| `INSTANTLY_UPDATE_LEAD_LIST` | Update Lead List | Tool to update details of a specific lead list by its ID. Use after verifying the list ID exists. |
| `INSTANTLY_VERIFY_EMAIL` | Verify Email | Tool to initiate email verification. Use when you need to verify an email's deliverability before sending emails. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

The Instantly MCP server provides comprehensive access to Instantly operations through Composio. Once connected, you can perform all major Instantly actions directly from Codex using natural language commands.

## Complete Code

None listed.

## Conclusion

### Conclusion
You've successfully integrated Instantly with Codex using Composio's MCP server. Now you can interact with Instantly 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 Instantly operations
- Managed authentication through Composio
- Access to 20,000+ tools across 870+ apps for cross-app workflows
- CodeAct workbench for complex tool chaining
Next steps:
- Try asking Codex to perform various Instantly operations
- Explore cross-app workflows by connecting more toolkits
- Build automation scripts that leverage Codex's AI capabilities

## How to build Instantly MCP Agent with another framework

- [OpenAI Agents SDK](https://composio.dev/toolkits/instantly/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/instantly/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/instantly/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/instantly/framework/claude-cowork)
- [OpenClaw](https://composio.dev/toolkits/instantly/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/instantly/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/instantly/framework/cli)
- [Google ADK](https://composio.dev/toolkits/instantly/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/instantly/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/instantly/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/instantly/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/instantly/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/instantly/framework/crew-ai)

## Related Toolkits

- [Metaads](https://composio.dev/toolkits/metaads) - Metaads is Meta's official Ads API that lets you manage, analyze, and optimize your Facebook and Instagram ad campaigns. Streamline ad operations and gain deeper insights with robust automation.
- [Adrapid](https://composio.dev/toolkits/adrapid) - Adrapid is a platform for rapid creation of digital marketing visuals using templates. It streamlines design workflows for banners, images, and HTML5 content with automation.
- [Adyntel](https://composio.dev/toolkits/adyntel) - Adyntel is an API that retrieves LinkedIn ads for any company using a domain or LinkedIn Page ID. Easily access competitive ad intelligence to power your marketing workflows.
- [Beaconstac](https://composio.dev/toolkits/beaconstac) - Beaconstac is a platform for creating and managing QR codes and proximity beacons. It helps businesses engage customers and track marketing performance with powerful analytics.
- [Campaign cleaner](https://composio.dev/toolkits/campaign_cleaner) - Campaign cleaner is an email campaign optimization tool that boosts compatibility and deliverability across email clients. It helps marketers get better results by cleaning, enhancing, and ensuring high performance for every campaign.
- [Deadline funnel](https://composio.dev/toolkits/deadline_funnel) - Deadline Funnel lets you create personalized deadlines and timers for your marketing campaigns. It helps marketers boost conversions by adding authentic urgency to offers.
- [Google Ads](https://composio.dev/toolkits/googleads) - Google Ads is Google's online advertising platform for creating, managing, and optimizing digital campaigns. It helps businesses reach targeted customers and maximize return on ad spend.
- [Proofly](https://composio.dev/toolkits/proofly) - Proofly is a social proof platform that displays real-time notifications of customer activity on your site. It helps you increase website conversions by building trust and urgency for visitors.
- [Segmetrics](https://composio.dev/toolkits/segmetrics) - Segmetrics is a marketing analytics platform that reveals detailed insights into your customer journeys. It helps businesses optimize marketing strategies with accurate, actionable reporting.
- [Semrush](https://composio.dev/toolkits/semrush) - Semrush is a leading SEO tool suite for keyword research, competitor analysis, and campaign tracking. It empowers marketers to improve search rankings and optimize online visibility.
- [Sendloop](https://composio.dev/toolkits/sendloop) - Sendloop is an all-in-one email marketing platform built for SaaS, e-commerce, and small businesses. It makes it easy to send campaigns, manage lists, and track results—all in one place.
- [Sidetracker](https://composio.dev/toolkits/sidetracker) - Sidetracker is a marketing analytics platform that tracks expenses, sales funnels, and customer journeys. It helps optimize marketing spend and visualize campaign performance from start to finish.
- [Stannp](https://composio.dev/toolkits/stannp) - Stannp is an API-driven direct mail platform for sending postcards and letters programmatically. It lets you automate physical mail delivery—no manual printing or mailing required.
- [Tapfiliate](https://composio.dev/toolkits/tapfiliate) - Tapfiliate is an affiliate and referral tracking platform for businesses. It helps companies efficiently manage, track, and grow their affiliate programs.
- [Tpscheck](https://composio.dev/toolkits/tpscheck) - Tpscheck is a real-time service for verifying UK phone numbers against TPS and CTPS registers. It helps prevent unwanted marketing calls and ensures compliance with UK telemarketing laws.
- [Gmail](https://composio.dev/toolkits/gmail) - Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.
- [Google Calendar](https://composio.dev/toolkits/googlecalendar) - Google Calendar is a time management service for scheduling meetings, events, and reminders. It streamlines personal and team organization with integrated notifications and sharing options.
- [Google Drive](https://composio.dev/toolkits/googledrive) - Google Drive is a cloud storage platform for uploading, sharing, and collaborating on files. It's perfect for keeping your documents accessible and organized across devices.
- [Outlook](https://composio.dev/toolkits/outlook) - Outlook is Microsoft's email and calendaring platform for unified communications and scheduling. It helps users stay organized with powerful email, contacts, and calendar management.
- [Twitter](https://composio.dev/toolkits/twitter) - Twitter is a social media platform for sharing real-time updates, conversations, and news. Stay connected, informed, and engaged with communities worldwide.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Instantly MCP?

With a standalone Instantly MCP server, the agents and LLMs can only access a fixed set of Instantly tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Instantly and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Codex?

Yes, you can. Codex fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Instantly tools.

### Can I manage the permissions and scopes for Instantly while using Tool Router?

Yes, absolutely. You can configure which Instantly scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Instantly data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
