How to integrate Laposta MCP with Codex

Connect Codex to Laposta MCP. Add subscriber to laposta list by email, send campaign to "monthly updates" group, and more using natural language, with authentication handled for you.

Laposta logoLaposta
Api Key

Laposta is a Dutch newsletter platform for creating and sending professional newsletters. It makes email marketing simple and efficient for teams and businesses.

25 Tools

Introduction

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With the Laposta MCP integration, Codex can manage mailing lists and members, create custom fields, view campaigns and reports, list segments, and set up webhooks, 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 Laposta 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 Laposta 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 Laposta task. The first time, Composio asks you to connect your Laposta account.

For example, ask it to:

  • "Add subscriber to Laposta list by email"
  • "Send campaign to "Monthly Updates" group"
  • "Get open rates for last Laposta campaign"

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

The Laposta MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Laposta account. It provides structured and secure access to your mailing lists, subscribers, campaigns, custom fields, and webhooks, so your agent can manage lists, update subscribers, review campaigns, configure fields, and maintain webhooks on your behalf.

  • Mailing list management: Have your agent create mailing lists, review or update their details, list all available lists, and delete lists you no longer need.
  • Subscriber management: Let the agent add subscribers to a list, find and review members, update their details or status, and remove them when needed.
  • Custom subscriber fields: Direct your agent to create, review, and update custom fields that store the subscriber information your campaigns need.
  • Campaign overview: Instruct your agent to retrieve your Laposta email campaigns so you can quickly review what is available in your account.
  • Webhook configuration: Have your agent create webhooks for mailing list events, inspect existing webhook details, and update their destination, event type, or blocked status.

Conclusion

You've successfully integrated Laposta with Codex using Composio's MCP server. Now you can interact with Laposta 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 Laposta 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 Laposta operations
  • Explore cross-app workflows by connecting more toolkits
  • Build automation scripts that leverage Codex's AI capabilities
TOOLS

Supported Tools

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

Get All Campaigns

Retrieve all email campaigns from your Laposta account.

Create Custom Field

Tool to create a custom field for a mailing list to define subscriber attributes.

Delete Field

Tool to permanently remove a custom field from a mailing list.

Get Field Details

Tool to retrieve specific field details by field_id.

Get All Fields

Retrieve all field definitions for a specific Laposta list.

Update Field

Tool to modify field configuration in a Laposta list.

Get Segment Details

Retrieve a segment from a mailing list by segment ID, including its name, definition criteria, and creation and modification timestamps.

Clear All Members From List

Tool to clear all active members from a list.

Create Mailing List

Tool to create a new mailing list in Laposta to manage email subscribers.

Delete List

Permanently deletes a Laposta mailing list and its configuration.

Get List Details

Tool to retrieve specific list details by list_id.

Get All Lists

Retrieve mailing lists from the Laposta account, including list details and member counts.

Update Mailing List

Tool to modify list properties such as name, remarks, or notification emails.

Create Member

Tool to add a new subscriber relationship to a list with custom fields and tracking info.

Delete Member

Tool to permanently remove a member from a list.

Get Member

Tool to retrieve specific member details by member_id or email.

Get All Members

Tool to retrieve all members from a specified Laposta mailing list.

Update Member

Tool to modify member data, status, or custom fields in a Laposta list.

Get All Campaign Reports

Tool to retrieve performance metrics for all campaigns.

Get All Segments

Tool to retrieve all segments from a mailing list.

Create Webhook

Register a webhook for subscriber subscriptions, modifications, or deactivations on a Laposta list.

Delete Webhook

Permanently delete a webhook from a list.

Get Webhook Details

Tool to retrieve specific webhook details by webhook_id.

Get All Webhooks

Tool to retrieve all webhooks for a specific list.

Update Webhook

Tool to modify webhook configuration including URL, event type, or blocked status.

FAQ

Frequently asked questions

Start with Laposta.It takes 30 seconds.

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

Start building