Skip to content
Primitive logo

Primitive MCP server

Provides email sending and receiving over HTTP for AI agents, with managed addresses running JavaScript handlers on inbound mail.

read 2026-11-22

← Back to Primitive

How to connect

Add the server to your MCP client config. Claude Desktop, Cursor and most other clients read this shape:

{
  "mcpServers": {
    "email": {
      "type": "http",
      "url": "https://www.primitive.dev/mcp"
    }
  }
}

Add it

Claude Code, in a terminal

claude mcp add --transport http primitive https://www.primitive.dev/mcp

Add to CursorAdd to VS Code

claude.ai, ChatGPT and other clients: add https://www.primitive.dev/mcp as a custom connector in the settings.

Tools it offers14 tools · read 2026-12-05
  • getAccountdescribed by the server

    The authenticated Primitive account. managed_inbox_address is a domain, not a mailbox; sender_address (such as [email protected]) is the mailbox sendEmail sends from by default. Result: id, email, plan, managed_inbox_address…

  • getInboxStatusdescribed by the server

    Check whether inbound email is ready. Domains are added and verified with the domain management tools at /mcp/full. Result: ready, receiving_ready, processing_ready, summary, next_actions, domains, endpoints, functions and recent_emails.

  • getOutboundStatusdescribed by the server

    What this account can send from, and to whom. Call it before sending outside Primitive or from a domain other than the managed inbox. Result: ready, summary, sendable_domains, domains, next_actions, and can_send_to, the recipients it may…

  • listEmailsdescribed by the server

    Page through inbound email newest first, or tail new mail with since and wait. Filters by domain, status, date and sender, recipient or subject words; for body text, attachments or replies to a send, use searchEmails. Rows carry id…

  • searchEmailsseen, not called yet

    Search mail by query (q), classification (doc_type, intent, sender_relationship, is_cold_outreach), attachment text/name (attachment), reply state (awaiting, automated), scope (mine or shared), direction (inbound, outbound, any), sender…

  • getEmaildescribed by the server

    Read one inbound email by id; read its attachments with getEmailAttachment. By default body_text leaves out quoted history and shows each link as an [n] marker; the links argument returns their targets. When body_next_offset is not null…

  • replyToEmailchanges datadescribed by the server

    Reply to one inbound email, threaded server-side. This sends a real email immediately and it cannot be undone or recalled, so call it only after the user has confirmed the reply. Expecting an answer? Pass await_reply: true to wait for it…

  • sendEmailchanges datadescribed by the server

    Send a new email. It goes out immediately (or at scheduled_at) and cannot be recalled, so confirm the message with the user first. Leave `from` out to send from your managed inbox. To send later, set scheduled_at, at most 30 days ahead…

  • listSentEmailsseen, not called yet

    List sent emails to audit delivery. Rows carry id, thread_id, created_at, status, from, to, subject and snippet, plus error_code, smtp_response_code or gates when a send did not deliver. Read one with getSentEmail. Result: sent_emails…

  • getSentEmaildescribed by the server

    Read a single sent email by id, to inspect its delivery, such as the SMTP response on a bounced send or the gate denial on a gate_denied one. Pass full: true for the stored record. Result: id, thread_id, created_at, status, from, to…

  • awaitReplydescribed by the server

    Wait for the threaded reply to a sent email (an id sendEmail or replyToEmail returned) when that send's own wait got none. Do not tell the user nobody replied unless this returns reply null with timed_out true. Threading is not proof of…

  • getConversationdescribed by the server

    Read a whole conversation with message bodies: the tool for finding out what was said. Pass the id of any inbound email in the thread. Each message has a direction and a role (inbound→user, outbound→assistant). Texts have links as [link]…

  • getEmailAttachmentdescribed by the server

    Read ONE attachment of an email. A text file (plain text, CSV, JSON, XML, Markdown, calendar and similar) comes back as text, HTML reduced to text; a PNG, JPEG, GIF or WebP image up to 1 MB as an image; any other file as base64 up to 256…

  • createEmailAddresschanges datadescribed by the server

    Create an email account with no signup and get its api_key; call this first when you have no Primitive API key and the user wants to send or receive email. Pass api_key as the `api_key` argument on every later Primitive call, exactly as…

How we checked it

Should an agent connect it

Not proven either way yet
  • Whether its tools do the product's job has not been judged yet.

Once connected

  • sendEmail, createEmailAddress change data without a sign-in: anyone with the address can call them.

Said by rules from the measurements above. The likely first call is a model's pick from the tool list; read its description before relying on it.

Measured daily

daily checks: 31, the first on 2026-10-20
  • INITE MCP score69 of 100answers 100 · definitions 100 · context 77 · connects 100 · lowered until one of our scenario runs passes · lowered by the warning signs below
  • Answered100% of days31 of 31 daily checks
  • Median first answer192 msslowest in twenty: 280 ms
  • Space in an agent's context≈ 7,080 tokensthe definitions of all its tools (14), which an agent carries on every turn
  • Tool definitionsA · 100 of 100
  • Typed results14 of 14 toolsdeclared outputSchema: results come typed, read once
  • Every tool passes all six checks.

What an agent can do with it

  • can do · Send and receive email from an agent's own address
  • not sure · Run custom code on each incoming message
  • not sure · Send transactional email from a custom domain

Each of the product's use cases, put to Jev against this server's tool list: can an agent do it with these tools?

Worth a look

  • Tools that change data, on a server that answers without a sign-in: sendEmail, createEmailAddress

A program checks the server once a day: initialize and tools/list, no model. Tokens are the definitions' length at about four characters a token. The grade averages six checks of every tool's name, description, schema and annotations; it says how well the tools are described, not whether they work. The score weighs what was measured and nothing else: answering (25%), doing the product's job (25%), definitions (20%), context (10%), use (10%) and how readily a client connects (10%). A part that was not measured is left out, and a hidden instruction caps the score at 40. The state of vendors' MCP servers: method and numbers →

Security2026-12-05

Grade A, 98 of 100, checked 2026-12-05 · 19 of 19 checks judged · 1 failed

Full report →

When we asked itchecked 2026-11-22
  • Stateanswerschecked 2026-11-22
  • Tools14
  • Server calls itselfprimitive
  • Server version0.3.0
  • Protocol version2025-06-18

On 2026-11-22 the server answered initialize and tools/list without a sign-in. First answer in 102 ms.

Whose server it is
  • Registry namedev.primitive/emailverified in the MCP registry

The registry name sits under primitive.dev. The registry only lets a publisher use that namespace after proving control of the domain through DNS or HTTP.

OpenAPI spec

262 paths, read 2026-11-22. Open the spec ↗

Each line is something a program found when it went looking: the registry entry, the server's own answer, a spec that parses. A missing line means we did not find it, not that it does not exist.