Tools
More ways to use this page
MCP server
Sendora’s MCP server gives a coding agent, such as Claude Code, Cursor or VS Code, Sendora’s documentation and tools while it builds your integration. The agent can read the guides and the API reference, send a test mail and read what happened to it, and set up streams, webhooks and sending domains.
It runs two ways, with the same tools:
- Locally, as
npx -y @sendora/, over stdio. The documentation is built into the package, so it answers offline.mcp - Hosted, at
https://mcp. You connect your app with OAuth, or it sends your key as a bearer token. Without either,.sendora .se/ mcp https://mcpserves the documentation..sendora .se/ docs
Before you start
- The local server needs Node 20.19 or newer. The hosted server and the Claude Desktop bundle need nothing installed.
- For anything beyond the documentation, the agent needs a connection that you approve with OAuth, or a key. Connect with OAuth says when each fits.
- With OAuth, Codex CLI must be 0.147.0 or later, which
codex --versionshows. Cursor must be up to date, since some older versions, such as 3.19.7, cannot connect.
Connect with OAuth
With OAuth, you add the hosted server to your app, then sign in to Sendora and approve the app. You need no key, so no key sits on your machine. Sendora holds the app to what you approve. This is how claude.ai and ChatGPT connect.
Use a key instead for the local server or Claude Desktop’s bundle, or for an agent that adds sending domains with the account key. Then go on to Choose a key.
Open your app’s steps:
claude.ai and Claude Desktop
On a Team or Enterprise plan, an Owner adds Sendora under Organization settings › Connectors. There the Owner selects Add, then Custom, then Web if Claude asks, and goes on from step 2. Each member then opens Customize › Connectors and starts at step 3.
- Open Customize › Connectors and select Add custom connector.
- Name it Sendora and enter
https://mcpas the server URL. Leave the other settings as they are, and select Add..sendora .se/ mcp - Select Connect beside Sendora. Sign in to Sendora and approve the app, as Approve the app says.
- In a chat, select +, then Connectors, and turn Sendora on.
The connector also works in Claude’s mobile apps.
ChatGPT
- In ChatGPT on the web, open Plugins, select Add, then Add custom MCP server.
- Name it Sendora. Under Connection, enter
https://mcp..sendora .se/ mcp - Choose OAuth as the authentication, with no client ID or secret. Select I understand and want to continue, then Create as a plugin.
- When ChatGPT asks, select Continue to Sendora. Sign in to Sendora and approve the app, as Approve the app says.
- In a chat, type
@and choose Sendora.
Claude Code
- Add Sendora to
.mcpat your project’s root. The timeout lets.json send_wait up to a minute to learn whether the message was delivered.email
{
"mcpServers": {
"sendora": {
"type": "http",
"url": "https://mcp.sendora.se/mcp",
"timeout": 90000
}
}
}
- In Claude Code, run
/mcp, select sendora and authenticate. Claude Code opens your browser. - Sign in to Sendora and approve the app, as Approve the app says.
VS Code
- Add Sendora to
.vscode/in your project, or to the file that MCP: Open User Configuration opens:mcp .json
{
"servers": {
"sendora": {
"type": "http",
"url": "https://mcp.sendora.se/mcp"
}
}
}
- Run MCP: List Servers from the Command Palette, select sendora and start it. When VS Code asks to authenticate, allow it, and your browser opens.
- Sign in to Sendora and approve the app, as Approve the app says.
Cursor
- Add Sendora to
~/.cursor/, or tomcp .json .cursor/in your project:mcp .json
{
"mcpServers": {
"sendora": {
"url": "https://mcp.sendora.se/mcp"
}
}
}
- Open Customize in Cursor’s sidebar, and connect Sendora’s MCP server there. Cursor opens your browser.
- Sign in to Sendora and approve the app, as Approve the app says.
Codex
- Add Sendora to
~/.codex/. The timeout letsconfig .toml send_wait its full minute.email
[mcp_servers.sendora]
url = "https://mcp.sendora.se/mcp"
tool_timeout_sec = 90
- Run
codex mcp login sendora. Codex opens your browser. - Sign in to Sendora and approve the app, as Approve the app says.
Approve the app
Sendora’s approval page opens in your browser, always at app. If you are not signed in, Sendora asks you to sign in first. The page names the app, where it comes from, such as claude.ai, and the account you connect to.
Nothing is ticked when the page opens. Tick at least one server or the account:
- The page lists each server you may open yourself, marked live or test. Tick those the app may reach.
- An administrator may also tick the account. The app can then read the account’s sending domains and list the servers you tick. It can never add a sending domain or delete a server.
- The box for changes on live servers lets the app send real mail and make changes on the live servers you tick. Without it, the app only reads them.
Then approve, and your browser returns to the app. If you cancel instead, the app is told that you refused.
On each server you tick, the app gets the tools that the server’s key would, with the box for changes as its switch. If you later lose access to a server, the app loses it too. What the app reads, such as the message log, leaves Sendora, and the app’s provider handles it from then on.
The page warns you when its answer goes to a program on your own computer, as it does for Claude Code, VS Code and Codex. Approve only if you started the connection yourself just now. Cursor registers itself with Sendora, so for Cursor the page says that Sendora cannot confirm who made the app. It may also say that the answer goes to www, which passes it on to Cursor on your computer.
End a connection
Your connections are in the dashboard’s user menu, under Connected apps, with what each reaches and when it ends. End one there, and the app loses its access within a minute. To change what an app reaches, end its connection and connect the app again.
A connection also ends 90 days after you approve it, or after 30 days without use. Until then, the app renews its access by itself. VS Code may first ask you to click Authenticate, and then goes on without a new approval. Once a connection has ended, connect the app again.
An administrator sees every connection in the account and can end any of them. At the bottom of the same page, an administrator can also turn connected apps off for the whole account. That ends every connection, and nobody can connect an app until an administrator turns them on again. Resetting your password through the mailed link also ends your connections.
If the app cannot connect
| What you see | Why | What to do |
|---|---|---|
| Cursor shows “redirect_uris must list one or more URIs, and each must have no fragment or credentials and be https, or http on localhost, 127.0.0.1 or [::1].” | Some older versions of Cursor, such as 3.19.7, also offer Sendora a cursor:// address, which Sendora refuses | Update Cursor, restart it and connect again |
| After you approve, the browser says “Authentication complete”, but Codex reports “failed to handle OAuth callback” and “Authorization server response missing required issuer” | A bug in Codex 0.143.0 to 0.146.1 | Update Codex to 0.147.0 or later, then run codex mcp login sendora again |
Choose a key
The MCP server lists only the tools your key allows, so the agent cannot call any other:
- With a test server’s key (
sk_), the agent can do everything on that server, and no mail is delivered. Start here. A test server works before your account is approved. It takes mail as a live one does, and its simulator’s addresses act out bounces, deferrals, complaints, opens and clicks.test_ … - With a live server’s key (
sk_), the agent reads the server’s message log, received mail and settings. Once you turn on changes, it can also send real mail to real people and make other changes.… - With the account key (
ak_), the agent reads the account’s servers and sending domains. With changes on, it can also add a sending domain or delete a test server, never a live one.… - With no key, the agent reads the documentation alone.
| What the tool does | No key | Test key | Live key | Account key |
|---|---|---|---|---|
| Reads the documentation | yes | yes | yes | yes |
| Reads | no | yes | yes | yes |
| Changes | no | yes | with changes on | with changes on |
| Shows a new key or signing secret | no | yes | no | no |
| Cannot be undone | no | yes | no | with changes on |
Cannot be undone covers revoking a key, deleting a webhook or a test server, archiving a stream, and sending or cancelling a broadcast. A new key or a webhook’s signing secret reaches the agent only on a test server. With a live key, the agent sends you to the dashboard to make one. Keys says where each key is made.
Install
Set your key as the environment variable SENDORA_, from your shell profile or your secret manager. The configurations for Claude Code, Cursor and Codex read it from there. VS Code and Claude Desktop ask for the key instead and keep it in their own secret storage. Either way, no file you commit holds the key.
Open your client’s setup:
Claude Code
Add Sendora to .mcp at your project’s root. Claude Code fills in ${SENDORA_ from its environment when it connects, so the file holds no key and you can commit it. Locally:
{
"mcpServers": {
"sendora": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@sendora/mcp"],
"env": { "SENDORA_API_TOKEN": "${SENDORA_API_TOKEN}" }
}
}
}
Or hosted, with a timeout that lets send_ wait up to a minute to learn whether the message was delivered:
{
"mcpServers": {
"sendora": {
"type": "http",
"url": "https://mcp.sendora.se/mcp",
"headers": { "Authorization": "Bearer ${SENDORA_API_TOKEN}" },
"timeout": 90000
}
}
}
Don’t add the server with claude mcp add and the key in --header or --env. Your shell puts the key’s value in the command, and Claude Code writes it to its configuration. Without a key, one command adds the documentation:
claude mcp add --transport http sendora-docs https://mcp.sendora.se/docs
Cursor
Add to Cursor installs the local server in one click, with the key from SENDORA_.
By hand, edit .cursor/ in your project, or ~/.cursor/ for every project. Cursor fills in ${env:SENDORA_ from its environment. Locally:
{
"mcpServers": {
"sendora": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@sendora/mcp"],
"env": { "SENDORA_API_TOKEN": "${env:SENDORA_API_TOKEN}" }
}
}
}
Or hosted:
{
"mcpServers": {
"sendora": {
"url": "https://mcp.sendora.se/mcp",
"headers": { "Authorization": "Bearer ${env:SENDORA_API_TOKEN}" }
}
}
}
VS Code
Add to VS Code installs the local server in your profile in one click.
By hand, edit .vscode/ in your project. Either way, VS Code asks for the key the first time the server starts, and keeps it in its secret storage. Locally:
{
"inputs": [
{
"type": "promptString",
"id": "sendora-key",
"description": "Sendora key",
"password": true
}
],
"servers": {
"sendora": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@sendora/mcp"],
"env": { "SENDORA_API_TOKEN": "${input:sendora-key}" }
}
}
}
Or hosted:
{
"inputs": [
{
"type": "promptString",
"id": "sendora-key",
"description": "Sendora key",
"password": true
}
],
"servers": {
"sendora": {
"type": "http",
"url": "https://mcp.sendora.se/mcp",
"headers": { "Authorization": "Bearer ${input:sendora-key}" }
}
}
}
Codex
Edit ~/.codex/. Don’t use codex mcp add --env, which writes the key’s value into the file.
Codex passes a local server a few system variables, such as PATH and HOME, and of the rest only those you name. It gives a tool a minute unless told otherwise, so both entries set tool_ to let send_ wait its full minute. Locally:
[mcp_servers.sendora]
command = "npx"
args = ["-y", "@sendora/mcp"]
env_vars = ["SENDORA_API_TOKEN"]
tool_timeout_sec = 90
Or hosted:
[mcp_servers.sendora]
url = "https://mcp.sendora.se/mcp"
bearer_token_env_var = "SENDORA_API_TOKEN"
tool_timeout_sec = 90
Claude Desktop
Download the bundle and open it. Claude Desktop asks whether to install it, and runs it on the Node it brings.
- Paste your key into Sendora key, which Claude Desktop keeps in your operating system’s secure storage. Leave it empty for the documentation alone.
- Tick Allow changes only when you want changes on.
Each release comes with a new bundle here, which you install over the old one. To connect Claude Desktop without a key, connect with OAuth instead.
Check the connection
Ask the agent which Sendora server it is connected to. With a server’s key, it calls get_, which returns the server’s name and mode, whether changes are on, its limits and the sending domains its mail may come from. With the account key, it calls list_.
| What you see | Why | What to do |
|---|---|---|
The agent has only search_ and read_ | No key reached the server | Set SENDORA_ in the environment the client starts from, or enter the key in VS Code’s prompt or Claude Desktop’s Sendora key. Then start the client again |
| The client shows the server as failed | The key did not reach the server, or the API refused it | Check that the client has the key, and that the key is still live in the dashboard |
Then give the agent a task:
- With a test server’s key, ask: “Send a test mail to any address you like, and tell me whether it was delivered.”
- With a live server’s key, ask: “Why did the last message to
anna@bounce?”example .com - With no key, ask: “Add a password-reset mail to this app with
@sendora/.”sdk
Turn on changes
A live server’s key and the account key list only the reading tools until you turn on changes for the connection:
- Locally, add
--allow-writesafter@sendora/in the arguments, or setmcp SENDORA_in the server’s environment.ALLOW_ WRITES=true - Hosted, send the header
Sendora-Allow-Writes: truebeside the key. - In Claude Desktop, tick Allow changes.
- Through OAuth, tick the box for changes on live servers when you approve the app. The account stays read only.
Any value but true leaves changes off. A test server’s key needs no switch.
With changes on, the MCP server tells the agent to confirm with you before anything reaches a real person. Your client also asks before any call you have not allowed.
The switch decides which tools the MCP server lists. It does not limit the key itself. An agent that runs commands or reads files on your machine can read a key kept in its environment, and call the API with it directly. So give an agent a live key only if you would trust it with everything the key can do. VS Code’s prompt and Claude Desktop’s bundle keep the key out of your environment.
Received mail
A live server’s key lists the tools that read the mail your inbound stream receives. The sender wrote everything in that mail, and an agent reading it may also have your terminal, your files and your other MCP servers. So the tools limit what the agent sees:
search_returns only two of the addresses the sender chose: the From address and the address the mail was sent to.inbound read_returns the rest between two markers with a new random value each time. Before them comes a notice that everything between the markers is data from the sender, not instructions.inbound_ message
This lessens prompt injection without preventing it. A model can still do what a mail asks: run a command, read a file, call another server’s tool, answer the mail, or send your key somewhere. The two addresses sit outside the markers, and the sender wrote them too. The From address is wholly theirs. In the address the mail was sent to, they chose the text after + on a stream’s address at inbound, and the whole local part on your own domain.
- Read what the agent proposes before you approve it.
- Keep changes off unless the task needs them.
- Give an agent that reads received mail no more tools than the task needs.
- If you think a key reached someone it should not have, revoke it in the dashboard.
Tools
The table lists every tool of the MCP server. Keys says which keys list each one: test for a test server’s key, live for a live server’s and account for the account key. “With changes on” marks a tool that needs the switch.
| Tool | What it does | Keys |
|---|---|---|
search_ | Search the Sendora docs | any, or none |
read_ | Read a Sendora document | any, or none |
get_ | Read the server this key belongs to | test, live |
send_ | Send one email | test, live with changes on |
search_ | Search the message log | test, live |
get_ | Read one message and its timeline | test, live |
list_ | List a stream's suppression list | test, live |
remove_ | Lift a suppression | test, live with changes on |
list_ | List the not-tracked addresses | test, live |
add_ | Add a not-tracked address | test, live with changes on |
remove_ | Remove a not-tracked address | test, live with changes on |
create_ | Add a stream | test, live with changes on |
archive_ | Archive a stream | test |
send_ | Send a test broadcast | test |
get_ | Read a broadcast | test, live |
cancel_ | Cancel a broadcast | test |
list_ | List the server's webhooks | test, live |
list_ | List a webhook's deliveries | test, live |
replay_ | Replay a webhook delivery | test, live with changes on |
create_ | Add a webhook | test |
delete_ | Delete a webhook | test |
list_ | List the server's keys | test, live |
create_ | Create a key | test |
revoke_ | Revoke a key | test |
search_ | Search received mail | live |
read_ | Read a received message | live |
list_ | List the domains for receiving | live |
check_ | Check a domain for receiving | live |
add_ | Add a domain for receiving | live with changes on |
list_ | List the account's servers | account |
list_ | List the sending domains | account |
check_ | Check a sending domain | account |
add_ | Add a sending domain | account with changes on |
list_ | List the tracking domains | account |
check_ | Check a tracking domain | account |
add_ | Add a tracking domain | account with changes on |
delete_ | Delete a test server | account with changes on |
Screens
In a client that shows MCP Apps, such as claude.ai, ChatGPT, Claude Desktop, VS Code or Cursor, four tools also show their answer on a screen:
send_andemail get_show the message’s timeline: each recipient’s status, the stream, and every event with its time and the receiver’s answer.message add_anddomain check_show the domain’s two DNS records, whether each checks out, and a button that checks them again.domain
Every other client gets the same answer as text. A screen loads nothing from anywhere else.
Documents and prompts
The documentation is built into the MCP server at each release, from the same sources as these pages:
- the guides, as
sendora://docs/… - the API reference, as
sendora://reference/… - the error codes, as
sendora://errors - the TypeScript SDK’s README and rules for agents, as
sendora://sdk/andreadme sendora://sdk/skill - the Python SDK’s, as
sendora://sdk/andpython/ readme sendora://sdk/python/ skill - the PHP SDK’s, as
sendora://sdk/andphp/ readme sendora://sdk/php/ skill - the Laravel package’s README, as
sendora://sdk/laravel/ readme - the Java SDK’s README and rules for agents, as
sendora://sdk/andjava/ readme sendora://sdk/java/ skill
sendora://index lists them all. search_ searches every document but the rules, which an agent reads whole. read_ reads one document whole.
The server has three prompts, which a client offers as commands:
set_: install the SDK for the project’s language, keep the key in the environment, send a test through a test server and verify webhooks.up_ sendora why_: read a message’s timeline, the suppression list and the error codes, and explain what happened.not_ delivered verify_: implement signature verification for the webhook endpoint and test it.webhooks
The official server
Sendora’s MCP server is @sendora/ on npm, the hosted server at https://mcp and https://mcp, and the bundle on this site, and nothing else. The MCP Registry lists it as se, a name that only sendora.se can publish. A server under another name is not Sendora’s, and it could read every key and message it is given.