Skip to content

MCP Email Server: Give Your Agent Email as Native Tools

An MCP email server exposes a mailbox's actions - send, read inbound, list messages - as tools an AI agent can call directly through the Model Context Protocol, with no custom glue code. Sairaph Mail ships a native MCP server over streamable-HTTP at https://mail.sairaph.com/mcp/v1/mcp, authenticated with the same scoped per-mailbox key you use for REST. Point an MCP-capable runtime at the endpoint and the mailbox's actions appear as agent tools.

Last updated June 30, 2026

This pillar explains what an MCP email server is, how Sairaph Mail's works, and how it relates to the REST API.

What an MCP email server is

The Model Context Protocol (MCP) is an open standard for connecting AI agents to external capabilities. Instead of you writing a bespoke wrapper around an email API and hand-describing each function to the model, an MCP server *advertises* its tools to the agent runtime, which discovers and calls them natively.

An MCP email server, then, is an MCP server whose tools are email operations. When it is connected, the agent can "send an email" or "read the latest inbound message" the same way it calls any other tool - the runtime handles discovery, schemas, and invocation.

First-party MCP support is now common among the leading agent-email and email-API vendors, so it is table stakes rather than a unique feature. What differentiates Sairaph Mail is that the MCP server fronts a real, EU-resident, two-way mailbox the agent owns - and is available on every plan. See the email-for-AI-agents pillar for that wider positioning, and the MCP email server glossary entry for the short definition.

How Sairaph Mail's MCP server works

  • Transport: streamable-HTTP (the current MCP HTTP transport), not stdio - so it works with remote and hosted agent runtimes, not only local desktop clients.
  • Endpoint: https://mail.sairaph.com/mcp/v1/mcp. The server is mounted at the root origin under /mcp, separate from the /app dashboard path.
  • Auth: a mailbox Bearer key - the same scoped `sm_live_…` key you use for REST (read or read_write). One credential, both surfaces.
  • Tools: the mailbox's actions - sending and reading/listing inbound - surface as MCP tools. The agent's available actions are bounded by the key's role, so a read-scoped key cannot send.

A quick reference for the endpoint and auth header:

Endpoint

Connecting a client

Claude Desktop (claude_desktop_config.json):

claude_desktop_config.json

A remote agent runtime (YAML-style registration):

YAML

Any other MCP-capable client - point it at the endpoint and pass the mailbox key:

Shell

The developer MCP guide has the full setup, including per-runtime notes.

MCP vs. REST: when to use which

They are two front doors to the same mailbox and the same scoped key - use whichever fits your runtime.

MCP serverREST API
Best forMCP-capable agent runtimes (tools discovered automatically)Explicit HTTP from your own code
SetupRegister one endpoint + keyMake signed HTTP calls
AuthMailbox Bearer keySame mailbox Bearer key
Send / readAs toolsAs POST …/outbound / GET …/messages

Because both honour the same scoped, optionally-expiring key and the same per-mailbox isolation, you can start an agent on MCP and drop to REST for a specific call without re-provisioning anything.

A worked use: inbox triage over MCP

A practical pattern: connect the MCP server to an agent, have it read inbound, classify each message, and reply - all through MCP tools. The inbox-triage walkthrough builds this end to end.

Next step: connect the MCP server - see `/developers/mcp` or the docs at https://mail.sairaph.com/docs.

  • MCP

    Connect over the MCP server.

    Learn more
  • MCP Email Server

    A plain-language definition.

    Learn more
  • Build an Inbox-Triage Agent over MCP

    A step-by-step walkthrough.

    Learn more
  • Email for AI Agents: The 2026 Guide

    An in-depth guide.

    Learn more

Give your agent a real mailbox

Two-way email over REST and a native MCP server, EU-resident by default.

EU data residencyPer-customer encryptionNative MCP