Mailgent
Model Context Protocol

Every capability, as MCP tools.

One server hands your agent a real inbox, a vault, 2FA, a calendar, a signing identity, and a wallet — as native tools in Claude, Cursor, ChatGPT, or anything that speaks MCP. Every tool is scope-gated by the agent's key.

claude_desktop_config.json
{
  "mcpServers": {
    "mailgent": {
      "command": "npx",
      "args": ["-y", "@mailgent-dev/mcp"],
      "env": { "LOOMAL_API_KEY": "mgnt-..." }
    }
  }
}

Three ways to connect

Local install for desktop clients, npx for shell agents, or the hosted endpoint for anything over HTTP.

Claude & Cursor

Drop the config block into your MCP settings. Tools show up instantly, namespaced under mailgent.

Shell & CLI agents

Run npx @mailgent-dev/mcp with your key in the environment. Works in cron jobs and headless runs.

Hosted endpoint

Skip the install. Point any MCP-over-HTTP client at api.mailgent.dev/mcp with a bearer token.

hosted endpoint
# Hosted, no install — point any MCP client at:
https://api.mailgent.dev/mcp

# Authorization: Bearer mgnt-...

The tool catalog

Tools are grouped by capability and gated by the scopes on the agent's key. An agent only sees what you grant it.

mail:*

Mail

  • mail_send
  • mail_reply
  • mail_list_threads
  • mail_get_thread
  • mail_update_labels
  • mail_add_rule
vault:*

Vault

  • vault_store
  • vault_get
  • vault_list
  • vault_delete
vault:totp

2FA / TOTP

  • vault_totp
  • vault_totp_use_backup
calendar:*

Calendar

  • calendar_create
  • calendar_list
  • calendar_update
  • calendar_delete
  • calendar_set_public
identity:*

Identity

  • identity_whoami
  • identity_sign
  • identity_verify
payments:spend

Payments

  • payments_activity
  • wallet_balance
  • wallet_pay

Give your agents a real identity.

An inbox, a vault, a calendar, a DID, and a wallet — one API call away.