trustyourinboxDocs
Browse sections

AI assistants (MCP)

Integrations, 3 of 5

Add trustyourinbox to Claude from its connector directory, or paste one address into ChatGPT or any MCP client and sign in.

What this is

MCP (the Model Context Protocol) lets AI assistants like Claude ask questions of your real DMARC data: "which domains are not enforcing", "who sent as example.com last week", "stage the fix for that missing rua". The server exposes 43 read tools and 17 write tools, plus five guided prompts, all scoped to your workspace. Included on every plan.

Connect your assistant

Paste one address into your assistant and sign in when it asks: https://mcp.trustyourinbox.com. There is nothing to copy back and nothing to renew. The address is also on Settings, Integrations, MCP, with a copy button.

claude.ai and Claude desktop

trustyourinbox is in Claude's connector directory.

  1. Open trustyourinbox in Claude's directory and click Connect.
    The trustyourinbox listing in Claude's connector directory, with a Connect button at the top and on the trustyourinbox connector row, which reads Not connected.
    Either Connect button starts the same sign-in.
  2. Our sign-in page opens and reads claude.ai wants to connect. Check where it connects, tick Allow changes if you want it to make changes, and click Allow (see below). If we ask you to verify it's you, enter the code we email you.
  3. You return to Claude. The listing reads Added, and the trustyourinbox connector reads Connected.
    The same listing after connecting: Added at the top, and the trustyourinbox connector row reads Connected.
    Connected and ready to use in a chat.
  4. In a new chat, turn the connector on and ask List my domains.

If the link does not open the listing for you, search for trustyourinbox in Claude's connector directory, or add it as a custom connector with the address:

  1. In claude.ai, open Settings, then Connectors, then Add custom connector.
  2. Give it a name, for example trustyourinbox, and paste the address. Claude then shows how it will sign in.
  3. Leave Authentication on Sign in now and OAuth client on Use Claude's published identity. Claude marks both as detected.
    Claude's Add custom connector dialog for trustyourinbox, with Sign in now and Use Claude's published identity selected, both marked Detected.
    Both choices are already selected. Click Add.
  4. Click Add, then Connect. Our sign-in page opens; check where it connects and click Allow (see below).
  5. In a new chat, turn the connector on and ask List my domains.

Claude desktop shows the connectors of your claude.ai account, so a connector added on claude.ai is there too.

ChatGPT

  1. Open Plugins, click +, then Add custom MCP server.
  2. Give it a name, for example trustyourinbox, paste the address as the Server URL, choose OAuth under Authentication, and leave the advanced OAuth settings as they are.
  3. Tick I understand and want to continue, ChatGPT's note about custom servers.
    ChatGPT's Add custom MCP server dialog for trustyourinbox, with the server address, OAuth authentication and I understand and want to continue ticked.
    The icon and description are optional.
  4. Click Create as a plugin. Our sign-in page opens; check where it connects and click Allow.
  5. In a new chat, pick the plugin and ask List my domains.

On ChatGPT Business and Enterprise, an admin decides whether members may add custom MCP servers and which apps the workspace may use. If you cannot see Add custom MCP server, ask your ChatGPT admin.

Claude Code

Add the server, then sign in from inside Claude Code:

claude mcp add --transport http trustyourinbox https://mcp.trustyourinbox.com

Run /mcp, choose trustyourinbox and authenticate. Your browser opens our sign-in page. On a machine with no browser, run claude mcp login trustyourinbox --no-browser, open the address it prints on any device, and after you click Allow paste the address your browser lands on back into the terminal.

Other assistants

Any assistant that can sign in to a remote MCP server works the same way: add a remote (HTTP) MCP server with the address, and it asks you to sign in.

What you see when you sign in

The page leads with the one thing we can check: the domain that published the app's identity, such as claude.ai wants to connect or chatgpt.com wants to connect. An app that runs on your own computer reads An app on this computer. The name the app gives itself is shown smaller, as its own description.

Our sign-in page reading claude.ai wants to connect, reaching the Default workspace, with Allow changes ticked and the Allow and Deny buttons.
The sign-in page for claude.ai. ChatGPT's reads chatgpt.com wants to connect.

Choose where it connects: one workspace, or, for an MSP, your whole account (every client). It can always read your DMARC data there. Tick Allow changes to let it make the changes you could make on the dashboard, such as dismissing issues and staging one-click DNS fixes. If you signed in more than a few minutes ago, Allow may first ask you to verify it's you. You need a role that can edit (Owner, Admin or Member) to connect an app. You, and the account's owners, get an email for every new connection.

Staying connected

Nothing to do. The app's access lasts an hour at a time and it renews it by itself, without asking you. An app nobody has used for 30 days must sign in again. Connecting the same app to the same place a second time replaces the first connection.

Connected apps

Settings, Integrations, MCP lists every app connected to the workspace: its domain, what it calls itself, who connected it, whether it can make changes, and when it was last used. An MSP finds the apps connected to the whole account on the MSP console's API page.

The Connected apps list with chatgpt.com and claude.ai, each with Read + changes access, Active, and a Disconnect button.
Two apps connected, both allowed to make changes.

Disconnect ends an app's access at once. It moves to the Disconnected tab, where Delete removes it for good; the audit log keeps the record. Anyone who can edit may disconnect any app, and anyone may disconnect an app they connected. Neither asks you to verify again. A workspace, and an MSP account, holds up to 25 connected apps. To change what an app may do, or where it connects, disconnect it and connect it again.

Pasted tokens

A token is a long-lived key you paste into a script, a scheduled job or a tool that cannot open a sign-in page. Use one too for what connected apps cannot do: add webhook endpoints, alert recipients and invites. Create one on Settings, Integrations, MCP, under For scripts and tools that can't sign in, copy it (you only see it once), and give it to your tool as a Bearer credential with the same address.

The server speaks the current MCP revision, 2026-07-28, and every earlier one back to 2024-11-05, so an older client keeps working without an update.

Tokens are read-only by default. Ticking Allow write actions also lets the assistant dismiss issues, re-check DNS, add and verify domains, name senders, restore ignored lookalikes, and stage or undo one-click fixes, which keep the full five-minute delay and undo pipeline. A workspace holds up to 20 active tokens, and each is revocable instantly from the same page.

Adding or deleting a webhook endpoint needs a second choice, Also allow sharing outside the account, which is off by default and only offered beside write access. A webhook endpoint keeps receiving your alerts after the token that made it is revoked, so creating a token with this choice asks you to verify it's you, and the owners' email says so.

Keeping tokens fresh

Every owner of the account gets an email whenever a token is created, naming the token, who made it and what it can do, so a token nobody expected is caught the day it appears. A token expires after 90 days unless you choose another lifetime, and the person who created it gets an email a week before it stops working.

Rotate replaces one of your own tokens with a new one that keeps its name, its access and its lifetime, and turns the old one off at once. Paste the new token into your MCP client; you see it only once. Only the person who created a token can rotate it, because a token acts as its creator; anyone who can edit can still revoke it.

What a token did

Click a token's name in the list to see its activity: how many calls it made to each tool, day by day for the last 30 days (calls that were refused are counted separately), when and from which address it was last used, and every change it made in the workspace. Changes are matched to the token itself, so two tokens with the same name never mix. A token that was refused, for example while the account was suspended, does not count as used.

Changed in November 2026: write access alone no longer reaches webhook endpoints. A token made before then keeps every other write it had, but answers create_webhook_endpoint and delete_webhook_endpoint with a refusal. To manage webhooks from an assistant, create a new token with sharing outside the account allowed and revoke the old one.

Turning MCP writes off

An owner can stop every assistant from changing anything in a workspace without revoking a single token: on Settings, Integrations, MCP, use Turn off MCP writes. Every token keeps reading, and every change it tries is refused, whatever access it was created with; assistants are no longer shown the write tools at all. Turn it back on from the same card. For an MSP, an organization owner has the same switch on the MSP console's API page, and it covers every workspace in the organization.

Changes that wait for your yes

Staging or undoing a DNS fix, adding or deleting a webhook endpoint, and (on an MSP organization token) adding, re-sending or removing an alert recipient, creating, switching or deleting the account webhook, and inviting someone into a client all take two calls. The first call changes nothing: it answers with a preview of exactly what would happen (for a DNS fix, the record as it is now and as it would be) and a confirmation code. The assistant shows you the preview, and only when you agree does it call again with the same request and the code.

A code works once, only for the token it was given to and that exact request, and only for ten minutes. If what would happen changes in between, for example someone edits the DNS record, the code is refused and the assistant has to show you a fresh preview. Every other write (dismissing an issue, re-checking DNS, naming a sender) runs in one call.

Changed in November 2026: these tools used to act on the first call. An assistant or script that called them directly now gets the preview and a code back instead, and must call again with confirmation_code to apply the change.

Accountability

A token can only do what its creator can do; the creator's role is re-checked live on every write. Everything an assistant changes is labelled via MCP token "name" or via connected app "claude.ai (Claude)" in the audit log, so an AI action is always distinguishable from a human click. A connected app follows the same rules as a token: it can only do what the person who connected it can do, and it stops working when they leave or can no longer edit.

A token belongs to the person who created it, and only someone who can edit workspace data can hold one. When that person is removed, leaves, or moves to a role that cannot edit (Viewer or Billing), their tokens are revoked at once, and the audit log records each one as revoked automatically with the reason. Inviting the person back does not bring an old token back; they create a new one. The role is also re-checked on every call, so a token never outlives its creator's access.

The token list shows who created each token. A token whose creator can no longer create tokens reads orphaned: it no longer works, so revoke it and create a replacement. Anyone may revoke a token they created, whatever their role now.

The list opens on Current: every token that has not been revoked, expired and orphaned ones included, because they still count toward the 20 and still need revoking. A revoked token moves to the Revoked tab, where Delete removes it for good, along with its activity history. Only a revoked token can be deleted, by whoever may revoke it, and your audit log keeps the record that it was created, revoked and deleted, with how many calls it made.

What an assistant can and cannot reach

Every tool is scoped to the workspace the token belongs to, so an assistant cannot read another tenant's domains even if it asks. Reads cover your domains, issues, reports, senders and diagnosis cases, the executive report and compliance evidence numbers, and who can see the workspace: its members, pending invites, and the names and states of its tokens and API keys (never a token or key itself). Long lists end with a cursor the assistant passes back for the next page. Writes are deliberately narrow: dismissing or snoozing an issue, re-checking DNS, adding and verifying a domain, naming a sender, restoring an ignored lookalike, and staging or undoing a one-click fix. Anything that sends your data somewhere new needs the separate sharing choice. There is no tool that deletes a domain, changes billing, or edits a teammate.

An assistant is only shown the tools its token can use: a read-only token lists no write tools. Each tool also tells the assistant what kind of action it is, and the ones that send email, give someone access or create a webhook are marked as reaching outside your account, so a careful assistant asks you before it runs them.

When a company you email runs its own email security (INKY, Check Point, Proofpoint, Mimecast, Barracuda, their Microsoft 365, or Google Workspace in front of another mailbox), that service can change your email on the way in so their mailbox fails it. An assistant sees that mail on its own: the sender breakdown and a single report list it by recipient domain and service, with what happened and a short note for that company's IT. It is never counted in your pass rate or listed among unknown senders, which also carry each source's reverse-DNS name.

A staged fix behaves exactly as it does in the dashboard. The assistant does not write DNS; once you confirm its preview it queues a change that emails you, waits out its cancel window, and can be undone in the app at any time. An assistant acting on a bad assumption costs you a cancel click, not a DNS incident.

An MSP's organization token, made in the MSP console, reaches across clients instead: it reads any one client of your account with the same read tools, each taking that client's workspace_id from list_clients, and get_usage answers the month's billed domains, projected invoice and per-client split, and get_recipient_relays lists, across every client, the mail a recipient's own email security changed. A client outside your account answers as if it did not exist, and an organization token changes a client only through the MSP tools. A workspace token reads its own workspace, and refuses a workspace_id naming any other. See Partner API and automation.

Text written by other people

Some of what an assistant reads was written by someone outside your workspace: the name and id a mailbox provider puts on its DMARC report, the reverse-DNS name of a sending server, a registrar's name, the subject of a forwarded bounce. Anyone whose mail passes authentication can send your domain a report, so that text can say anything, including a sentence that reads like an instruction.

Every such value reaches the assistant as data. It is cut to 200 characters (a domain name keeps up to 253), invisible and direction-changing characters are removed, and its formatting is shown as plain characters. An answer that carries these values says so in a closing line and in a thirdPartyText field, and the assistant is told when it connects that they are never instructions. A report's sender is named by the domain that authenticated it; what the report says about itself appears only as a labeled claim. The dashboard stores the same shortened values.

If a call fails

A 401 means the token is revoked or expired, or its creator was removed or can no longer edit. A 503 means the MCP server is briefly turned off on our side; your tokens are unchanged. A refusal on a write means the token is read-only, lacks the sharing choice the tool needs, an owner turned MCP writes off, or the plan no longer includes the action. A refused confirmation code means it expired, was already used, or the request or its effect changed since the preview; ask the assistant for a fresh preview. A 429 means the token used its 120 requests a minute (each message in a batch counts); wait the seconds its Retry-After header names. A domain, report or case the token cannot see, or an argument longer than the tool allows, comes back as an error result the assistant can read, and in a batch only that one call fails. If the assistant connects but finds no tools, the URL is usually pointing at the dashboard host rather than https://mcp.trustyourinbox.com.

Troubleshooting a connected app

  • The assistant shows two trustyourinbox connectors. You have two connections, often an older one made with a pasted token. The Claude apps also load the MCP servers you set up in Claude Code on the same computer (claude mcp list shows them). Keep one: remove the other in the assistant's connector settings, or with claude mcp remove trustyourinbox.
  • It answers about the wrong workspace. An app reaches the one place you chose when you signed in. Disconnect it in Connected apps and connect it again, choosing the other workspace.
  • "This app was connected read-only." You left Allow changes unticked. Disconnect it and connect it again with the box ticked.
  • "Connected apps can't do this." The tool adds a webhook endpoint, an alert recipient or an invite. Use a pasted token for those.
  • The sign-in page says the account has too many connected apps. Disconnect one you no longer use and try again.
  • It asks you to sign in again. The app was not used for 30 days, or someone disconnected it. Sign in again; nothing else changes.

Was this page helpful?