{
  "version": 3,
  "summary": "Email API for developers to send and receive email at scale, reachable via a REST API, a hosted MCP server, and a CLI.",
  "credentials": {
    "resend_oauth": {
      "type": "oauth2",
      "label": "Resend OAuth",
      "setup": "The hosted MCP at mcp.resend.com is OAuth-protected. The authorization server is api.resend.com (RFC 9728 metadata at https://mcp.resend.com/.well-known/oauth-protected-resource). Your MCP client runs the browser OAuth flow automatically."
    },
    "resend_api_key": {
      "type": "api_key",
      "label": "Resend API key",
      "generateUrl": "https://resend.com/api-keys",
      "setup": "Create an API key at https://resend.com/api-keys (re_...). Use full access, or restrict to sending-only for send-only agents. Send it as `Authorization: Bearer re_...`."
    }
  },
  "surfaces": [
    {
      "type": "mcp",
      "slug": "mcp",
      "name": "Resend MCP",
      "url": "https://mcp.resend.com",
      "transports": ["streamable-http"],
      "docs": "https://resend.com/docs/mcp-server",
      "basis": {
        "via": "declared",
        "source": "https://resend.com/.well-known/integrations.json"
      },
      "auth": {
        "status": "required",
        "entries": [
          {
            "use": [
              {
                "id": "resend_oauth",
                "mechanics": { "source": "well-known" }
              }
            ],
            "basis": {
              "via": "detected",
              "signal": "oauth-protected-resource"
            }
          }
        ]
      },
      "notes": "Vendor-hosted remote MCP over Streamable HTTP. Also available self-hosted via `npx -y resend-mcp` (stdio or --http) using a Resend API key."
    },
    {
      "type": "http",
      "slug": "rest",
      "name": "Resend REST API",
      "url": "https://api.resend.com",
      "spec": "https://resend.com/openapi.yaml",
      "specAlternates": ["https://resend.com/openapi.json"],
      "docs": "https://resend.com/docs/api-reference",
      "basis": {
        "via": "declared",
        "source": "https://resend.com/.well-known/integrations.json"
      },
      "auth": {
        "status": "required",
        "entries": [
          {
            "use": [
              {
                "id": "resend_api_key",
                "mechanics": {
                  "source": "http",
                  "in": "header",
                  "headerName": "Authorization",
                  "scheme": "Bearer"
                }
              }
            ],
            "basis": {
              "via": "declared",
              "source": "https://resend.com/.well-known/integrations.json"
            }
          }
        ]
      }
    }
  ]
}
