Use MCP in an Agent

@temporam/mcp is a stdio MCP server for Cursor, Claude Code, Codex, and other compatible clients. It requires Node.js 20 or later.

Configure

  1. 1{
  2. 2 "mcpServers": {
  3. 3 "temporam": {
  4. 4 "command": "npx",
  5. 5 "args": ["-y", "@temporam/mcp"],
  6. 6 "env": {
  7. 7 "TEMPORAM_API_KEY": "<API_KEY>",
  8. 8 "TEMPORAM_API_BASE": "https://api.temporam.com"
  9. 9 }
  10. 10 }
  11. 11 }
  12. 12}

Restart your MCP client after saving the configuration. TEMPORAM_API_KEY is required.

Available tools

ToolsPurpose
list_domainsList system domains
list_emails, get_latest_email, get_emailRead inbound messages
create_mailbox, list_mailboxes, get_mailbox, delete_mailboxManage mailboxes
send_message, get_messageSend and inspect outbound messages

Reading unclaimed messages may consume inbound quota. Sending is not idempotent, consumes outbound quota on success, and is unavailable on the Hobby plan.