nimpost

MCP

The 12-tool spine. Two transports: Streamable-HTTP at POST /mcp and stdio via npx @nimpost/mcp. The manifest is at GET /mcp/manifest.json; the LLM-readable catalog is at GET /llms.txt.

A connected host is pushed, not polling

The Durable Object holds the hibernated WebSocket. When mail arrives, the DO fires a new-mail frame to every connected client and wakes any /wait long-polls. The host doesn't poll. It connects once, and the mail comes to it.

12 tools

create_identity — mint a claim address
list_identities — the identity directory
create_alias — plus-addressing under an identity
list_inbox — envelope index (metadata only)
wait_inbox — the long-poll receive primitive
read_email — one message body
extract_code — structured codes/links/actions
verify_code — wait + extract in one call
send_emailcoming — outbound send (P3)
send_statuscoming — send lifecycle (P3)
set_retentioncoming — re-arm the burn alarm (P3)
destroy_address — burn the mailbox now

Streamable-HTTP

One endpoint. JSON-RPC 2.0. The same 12 tools, the same input/output schemas, over POST:

POST https://nimpost.com/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "verify_code",
    "arguments": { "identity": "agent-01@nimpost.com", "wait_s": 60 }
  }
}

stdio

For MCP hosts that speak stdio (Claude Desktop, Cursor, any LSP-style client):

npx @nimpost/mcp

The stdio entry and the Streamable-HTTP route both read from the same tool array. Same 12 tools, same schemas, same dispatch.

Manifest + llms.txt

The crawlable manifest is at /mcp/manifest.json — the full 12-tool JSON-Schema catalog. The LLM-readable tool catalog is at /llms.txt — a markdown list every agent can read on first contact. These are the SEO + agent-discovery layer: an agent searches "email API for AI agents" and lands here.

OpenAPI

The machine-readable REST contract is at GET /openapi.json. The 12 MCP tools are a thin adapter over these paths.