Skip to content

Integration · Email

Connect Claude & ChatGPT to OptiPub

Ask your AI how yesterday's newsletter performed, which emails a subscriber has received, or how many people are in a segment. It can read publications, messages, campaigns, auto-responders and transactions, manage subscribers, subscriptions and segments, and create, schedule or cancel email and SMS messages.

Connect OptiPub free

Free plan, no credit card. Takes about a minute.

Try asking

  • “How did yesterday's newsletter perform?”

    The AI finds the message by send date and reads its delivery, open, click and sales statistics.

  • “Which emails has [email protected] received from us?”

    It lists the messages sent to that subscriber, optionally for one publication.

  • “Subscribe [email protected] to the Daily Brief with the tag webinar.”

    It finds the publication and creates the subscription with the tag.

What your AI can do

Messages and stats

List and read email and SMS messages, see delivery, open, click and sales stats, and create, schedule or cancel messages.

Subscribers and segments

Look up subscribers and their history, manage subscriptions and tags, and add or remove people from segments.

Publications, campaigns and billing

Read publications, campaigns, auto-responders and billing transactions, and send an auto-responder as a transactional email.

  • “How many subscribers are in the Lapsed buyers segment?”

    It finds the segment and returns its subscriber counts.

  • “Move tomorrow's promo email to 9:00.”

    It finds the message and sets the new send time. The message goes out to its recipients at that time.

  • “Show declined transactions from last week.”

    It lists billing transactions in that date range that were declined, with customer email and publication.

29 tools for OptiPub

These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.

  • add_subscriber_to_segmentChanges dataAdd a subscriber by `email` to a static segment (`segment`), with optional variables.
  • cancel_messageDeletesCancel a scheduled message by `message_id` so it is not sent.
  • create_messageVisible to othersCreate an email or SMS message: `publication_id`, `message_type_id`, `is_test`, plus subject, content or template_id, sender_id, segments and send_at. A message with send_at set goes out to subscribers at that time.
  • create_subscriptionChanges dataSubscribe someone to a publication: `publication_id` plus an email or subscriber_id, with optional tags, variables and effort_id (the marketing effort they came from).
  • get_auto_responderGet one auto-responder by `auto_responder_id`.
  • get_campaignGet one marketing campaign by `campaign_id`.
  • get_messageGet one message by `message_id`, with its subject, content, schedule and status.
  • get_message_statsGet the delivery, open, click and sales statistics of a message by `message_id`.
  • get_publicationGet one publication by `publication_id`.
  • get_segmentGet one segment by `segment_id`.
  • get_segment_countsGet the subscriber counts of a segment by `segment_id`.
  • get_subscriberGet one subscriber by `subscriber_id`, with their profile, tags and addresses.
  • get_subscriptionGet one subscription by `subscription_id`.
  • get_transactionGet one billing transaction by `payment_id`.
  • list_auto_respondersList auto-responders (automated and transactional emails), filtered by name, publication, campaign or active status.
  • list_campaignsList marketing campaigns, filtered by name, publication, partner or active status.
  • list_messagesList email and SMS messages, filtered by publication, message type, send date or test flag.
  • list_publicationsList publications (newsletters and products), filtered by name, active status or tag. Use it to find a publication ID.
  • list_segmentsList subscriber segments, filtered by name, publication or subscriber.
  • list_subscriber_emailsList the messages sent to a subscriber, by `subscriber_or_email` (subscriber ID or email), optionally for one publication.
  • list_subscriber_subscription_historyList the subscription history (sign-ups and changes) of a subscriber by `subscriber_id`.
  • list_subscriptionsList subscriptions, filtered by publication_id, active status, sign-up date, or open and click activity.
  • list_tagsList tags, filtered by name or color. Use tag IDs or names when tagging subscribers.
  • list_transactionsList billing transactions, filtered by customer email, publication, type, date or declined status.
  • remove_subscriber_from_segmentDeletesRemove a subscriber by `email` from a segment (`segment`).
  • schedule_messageDeletesSet or change when a message is sent: `message_id` and `send_at`. The message is sent to its recipients at that time.
  • send_transactional_emailVisible to othersSend an auto-responder as a transactional email to one `email` address: `auto_responder_id` plus optional variables. Sends an email immediately.
  • update_subscriberChanges dataUpdate a subscriber by `subscriber_id`: locale, timezone, billing or shipping address, or tags (tag_ids, add_tags_by_name, remove_tags_by_name). Only the fields you pass change.
  • update_subscriptionChanges dataUpdate a subscription by `subscription_id`: set active to false to unsubscribe, change the email, tags or variables.

Set up in three steps

  1. 1

    Pick the app

    Create a free PipMCP account and choose OptiPub from the app list.

  2. 2

    Paste your key

    Enter your OptiPub app domain (for example yourapp.app.optipub.com) and an API key. In OptiPub go to Settings → API Keys, click Create API Key, name it and save. Copy the key right away, it is shown only once.

  3. 3

    Add the link to your AI

    You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:

    1. Click your name, then Settings › Connectors › Add custom connector.
    2. Paste your link as the Remote MCP server URL.
    3. Switch it on from the + menu in a chat.

Questions

What can the AI do in OptiPub?

The AI can read publications, messages and their stats, subscribers, subscriptions, segments, tags, campaigns, auto-responders and billing transactions. It can create subscriptions, update subscribers and subscriptions, add and remove segment members, create, schedule and cancel messages, and send transactional emails.

Does the AI see my OptiPub credentials?

No. Your OptiPub credentials are encrypted at rest and never shown to the AI. After you save them, they are not shown again, not even to you. The AI only sees the results of the tools it calls.

Can I control what the AI is allowed to do?

Yes. You choose which tools are switched on, so you can start with lookups only. Creating or scheduling a message sends it to subscribers at the set time, a transactional email goes out at once, and cancelling a message or removing someone from a segment changes what people receive. These can require your approval before they run. Every tool call is logged.

Does it work with ChatGPT?

Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your PipMCP link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.

What does it cost?

PipMCP has a free plan with no credit card required. Paid plans bill per completed task. You also need your own OptiPub account.

What permissions does the OptiPub API key have?

An OptiPub API key has the permissions of the user who created it. Create it with a user whose access you are comfortable giving the AI, then switch on only the tools you want in PipMCP.

Let your AI work in OptiPub today.

Start free. Your key stays encrypted, and you decide what the AI may do.

Connect OptiPub free

PipMCP is not affiliated with OptiPub. Product names are trademarks of their owners.