{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "com.emailplane/mail",
  "title": "eMailPlane Mail",
  "description": "Email for AI agents: send, receive, threads, templates, domains and mailboxes on your own server.",
  "version": "0.1.0",
  "websiteUrl": "https://emailplane.com/developers/mcp/",
  "icons": [
    {
      "src": "https://emailplane.com/icon-512.png",
      "mimeType": "image/png",
      "sizes": [
        "512x512"
      ]
    },
    {
      "src": "https://emailplane.com/favicon.svg",
      "mimeType": "image/svg+xml",
      "sizes": [
        "any"
      ]
    }
  ],
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://mail.{domain}/mcp",
      "variables": {
        "domain": {
          "description": "The domain your eMailPlane server handles mail for. The endpoint is served by your own server at mail.<domain>.",
          "isRequired": true,
          "placeholder": "example.com"
        }
      },
      "headers": [
        {
          "name": "Authorization",
          "description": "An eMailPlane token from your server, scoped to what this agent may do.",
          "isRequired": true,
          "isSecret": true,
          "value": "Bearer {token}",
          "variables": {
            "token": {
              "description": "Your eMailPlane token. Never share it.",
              "isRequired": true,
              "isSecret": true
            }
          }
        }
      ]
    }
  ],
  "_meta": {
    "io.modelcontextprotocol.registry/publisher-provided": {
      "status": "draft",
      "note": "Not yet published. The remote endpoint is not live on customer servers yet (see https://emailplane.com/developers/mcp/). Publish only after it is, via DNS or HTTP namespace proof for emailplane.com."
    }
  }
}
