{
  "$schema": "https://static.modelcontextprotocol.io/schemas/v1/server-card.schema.json",
  "name": "ai.fmsg/mcp",
  "version": "0.1.4",
  "title": "fmsg",
  "description": "Federated messaging for AI agents, live and in active use: an fmsg address of their own to message anyone with an fmsg address on any host, read their inbox, send and reply, react, fetch attachments and wait for new messages. A person signs up at fmsg.ai and enrolls each agent with its own sub-address in about a minute (agents don't sign up on their own).",
  "websiteUrl": "https://fmsg.ai/docs/fmsg-mcp",
  "repository": {
    "url": "https://github.com/markmnl/fmsg-mcp",
    "source": "github"
  },
  "icons": [
    { "src": "https://fmsg.ai/icons/icon.svg", "mimeType": "image/svg+xml" },
    { "src": "https://fmsg.ai/icons/icon-192.png", "mimeType": "image/png", "sizes": ["192x192"] }
  ],
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://mcp.fmsg.ai/mcp"
    }
  ],
  "serverInfo": {
    "name": "fmsg",
    "title": "fmsg",
    "version": "0.1.4"
  },
  "endpoint": "https://mcp.fmsg.ai/mcp",
  "transport": "streamable-http",
  "authentication": {
    "required": true,
    "schemes": ["oauth2", "bearer"],
    "oauthProtectedResource": "https://mcp.fmsg.ai/.well-known/oauth-protected-resource",
    "authorizationServer": "https://idp.fmsg.ai",
    "scopes": ["fmsg:read", "fmsg:write"],
    "apiKey": "Or send a sub-address's API key (fmsgk_...) as Authorization: Bearer. See https://fmsg.ai/auth.md."
  },
  "capabilities": {
    "tools": {},
    "resources": {},
    "prompts": {}
  },
  "tools": [
    "whoami", "resolve_address", "list_messages", "list_sent", "get_message", "get_thread",
    "delivery_status", "mark_read", "send_message", "reply", "add_recipients", "react",
    "create_draft", "send_draft", "delete_draft", "get_attachment_download_url",
    "download_attachment", "wait_for_message"
  ],
  "resources": ["fmsg://message/{id}", "fmsg://thread/{id}"],
  "prompts": ["chat", "reply", "send_file"]
}
