{
  "name": "cdnjs-mcp",
  "version": "1.1.0",
  "protocol": "MCP JSON-RPC over HTTP",
  "endpoint": "https://mcp.cdnjs.net/",
  "alternateEndpoint": "https://cdnjs.net/api/mcp",
  "tools": [
    {
      "name": "analyze_website_performance",
      "description": "Full performance analysis: page weight, request count, HTML hints, checklist-mapped recommendations, and optional PageSpeed lab metrics."
    },
    {
      "name": "get_performance_summary",
      "description": "Lightweight snapshot: size, requests, TTFB, Core Web Vitals when available, recommendation counts by priority, and top 5 fixes."
    },
    {
      "name": "compare_form_factors",
      "description": "Compare mobile (PHONE) vs desktop PageSpeed scores and recommendation overlap for the same URL."
    },
    {
      "name": "list_performance_checklist_rules",
      "description": "List cdnjs.net performance checklist rules, optionally filtered by subcategory."
    },
    {
      "name": "generate_ai_fix_prompt",
      "description": "Analyze a URL and return a structured prompt for AI coding assistants (Cursor, Claude, etc.) with prioritized fix instructions."
    },
    {
      "name": "get_mcp_client_config",
      "description": "Return ready-to-paste MCP client configuration for Cursor, Claude Desktop, or generic HTTP clients."
    }
  ],
  "clients": {
    "cursor": {
      "mcpServers": {
        "cdnjs-mcp": {
          "url": "https://mcp.cdnjs.net"
        }
      }
    },
    "claude": {
      "mcpServers": {
        "cdnjs-mcp": {
          "url": "https://mcp.cdnjs.net"
        }
      },
      "note": "Add to claude_desktop_config.json under mcpServers, then restart Claude Desktop."
    }
  },
  "documentation": "https://cdnjs.net/en/mcp",
  "checklistSource": "https://cdnjs.net/en/speed-checklist"
}