Basic information
About Agent Inbox MCP Server
Give your agent an inbox. Its own address on email, Slack and Telegram. A product of Novu
Agent Inbox is a remote MCP server in the Communication category listed in the AddMCP.net directory, published by Agent Inbox. It exposes 10 tools, including inbox_setup, inbox_send, inbox_reply, inbox_wait and more. Supported transport: Streamable HTTP. Runtime: JavaScript. License: MIT. Source code is hosted on github.com. Related topics: email, inbox, notifications, slack, telegram.
Connection details
https://mcp.agentinbox.md
Setup
claude mcp add agent-inbox --transport http https://mcp.agentinbox.md
[mcp_servers.agent-inbox] url = "https://mcp.agentinbox.md"
{
"mcpServers": {
"agent-inbox": {
"url": "https://mcp.agentinbox.md"
}
}
}
{
"servers": {
"agent-inbox": {
"type": "http",
"url": "https://mcp.agentinbox.md"
}
}
}
Agent Inbox MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"agent-inbox": {
"type": "http",
"url": "https://mcp.agentinbox.md"
}
}
}
Agent Inbox MCP Server tools
-
inbox_setup
— Create the agent and its email inbox, or report how far setup got. Call with no arguments to see status and a suggested owner email. Ask the user for an agent name and address before creating; pass agent_name and handle together. Pass email only after the user confirms the address — a confirmation link goes out, and a later call with no arguments says whether they opened it. A name never changes an existing agent, and a handle never moves an existing mailbox; pass handle alone to finish a mailbox that was not created. This tool does not replace an email that is already confirmed.
agent_name:string, handle:string, email:string -
inbox_send
— Start a conversation with one or more contacts. Leave kind out for a plain message, which returns once it is delivered; ask, approve or choose waits for the answer. Before you send, call inbox_list with filter "unread" so you do not miss a conversation a person started.
kind:string, message:string*, to, via:string, from:string, ttl_seconds:integer, wait_seconds:integer, icon:string, subtitle:string, body:string, approve_label:string, deny_label:string, … -
inbox_reply
— Send into an existing conversation. Leave kind out for a plain message; ask, approve or choose waits for the answer. A reply goes out on the conversation's channel, so it has no via option.
conversation:string*, kind:string, message:string*, to, anyone_may_answer:boolean, from:string, ttl_seconds:integer, wait_seconds:integer, icon:string, subtitle:string, body:string, approve_label:string, … -
inbox_wait
— Keep waiting for the answer to an earlier ask, approve or choose that had no answer yet. Call it again while the result says the request is still open.
id:string*, wait_seconds:integer -
contact_invite
— Get a link that lets another person connect their chat app, so you can reach them too. Nothing is sent for you: give the link to the user to pass on. Afterwards reach them with the id you chose here.
id:string*, name:string -
contact_list
— List the people you can reach, with the id to pass as `to`. Your operator is marked (you). When the result ends with a cursor, call it again with after to see the rest before you decide someone is not there.
limit:integer, after:string -
inbox_list
— List the conversations in the agent's inbox. People can message the agent first: call this with filter "unread" before you send, so you see new conversations. Conversations with strangers are hidden unless senders is "all". Showing a conversation does not mark it read; any send into it does.
filter:string, status:string, senders:string, limit:integer, after:string, wait_seconds:integer -
inbox_show
— Show the messages in a conversation. Looking at it does not mark it read — use inbox_read or send a reply for that. People and messages are labelled contact or stranger.
conversation:string*, limit:integer, before:string -
inbox_read
— Mark a conversation read without sending a reply. Showing a conversation does not mark it read.
conversation:string* -
inbox_resolve
— Mark a conversation resolved. It opens again when anyone writes in it. Use after you have finished with it.
conversation:string*
Overview
What is Agent Inbox?
The hosted Agent Inbox MCP server, meant for https://mcp.agentinbox.md. ChatGPT, Claude and Cursor add its address, the person signs in with their Agent Inbox account, and the AI tool can then ask them before it acts.
It is a Cloudflare Worker and is for Novu Cloud only: it needs the Agent Inbox Clerk app, the Agent Inbox Dashboard API, and a private Agent Inbox endpoint of the Novu API, which self-hosted and Community editions do not have.
Agent Inbox tools
When an app connects, the server tells which host it is from the name the app gives in initialize (clientInfo.name), matched whole: claude-code is Claude Code and claude-ai is Claude, so one is never taken for the other (CLIENT_NAMES in src/connections.ts, with where each name comes from). Any other name is General. It notes the host in a KV namespace; the Agent Inbox dashboard reads that from GET /connections/:agentInboxUserId, which answers only to the shared secret, and shows the app as Connected.
How sign-in works
- A tool calls the server without a token and gets a
401that points at/.well-known/oauth-protected-resource. - That document names the Agent Inbox Clerk app as the place to sign in. The tool registers itself there, and Clerk sends the person to its sign-in page: the dashboard's
/sign-inwhen the Clerk app's paths point there. Someone without an agent yet can finish setup withinbox_setupinstead of visiting the onboarding. - The tool calls again with the token. The server asks Clerk whose token it is (
/oauth/userinfo); it never trusts what a token says about itself. - When that sign-in has no Agent Inbox account yet, the server opens one (
POST /v1/human/accounts). It then reads the account's API key from the Novu API with the secret the Agent Inbox dashboard uses, and calls the Agent Inbox Dashboard API as the account. The AI tool never sees the key. Opening the account does not create an agent.
Every request stands alone: nothing is kept between calls, so any instance can answer any call. The one thing initialize hands out is a session id that starts with the app's host (claude-code.…, see below). The app sends it back with every later request, and the server reads the host from it to tell the API which host is calling (Agent-Inbox-Host); it keeps nothing about the session itself. A request without one is served the same: Claude Code, Codex and Cursor are still told by their User-Agent, and the API counts any other as General.
Where calls go
- Every tool calls the Agent Inbox Dashboard API (
AGENT_INBOX_API_URL, the dashboard's/api) with the account's key, as the CLI does:/v1/setup,/v1/inbox-addressand/v1/agentfor onboarding,/v1/inboxand/v1/inbox/messagesfor conversations and messages,/v1/contactsfor contacts, invites and verifications, and/v1/operatorfor the account's owner. The dashboard forwards each call to the Novu API. - Opening an account and reading its key are the calls that go straight to the Novu API (
NOVU_API_URL), with the dashboard's secret:POST /v1/human/accountswhen the sign-in has no account yet, thenGET /v1/human/accounts/:id/secret-key. The Dashboard API doesn't offer either. - Agent Inbox lives in the US region only, so there is no EU address to try.
Configuration
| Name | Kind | What it is | | --- | --- | --- | | CLERK_OAUTH_ISSUER | variable | Address of the Agent Inbox Clerk app. Its OAuth feature with dynamic client registration must be on. | | AGENT_INBOX_API_URL | variable | The Agent Inbox Dashboard API, which every tool calls: https://www.agentinbox.md/api (staging https://staging.agentinbox.md/api, local http://localhost:4300/api). Without it the server answers 503. | | NOVU_API_URL | variable | The Novu API of the US region, used to open an account and read its key with the dashboard's secret. | | DOCS_URL | variable | Where a person who opens the address in a browser is sent. | | AGENT_INBOX_DASHBOARD_API_SECRET | secret | The secret the Agent Inbox dashboard shares with the Novu API. | | CONNECTIONS | KV namespace | Remembers connected tools and, for five minutes, whose token is whose. Optional: without it nothing reads as connected. |
Run and deploy
pnpm --filter @novu/agent-inbox-mcp dev # http://localhost:8790, against a local dashboard and API
pnpm --filter @novu/agent-inbox-mcp test
pnpm --filter @novu/agent-inbox-mcp typecheck
Before the first deploy of an environment:
- Turn on OAuth with dynamic client registration in that environment's Agent Inbox Clerk app, and put its address in
CLERK_OAUTH_ISSUERinwrangler.jsonc. - Check that
AGENT_INBOX_API_URLinwrangler.jsoncpoints at that environment's dashboard (/api), and that the dashboard there already serves it. - Create the KV namespace (
wrangler kv namespace create CONNECTIONS --env <env>) and add the binding it prints towrangler.jsonc. - Set the secret:
wrangler secret put AGENT_INBOX_DASHBOARD_API_SECRET --env <env>. pnpm --filter @novu/agent-inbox-mcp deploy:<env>.- Set
AGENT_INBOX_MCP_URLon the Agent Inbox dashboard to the server's address. The Connect drawers on the Agent page appear only once it is set.
Known limits
- A token is accepted when Clerk says it is valid. The server does not check that the token was issued for this server in particular: Clerk puts the client's id in a token's audience, not this server's address, and any client may register. So keep OAuth in the Agent Inbox Clerk app for this server alone. If another service ever accepts tokens from that app, this server needs an audience check first.
- Which tool connected is read from the name the tool reports, so another client that calls itself "cursor" reads as Cursor.
- A removed connector still reads as Connected: nothing tells the server that a tool was disconnected.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In