How to integrate Unisender MCP with Codex

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

Unisender logoUnisender
Api Key

UniSender is a service for email and SMS marketing campaigns. It helps you reach your audience easily and automate campaign management.

33 Tools

Introduction

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

Also integrate Unisender 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 1000+ 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 Unisender 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_*******" }

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

The Unisender MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Unisender account. It provides structured and secure access so your agent can perform Unisender operations on your behalf.

Conclusion

You've successfully integrated Unisender with Codex using Composio's MCP server. Now you can interact with Unisender 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 Unisender operations
  • Managed authentication through Composio
  • Access to 20,000+ tools across 1000+ apps for cross-app workflows
  • CodeAct workbench for complex tool chaining

Next steps:

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

Supported Tools

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

Check Email Status

Tool to check the delivery status of emails sent via sendEmail method.

Create Email Template

Tool to create a new email template for mass campaigns in UniSender.

Create Field

Tool to create a new custom field for contact data in UniSender.

Create List

Tool to create a new contact list for organizing thematic email campaigns in UniSender.

Create Subscriber Note

Tool to create a note for a subscriber contact in UniSender.

Delete Field

Tool to remove a custom field from the Unisender system.

Delete List

Tool to permanently delete a contact list from your UniSender account.

Delete Subscriber Note

Tool to delete a subscriber note from UniSender by its ID.

Delete Tag

Tool to delete a tag by its ID and remove it from all associated contacts.

Delete Template

Tool to remove a template from the UniSender account.

Exclude Contact from Lists

Tool to remove contacts from specified lists or all lists in UniSender.

Export Contacts

Tool to export contact data from UniSender lists for synchronization.

Get Campaigns

Tool to retrieve list of campaigns from Unisender within a specified date range.

Get Campaign Status

Tool to check the current status of a campaign in UniSender.

Get Contact

Tool to get information about a single contact from UniSender.

Get Contact Field Values

Tool to retrieve custom field values for a specific contact identified by email address.

Get Fields

Tool to retrieve all custom user-defined fields for contact personalization and data management.

Get Lists

Tool to retrieve all existing mailing lists associated with the account.

Get Messages

Tool to retrieve list of all messages with body and attachments.

Get Sender Domain List

Tool to retrieve information about sender domains and their DKIM status.

Get Tags

Tool to retrieve all custom tags/labels for contact segmentation.

Get Template

Tool to retrieve detailed information about a specific email template by its ID.

Get Templates

Tool to retrieve list of all templates with full content including body.

Import Contacts (Bulk)

Tool to bulk import contacts to UniSender with maximum 500 contacts per call.

Check if Contact is in Lists

Tool to check if a contact exists in specified mailing lists based on and/or conditions.

List Messages

Tool to list all messages without body and attachments.

List Templates

Tool to list email templates without body content.

Subscribe Contact to Lists

Tool to add contacts to one or multiple mailing lists with optional tags and field values.

Unsubscribe Contact

Tool to unsubscribe contacts from mailing lists in UniSender.

Update Email Template

Tool to update an existing email template for mass campaigns.

Update Field

Tool to modify parameters of an existing custom field in UniSender.

Update List

Tool to update the parameters of an existing contact list in UniSender.

Update Subscriber Note

Tool to update the content of an existing subscriber note in UniSender.

FAQ

Frequently asked questions

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

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 Unisender tools.

Yes, absolutely. You can configure which Unisender 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.

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 Unisender data and credentials are handled as safely as possible.

Start with Unisender.It takes 30 seconds.

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

Start building