{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.favcrm/favcrm",
  "title": "FavCRM",
  "description": "Modular client CRM and service operations platform — bookings, customer records, prepaid session packs, official WhatsApp, loyalty, and OAuth 2.1 MCP with Approval Guard.",
  "version": "1.0.0",
  "websiteUrl": "https://favcrm.io",
  "documentationUrl": "https://favcrm.io/en/guides/connect-your-ai-agent/",
  "serverCardUrl": "https://api.favcrm.io/.well-known/mcp/server-card.json",
  "repository": {
    "url": "https://github.com/favcrm/mcp",
    "source": "github"
  },
  "icons": [
    {
      "src": "https://favcrm.io/images/logo/favcrm-icon-512-dark.png",
      "mimeType": "image/png",
      "sizes": ["512x512"]
    },
    {
      "src": "https://favcrm.io/images/logo/favcrm-icon-256-dark.svg",
      "mimeType": "image/svg+xml"
    }
  ],
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://api.favcrm.io/mcp/oauth/view",
      "description": "Read-only OAuth 2.1 + PKCE resource (contacts:read, bookings:read). Included on Starter ($0+)."
    },
    {
      "type": "streamable-http",
      "url": "https://api.favcrm.io/mcp/oauth/manage",
      "description": "Booking operations OAuth 2.1 + PKCE resource (bookings:read, bookings:write, contacts:read). Included on Simply Booking & FavCRM Pro."
    },
    {
      "type": "streamable-http",
      "url": "https://api.favcrm.io/mcp/oauth/crm",
      "description": "Full CRM workspace OAuth 2.1 + PKCE resource with configurable Approval Guard. Included on FavCRM Pro."
    },
    {
      "type": "streamable-http",
      "url": "https://api.favcrm.io/mcp",
      "headers": [
        {
          "name": "Authorization",
          "description": "Scoped FavCRM MCP key as a Bearer token, or OAuth 2.1 via https://api.favcrm.io/.well-known/oauth-authorization-server.",
          "placeholder": "Bearer fav_mcp_...",
          "isRequired": false,
          "isSecret": true
        }
      ]
    }
  ]
}
