Connector guide10-minute read28 MCP tools7 languages

Connect Mimecast to ChatGPT via MCP

Mimecast email security and archive from any AI agent: track messages through the gateway, search and read the email archive and its Smart Tags, see held messages and queues, URL, attachment and impersonation protection logs, DLP logs, audit events, rejections, blocked sender policies and threat events. Releasing or rejecting held mail and blocking senders are switched off.

HCBy HelpCode teamUpdated 10 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Mimecast

Mimecast

Mimecast email security and archive from any AI agent: track messages through the gateway, search and read the email archive and its Smart Tags, see held messages and queues, URL, attachment and impersonation protection logs, DLP logs, audit events, rejections, blocked sender policies and threat events. Releasing or rejecting held mail and blocking senders are switched off.

tools

28

Region

INTL

Category

Email

Authentication

OAuth 2.0

Required env vars

MIMECAST_API_URLMIMECAST_CLIENT_IDMIMECAST_CLIENT_SECRET
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

Mimecast email security and archive from any AI agent: track messages through the gateway, search and read the email archive and its Smart Tags, see held messages and queues, URL, attachment and impersonation protection logs, DLP logs, audit events, rejections, blocked sender policies and threat events. Releasing or rejecting held mail and blocking senders are switched off.

Guided setup

Connect Mimecast to ChatGPT in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Mimecast in the guided setup, then add your MCP URL to ChatGPT. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

AnythingMCP's plugin in ChatGPT's directory answers questions from your company databases on AnythingMCP Cloud (PostgreSQL, MySQL, SQL Server, Oracle, SAP HANA, SQLite, MongoDB, read-only): open the listing (opens in a new tab) and click Install plugin. Every other connector is added to ChatGPT as a custom MCP server with your AnythingMCP MCP URL.

Try asking

Example prompts for Mimecast

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Mimecast · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Mimecast, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Mimecast + ChatGPT

Mimecast email security and archive from any AI agent: track messages through the gateway, search and read the email archive and its Smart Tags, see held messages and queues, URL, attachment and impersonation protection logs, DLP logs, audit events, rejections, blocked sender policies and threat events. Releasing or rejecting held mail and blocking senders are switched off.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

MIMECAST_API_URL, MIMECAST_CLIENT_ID, MIMECAST_CLIENT_SECRET

Step 1 — Get credentials

Setting up takes about 10 minutes. You need the Mimecast administrator.

  1. Sign in to the Mimecast Administration Console with a role that has Manage Application Roles.
  2. Go to Integrations, API and Platform Integrations (the Integrations Hub), accept the API terms if asked, and on the Mimecast API 2.0 tile click Generate keys (Configure New). Do not use a legacy API 1.0 application.
  3. Give the application a name, choose the products it may use, and select a role. The role decides what the connector can read; see the permissions below. Enter a technical contact and save.
  4. Copy the Client ID into MIMECAST_CLIENT_ID and the Client Secret into MIMECAST_CLIENT_SECRET. The secret is shown once; if it is lost, open the application in the Integrations Hub and reset the keys.
  5. MIMECAST_API_URL: keep Global unless your data must stay in one country (United Kingdom or United States instance).

Authentication: OAuth 2.0 client credentials. The connector posts the client ID and secret to /oauth/token, receives a bearer token valid for about 30 minutes and renews it on its own. No access key, secret key or request signing as in API 1.0.

Permissions the role needs (Account, Roles in the console; each tool answers 403 without its permission)

  • Account, Dashboard, Read: mimecast_get_account, mimecast_list_held_messages, mimecast_get_email_queues, mimecast_decode_url.
  • Archive, Search, Read: mimecast_search_archive, mimecast_list_archive_messages. Archive, Search Content View: mimecast_get_archive_message. Archive, Read: mimecast_get_archive_message_part, mimecast_get_archive_file.
  • Smart Tags (mimecast_list_smart_tags, mimecast_search_smart_tag_messages, mimecast_add_messages_to_smart_tag) need the Data Retention product on the application, a Super Administrator role and a Cloud Archive subscription with Smart Tags.
  • Gateway, Tracking, Read: mimecast_search_messages, mimecast_get_message_info.
  • Account, Monitoring, Held: mimecast_get_held_summary (Held Summary, Read); mimecast_release_held_message and mimecast_reject_held_messages (Edit). Monitoring, Held, Read: mimecast_get_held_release_logs. Monitoring, Rejections, Read: mimecast_get_rejection_logs.
  • Monitoring, URL Protection, Read: mimecast_get_ttp_url_logs. Monitoring, Attachment Protection, Read: mimecast_get_ttp_attachment_logs. Monitoring, Impersonation Protection, Read: mimecast_get_ttp_impersonation_logs. Monitoring, Data Leak Prevention, Read: mimecast_get_dlp_logs.
  • Account, Logs, Read: mimecast_get_audit_events, mimecast_list_audit_categories.
  • Gateway, Policies, Read: mimecast_list_blocked_sender_policies. Gateway, Managed Senders, Edit: mimecast_permit_or_block_sender.
  • Security Events and Data Retrieval, Threat and Security Statistics, Read: mimecast_list_threat_events.

Where to start

  • "What happened to this email?": mimecast_search_messages with sender, recipient or subject (in advanced) and a period, then mimecast_get_message_info for the delivery, spam and authentication details.
  • "Is anything stuck?": mimecast_get_held_summary, mimecast_list_held_messages and mimecast_get_email_queues.
  • "Did anyone click something bad?": mimecast_get_ttp_url_logs with scan_result malicious; attachments and impersonation in the two sibling tools; an overview in mimecast_list_threat_events.
  • Old mail: mimecast_list_archive_messages for one mailbox and a period, or mimecast_search_archive across mailboxes; then mimecast_get_archive_message and mimecast_get_archive_message_part (type PLAIN) to read it.

Archive search query: mimecast_search_archive takes Mimecast's XML query in one string. A query to start from: <?xml version="1.0"?><xmlquery trace="iql,muse"><metadata query-type="emailarchive" archive="true" active="false" page-size="25" startrow="0"><smartfolders/><return-fields><return-field>attachmentcount</return-field><return-field>status</return-field><return-field>subject</return-field><return-field>size</return-field><return-field>receiveddate</return-field><return-field>displayfrom</return-field><return-field>displayto</return-field><return-field>id</return-field><return-field>smash</return-field></return-fields></metadata><muse><text>invoice</text><date select="last_month"/><sent/><docs select="optional"/><route/></muse></xmlquery>. Put the words to find into the text element. The date element takes select values such as today, yesterday, this_week, last_week, last_month and last_year. Page with the page-size and startrow attributes. Mimecast's guide "Building Search Queries" on the developer portal lists every element.

Dates and paging: the API 1.0 style calls (paths starting with /api/) take dates as 2026-11-16T14:49:18+0000 and page with page_size and page_token; the next token is meta.pagination.next in the answer. The newer calls (Smart Tags, policies, threat events) take ISO 8601 with Z and return their own next-page token.

Switched off at install: mimecast_release_held_message, mimecast_reject_held_messages and mimecast_permit_or_block_sender change what is delivered. An administrator can enable them per connector; even then, confirm each action with the user. mimecast_add_messages_to_smart_tag is on: it only labels archived messages.

Privacy: the archive holds the content of everyone's mail. Read message bodies and attachments only when the question needs them, and quote no more than necessary.

Limits and errors: Mimecast rate-limits each application and answers 429 with X-RateLimit-Reset; wait and retry. Many calls answer 200 with a fail list instead of an error status: the connector reports those as errors with Mimecast's code and message. 401 means the client ID or secret is wrong or the keys were reset. 403 means the application's role lacks the permission for that call, or the account does not have the product. Message tracking, the hold queue and the queues exist only on accounts that route mail through the Mimecast gateway.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in ChatGPT

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

ChatGPT adds MCP servers as plugins on its Plugins page, on the web and on paid plans. Developer mode is no longer needed. In a Business workspace only admins and owners can add one; in Enterprise and Edu an admin can grant the Create plugins with MCPs permission.

  1. Go to chatgpt.com/plugins, click Add, then Add custom MCP server.
  2. Enter a name, e.g. Name: Mimecast.
  3. Under Connection, enter the Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID and keep Authentication on OAuth.
  4. Select I understand and want to continue, then Create as a plugin. When ChatGPT asks, sign in to AnythingMCP and allow access.
  5. Install the new plugin from your personal plugins, then type @ in a chat and pick it.

Available tools

ToolWhat it does
mimecast_get_accountGet the summary of the Mimecast account the API application belongs to: accountCode, accountName, region, type, the packages and whether…
mimecast_search_archiveSearch the Mimecast archive with an XML query. Returns data[0].items (one object per message with the return fields the query asks for…
mimecast_list_archive_messagesList the archived messages of one mailbox, received (INBOX) or sent (SENT), in a period. Each message has id, subject, from, to, received…
mimecast_get_archive_messageGet the details of one archived message: subject, envelopeFrom, to, cc, replyTo, headerDate, received and processed times, headers, a…
mimecast_get_archive_message_partGet the body of one archived message: as plain text, as HTML, or the whole message in RFC 822 format. Use PLAIN to read what a message…
mimecast_get_archive_fileGet one attachment of an archived message by its id (the attachments list of mimecast_get_archive_message). Returns the file, or links to…
mimecast_list_smart_tagsList the Smart Tags of the archive: folder-like labels that group archived messages for eDiscovery, compliance review and delegated access.…
mimecast_search_smart_tag_messagesList the archived messages that carry one Smart Tag, optionally limited to a period. Returns messages (each with its id) and meta.nextPage.…
mimecast_add_messages_to_smart_tagPut archived messages under a Smart Tag, as tagging them in the Administration Console does. People with access to the tag can then see…
mimecast_search_messagesTrack messages through the gateway (Message Tracking): find what happened to an email by sender, recipient, subject, sender IP, message id…
mimecast_get_message_infoGet everything the gateway recorded about one tracked message: status, recipientInfo with sender, recipients, subject, route and…
mimecast_list_held_messagesList the messages Mimecast is holding for review. Each has id, subject, from, fromHeader, to, dateReceived, route, reason, reasonCode…
mimecast_get_held_summaryCount the messages currently held, per hold reason: each row has policyInfo (the policy or definition name) and numberOfItems. A quick view…
mimecast_release_held_messageRelease one held message so that it is delivered to its recipient. Installed switched off: a held message may be malicious, and a release…
mimecast_reject_held_messagesReject held messages so that they are never delivered, optionally telling the sender. Installed switched off: a rejection cannot be undone
mimecast_get_email_queuesGet the size of the inbound and outbound email queues over a period: inboundEmailQueue and outboundEmailQueue, each a list of date and…
mimecast_get_ttp_url_logsGet the URL Protect click logs: every protected link a user clicked, with userEmailAddress (who clicked), fromUserEmailAddress (the…
mimecast_get_ttp_attachment_logsGet the Attachment Protect logs: every attachment sandboxed, with senderAddress, recipientAddress, subject, fileName, fileType, fileHash…
mimecast_get_ttp_impersonation_logsGet the Impersonation Protect logs: messages flagged as impersonation attempts, with senderAddress, recipientAddress, subject, definition…
mimecast_get_dlp_logsGet the Data Leak Prevention logs: messages that triggered a content policy, with senderAddress, recipientAddress, subject, policy, action…
mimecast_decode_urlTurn a link rewritten by Mimecast URL Protect (it starts with a protect or url host of mimecast.com) back into the original URL. Returns…
mimecast_get_audit_eventsGet the audit log of the Mimecast account: administrator and user actions such as logons, policy and account changes, archive searches and…
mimecast_list_audit_categoriesList the audit event categories of Mimecast, each with code, id and name. The code is what the categories filter of…
mimecast_get_rejection_logsGet the messages Mimecast rejected at the gateway before accepting them (spam, invalid recipient, blocked sender, failed checks), with…
mimecast_get_held_release_logsGet the log of held messages that were released or rejected, and by whom: operator, fromEnv, fromHdr, to, subject, heldReason, policy…
mimecast_list_blocked_sender_policiesList the Blocked Senders policies of the account: id, description, option (block_sender or no_action), fromPart, the from and to targets…
mimecast_permit_or_block_senderAdd a managed sender entry for one recipient: block rejects every email from that sender to that recipient, permit lets it bypass the spam…
mimecast_list_threat_eventsList threat events of the last 90 days: messages rejected, blocked or held as malware, phishing, spam, suspicious or unwanted, with…

Example prompts

  • "What happened to the email from [email protected] to [email protected] yesterday?"
  • "Is anything stuck in the hold queue right now?"
  • "Did anyone click a malicious link this week?"
  • "Show the impersonation protection hits of the last 7 days."
  • "Find archived emails about the Q3 invoice from last month."

FAQ

Where do the credentials come from? A Mimecast administrator with Manage Application Roles opens Integrations, API and Platform Integrations in the Administration Console and generates keys on the Mimecast API 2.0 tile. The role chosen there decides what the connector can read; each tool answers 403 without its permission. A legacy API 1.0 application does not work.

What does it cover? Message tracking and delivery details, the email archive with search, message content and Smart Tags, held messages and queues, URL, attachment and impersonation protection logs, DLP logs, audit events, rejections, blocked sender policies and threat events. The archive holds everyone's mail, so the AI reads message bodies only when the question needs them.

Which tools install switched off? mimecast_release_held_message, mimecast_reject_held_messages and mimecast_permit_or_block_sender, because they change what is delivered. Switch them on on the connector page only if the AI should use them.

Does the free ChatGPT plan work with custom MCP servers? OpenAI documents custom MCP servers for paid plans only; the Free plan is not on its list.

Next steps

Was this guide helpful?

Connect Mimecast to ChatGPT in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Mimecast in the guided setup, then add your MCP URL to ChatGPT. No code and no server to run.

Related guides

Connectors

Connect Mimecast to Claude via MCP

Mimecast email security and archive from any AI agent: track messages through the gateway, search and read the email archive and its Smart Tags, see held messages and queues, URL, attachment and impersonation protection logs, DLP logs, audit events, rejections, blocked sender policies and threat events. Releasing or rejecting held mail and blocking senders are switched off.

Connectors

Connect Mimecast to Microsoft Copilot via MCP

Mimecast email security and archive from any AI agent: track messages through the gateway, search and read the email archive and its Smart Tags, see held messages and queues, URL, attachment and impersonation protection logs, DLP logs, audit events, rejections, blocked sender policies and threat events. Releasing or rejecting held mail and blocking senders are switched off.

Connectors

Connect Mimecast to Cursor via MCP

Mimecast email security and archive from any AI agent: track messages through the gateway, search and read the email archive and its Smart Tags, see held messages and queues, URL, attachment and impersonation protection logs, DLP logs, audit events, rejections, blocked sender policies and threat events. Releasing or rejecting held mail and blocking senders are switched off.

Connectors

Connect Mimecast to Gemini CLI via MCP

Mimecast email security and archive from any AI agent: track messages through the gateway, search and read the email archive and its Smart Tags, see held messages and queues, URL, attachment and impersonation protection logs, DLP logs, audit events, rejections, blocked sender policies and threat events. Releasing or rejecting held mail and blocking senders are switched off.

Connectors

Connect Mimecast to Meta Muse via MCP

Mimecast email security and archive from any AI agent: track messages through the gateway, search and read the email archive and its Smart Tags, see held messages and queues, URL, attachment and impersonation protection logs, DLP logs, audit events, rejections, blocked sender policies and threat events. Releasing or rejecting held mail and blocking senders are switched off.

Connectors

Mimecast MCP Server: Email Archive and Security Logs

Mimecast email security and archive from any AI agent: track messages through the gateway, search and read the email archive and its Smart Tags, see held messages and queues, URL, attachment and impersonation protection logs, DLP logs, audit events, rejections, blocked sender policies and threat events. Releasing or rejecting held mail and blocking senders are switched off.