{
  "openapi": "3.1.0",
  "info": {
    "title": "Unyly API",
    "version": "1.0.0",
    "summary": "The catalog of MCP servers and agent skills, as an API.",
    "description": "Search, filter and install MCP servers and skills from the Unyly catalog.\n\nPublic GET endpoints work without a key at low per-IP limits. Create a key at https://unyly.org/account/api and send it as `Authorization: Bearer uk_live_…`.\n\nEvery response carries `X-RateLimit-*` (per minute) and `X-Quota-*` (day/month) headers. Errors share one shape: `{ \"error\": { \"code\", \"message\", \"doc_url\", \"request_id\" } }`.\n\n| Plan | Per minute | Per day | Per month | Semantic / day |\n|---|---|---|---|---|\n| anonymous | 20 | 500 | — | 5 |\n| free | 60 | 5000 | 50000 | 50 |\n| pro | 300 | 50000 | 1000000 | 1000 |\n| team | 1000 | 250000 | 5000000 | 10000 |\n| business | 3000 | — | 30000000 | — |",
    "contact": {
      "name": "Unyly",
      "url": "https://unyly.org/developers",
      "email": "info@unyly.org"
    },
    "termsOfService": "https://unyly.org/terms"
  },
  "servers": [
    {
      "url": "https://unyly.org/api/v1"
    }
  ],
  "externalDocs": {
    "url": "https://unyly.org/developers/reference"
  },
  "tags": [
    {
      "name": "Servers",
      "description": "MCP servers: list, filter, card, tools, install config per client, security, badge."
    },
    {
      "name": "Skills",
      "description": "Agent skills (SKILL.md): list, card and install commands."
    },
    {
      "name": "Search",
      "description": "Keyword search across servers and skills, and semantic search by task."
    },
    {
      "name": "Catalog",
      "description": "Halls (categories), trending, new arrivals and live catalog size."
    },
    {
      "name": "Publishing",
      "description": "Submit servers and skills, report installs. Needs a key with a write scope."
    },
    {
      "name": "Account",
      "description": "Who the key belongs to, the plan and remaining quota."
    }
  ],
  "paths": {
    "/servers": {
      "get": {
        "operationId": "listServers",
        "tags": [
          "Servers"
        ],
        "summary": "List and filter MCP servers",
        "description": "The same filters as unyly.org/browse. Use `fields` to slim the payload.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "description": "Keyword search.",
            "example": "github"
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 60
            },
            "description": "Hall id from GET /categories."
          },
          {
            "name": "pricing",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "free",
                "pro",
                "paid"
              ]
            }
          },
          {
            "name": "verified",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "description": "Only servers reviewed by Unyly."
          },
          {
            "name": "hosted",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "description": "Only servers that run in the Unyly cloud."
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "installs",
                "newest",
                "rating",
                "name"
              ],
              "default": "installs"
            },
            "description": "Ignored when `q` is set (results are ranked by relevance)."
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "description": "Items per page, 1–100."
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "description": "Opaque cursor from `next_cursor` of the previous page."
          },
          {
            "name": "count",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            },
            "description": "Also return `total` (one extra count query)."
          },
          {
            "name": "fields",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "slug",
                  "name",
                  "tagline",
                  "url",
                  "category",
                  "author",
                  "author_handle",
                  "icon",
                  "verified",
                  "featured",
                  "installs",
                  "rating",
                  "rating_count",
                  "pricing",
                  "price_cents",
                  "transport",
                  "remote_url",
                  "hosted",
                  "installable",
                  "repo",
                  "homepage",
                  "tags",
                  "tools_count",
                  "security_level",
                  "health",
                  "published_at",
                  "updated_at"
                ]
              }
            },
            "description": "Comma-separated fields to return per item. `slug` is always included.",
            "style": "form",
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Server"
                      }
                    },
                    "has_more": {
                      "type": "boolean",
                      "description": "True when another page exists."
                    },
                    "next_cursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Pass as `cursor` to get the next page. Null on the last page."
                    },
                    "total": {
                      "type": "integer",
                      "description": "Total matches. Only when `count=true`."
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "next_cursor"
                  ]
                }
              }
            }
          },
          "304": {
            "description": "Not modified (ETag matched)."
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/servers/{slug}": {
      "get": {
        "operationId": "getServer",
        "tags": [
          "Servers"
        ],
        "summary": "Get a server card",
        "description": "Description, tools, env keys, security report and badge. `expand` adds install configs and similar servers.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Slug from the catalog.",
            "example": "github"
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "install",
                  "similar"
                ]
              }
            },
            "description": "Comma-separated: install, similar.",
            "style": "form",
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ServerDetail"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "304": {
            "description": "Not modified (ETag matched)."
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/servers/{slug}/tools": {
      "get": {
        "operationId": "getServerTools",
        "tags": [
          "Servers"
        ],
        "summary": "List the tools a server exposes",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Slug from the catalog.",
            "example": "github"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Tools"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "304": {
            "description": "Not modified (ETag matched)."
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/servers/{slug}/install": {
      "get": {
        "operationId": "getServerInstall",
        "tags": [
          "Servers"
        ],
        "summary": "Install config for a client",
        "description": "Deeplinks, CLI commands and config files for Claude Desktop, Claude Code, Cursor, VS Code, Codex and Windsurf. Remote servers get URL-based configs.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Slug from the catalog.",
            "example": "github"
          },
          {
            "name": "client",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "claude-desktop",
                "claude-code",
                "cursor",
                "vscode",
                "codex",
                "windsurf"
              ]
            },
            "description": "One client only. Default: all."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Install"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "304": {
            "description": "Not modified (ETag matched)."
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/servers/{slug}/security": {
      "get": {
        "operationId": "getServerSecurity",
        "tags": [
          "Servers"
        ],
        "summary": "Security check of a server",
        "description": "Risk level from source availability, review status and credentials the server asks for.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Slug from the catalog.",
            "example": "github"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Security"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "304": {
            "description": "Not modified (ETag matched)."
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/servers/{slug}/similar": {
      "get": {
        "operationId": "getSimilarServers",
        "tags": [
          "Servers"
        ],
        "summary": "Similar servers",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Slug from the catalog.",
            "example": "github"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 20,
              "default": 10
            },
            "description": "Items per page, 1–20."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Server"
                      }
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "304": {
            "description": "Not modified (ETag matched)."
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/servers/{slug}/badge": {
      "get": {
        "operationId": "getServerBadge",
        "tags": [
          "Servers"
        ],
        "summary": "README badge",
        "description": "SVG URL plus ready Markdown and HTML snippets.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Slug from the catalog.",
            "example": "github"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Badge"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "304": {
            "description": "Not modified (ETag matched)."
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/skills": {
      "get": {
        "operationId": "listSkills",
        "tags": [
          "Skills"
        ],
        "summary": "List and filter skills",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "description": "Keyword search.",
            "example": "pdf"
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 60
            }
          },
          {
            "name": "verified",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "no_scripts",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "description": "Only skills without executable scripts."
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "installs",
                "newest",
                "name"
              ],
              "default": "installs"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "description": "Items per page, 1–100."
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "description": "Opaque cursor from `next_cursor` of the previous page."
          },
          {
            "name": "count",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            },
            "description": "Also return `total` (one extra count query)."
          },
          {
            "name": "fields",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "slug",
                  "name",
                  "tagline",
                  "url",
                  "category",
                  "author",
                  "author_handle",
                  "icon",
                  "verified",
                  "featured",
                  "installs",
                  "stars",
                  "external_installs",
                  "pricing",
                  "source",
                  "repo",
                  "path",
                  "branch",
                  "license",
                  "tags",
                  "has_scripts",
                  "allowed_tools",
                  "install_scope",
                  "health",
                  "updated_at"
                ]
              }
            },
            "description": "Comma-separated fields to return per item. `slug` is always included.",
            "style": "form",
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Skill"
                      }
                    },
                    "has_more": {
                      "type": "boolean",
                      "description": "True when another page exists."
                    },
                    "next_cursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Pass as `cursor` to get the next page. Null on the last page."
                    },
                    "total": {
                      "type": "integer",
                      "description": "Total matches. Only when `count=true`."
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "next_cursor"
                  ]
                }
              }
            }
          },
          "304": {
            "description": "Not modified (ETag matched)."
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/skills/{slug}": {
      "get": {
        "operationId": "getSkill",
        "tags": [
          "Skills"
        ],
        "summary": "Get a skill card",
        "description": "Includes install commands and a security report. `expand=skill_md` adds the full SKILL.md.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Slug from the catalog.",
            "example": "docx"
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "skill_md"
                ]
              }
            },
            "style": "form",
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/SkillDetail"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "304": {
            "description": "Not modified (ETag matched)."
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/skills/{slug}/install": {
      "get": {
        "operationId": "getSkillInstall",
        "tags": [
          "Skills"
        ],
        "summary": "Install commands for a skill",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Slug from the catalog.",
            "example": "docx"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/SkillInstall"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "304": {
            "description": "Not modified (ETag matched)."
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/categories": {
      "get": {
        "operationId": "listCategories",
        "tags": [
          "Catalog"
        ],
        "summary": "Halls (categories) with counts",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "servers",
                "skills"
              ],
              "default": "servers"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Category"
                      }
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "304": {
            "description": "Not modified (ETag matched)."
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/search": {
      "get": {
        "operationId": "search",
        "tags": [
          "Search"
        ],
        "summary": "Keyword search across servers and skills",
        "description": "Stemmed full-text search with synonyms, in English and Russian.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "What to find.",
            "example": "postgres"
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "servers",
                "skills"
              ],
              "default": "all"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 20,
              "default": 5
            },
            "description": "Results per type, 1–20."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/SearchResult"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "304": {
            "description": "Not modified (ETag matched)."
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/search/semantic": {
      "post": {
        "operationId": "semanticSearch",
        "tags": [
          "Search"
        ],
        "summary": "Find servers for a task",
        "description": "Describe the task in plain words; an LLM picks up to 6 servers and explains why. Costs 10 quota units and has its own daily cap.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/SemanticResult"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 10,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "query": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 500,
                    "description": "The task in plain words.",
                    "examples": [
                      "read my Gmail and summarise unread threads"
                    ]
                  }
                },
                "required": [
                  "query"
                ]
              },
              "example": {
                "query": "read my Gmail and summarise unread threads"
              }
            }
          }
        },
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/trending": {
      "get": {
        "operationId": "trending",
        "tags": [
          "Catalog"
        ],
        "summary": "Most installed right now",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "servers",
                "skills"
              ],
              "default": "servers"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "description": "Items per page, 1–100."
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "description": "Opaque cursor from `next_cursor` of the previous page."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "$ref": "#/components/schemas/Server"
                          },
                          {
                            "$ref": "#/components/schemas/Skill"
                          }
                        ]
                      }
                    },
                    "has_more": {
                      "type": "boolean",
                      "description": "True when another page exists."
                    },
                    "next_cursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Pass as `cursor` to get the next page. Null on the last page."
                    },
                    "total": {
                      "type": "integer",
                      "description": "Total matches. Only when `count=true`."
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "next_cursor"
                  ]
                }
              }
            }
          },
          "304": {
            "description": "Not modified (ETag matched)."
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/new": {
      "get": {
        "operationId": "newArrivals",
        "tags": [
          "Catalog"
        ],
        "summary": "New arrivals",
        "description": "Servers ordered by their latest release, skills by their latest commit.",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "servers",
                "skills"
              ],
              "default": "servers"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "description": "Items per page, 1–100."
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "description": "Opaque cursor from `next_cursor` of the previous page."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "$ref": "#/components/schemas/Server"
                          },
                          {
                            "$ref": "#/components/schemas/Skill"
                          }
                        ]
                      }
                    },
                    "has_more": {
                      "type": "boolean",
                      "description": "True when another page exists."
                    },
                    "next_cursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Pass as `cursor` to get the next page. Null on the last page."
                    },
                    "total": {
                      "type": "integer",
                      "description": "Total matches. Only when `count=true`."
                    }
                  },
                  "required": [
                    "data",
                    "has_more",
                    "next_cursor"
                  ]
                }
              }
            }
          },
          "304": {
            "description": "Not modified (ETag matched)."
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/stats": {
      "get": {
        "operationId": "getStats",
        "tags": [
          "Catalog"
        ],
        "summary": "Live catalog size",
        "description": "Recomputed every 10 minutes.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Stats"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "304": {
            "description": "Not modified (ETag matched)."
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/me": {
      "get": {
        "operationId": "getMe",
        "tags": [
          "Account"
        ],
        "summary": "Who am I, plan and remaining quota",
        "description": "Works without a key too: then it shows the anonymous per-IP limits. Does not spend quota.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Me"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 0,
        "security": [
          {},
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/submissions": {
      "post": {
        "operationId": "createSubmission",
        "tags": [
          "Publishing"
        ],
        "summary": "Submit a server or skill for review",
        "description": "Queues a GitHub repository for review. The account email of the key owner is used for follow-up. Up to 20 submissions a day per account.",
        "parameters": [],
        "responses": {
          "201": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Submission"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The key lacks the write:submissions scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "server",
                      "skill"
                    ],
                    "default": "server"
                  },
                  "repo": {
                    "type": "string",
                    "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{0,38}\\/[a-zA-Z0-9._-]{1,100}$",
                    "description": "GitHub repository as owner/name.",
                    "examples": [
                      "acme/acme-mcp"
                    ]
                  },
                  "name": {
                    "type": "string",
                    "maxLength": 80
                  },
                  "tagline": {
                    "type": "string",
                    "maxLength": 140,
                    "description": "One line about what it does."
                  },
                  "category": {
                    "type": "string",
                    "maxLength": 60,
                    "description": "Hall id from GET /categories."
                  }
                },
                "required": [
                  "repo"
                ]
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-required-scope": "write:submissions"
      }
    },
    "/installs": {
      "post": {
        "operationId": "reportInstall",
        "tags": [
          "Publishing"
        ],
        "summary": "Report an install",
        "description": "For clients and installers built on the catalog. Counted once per account, item and day so rankings stay honest.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/InstallEvent"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The key lacks the write:installs scope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or quota exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Limit": {
                "description": "Requests allowed per minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "Requests left this minute.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix time when the minute window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Limit": {
                "description": "The tighter of the daily and monthly quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Remaining": {
                "description": "Units left in that quota.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Quota-Reset": {
                "description": "Unix time when that quota resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-Request-Id": {
                "description": "Quote it when contacting support.",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-cost-units": 1,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "server",
                      "skill"
                    ],
                    "default": "server"
                  },
                  "slug": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200,
                    "examples": [
                      "github"
                    ]
                  },
                  "client": {
                    "type": "string",
                    "enum": [
                      "claude-desktop",
                      "claude-code",
                      "cursor",
                      "vscode",
                      "codex",
                      "windsurf",
                      "hosted",
                      "other"
                    ],
                    "default": "other"
                  }
                },
                "required": [
                  "slug"
                ]
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-required-scope": "write:installs"
      }
    }
  },
  "components": {
    "schemas": {
      "Badge": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "svg_url": {
            "type": "string",
            "format": "uri"
          },
          "page_url": {
            "type": "string",
            "format": "uri"
          },
          "markdown": {
            "type": "string"
          },
          "html": {
            "type": "string"
          }
        },
        "required": [
          "slug",
          "svg_url",
          "page_url",
          "markdown",
          "html"
        ]
      },
      "Category": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "examples": [
              "development"
            ]
          },
          "label": {
            "type": "string"
          },
          "icon": {
            "type": [
              "string",
              "null"
            ]
          },
          "count": {
            "type": "integer"
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "id",
          "label",
          "icon",
          "count",
          "url"
        ]
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "examples": [
                  "rate_limited"
                ]
              },
              "message": {
                "type": "string"
              },
              "doc_url": {
                "type": "string",
                "format": "uri"
              },
              "request_id": {
                "type": "string"
              },
              "details": {
                "type": "object",
                "additionalProperties": {}
              }
            },
            "required": [
              "code",
              "message",
              "doc_url",
              "request_id"
            ]
          }
        },
        "required": [
          "error"
        ]
      },
      "Install": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "installable": {
            "type": "boolean"
          },
          "transport": {
            "type": "string",
            "enum": [
              "stdio",
              "http"
            ]
          },
          "build_from_source": {
            "type": [
              "string",
              "null"
            ],
            "description": "Repo URL when there is no one-step install."
          },
          "env_keys": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Env vars the server expects you to fill in."
          },
          "clients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InstallClient"
            }
          }
        },
        "required": [
          "slug",
          "installable",
          "transport",
          "build_from_source",
          "env_keys",
          "clients"
        ],
        "description": "Only with `expand=install`."
      },
      "InstallClient": {
        "type": "object",
        "properties": {
          "client": {
            "type": "string",
            "enum": [
              "claude-desktop",
              "claude-code",
              "cursor",
              "vscode",
              "codex",
              "windsurf"
            ]
          },
          "label": {
            "type": "string"
          },
          "deeplink": {
            "type": [
              "string",
              "null"
            ],
            "description": "Opens the client and installs in place."
          },
          "command": {
            "type": [
              "string",
              "null"
            ],
            "description": "Shell command to run."
          },
          "config_path": {
            "type": [
              "string",
              "null"
            ],
            "description": "File to paste `config_text` into."
          },
          "config_format": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "json",
              "toml"
            ]
          },
          "config": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "description": "Parsed config (JSON clients) to merge programmatically."
          },
          "config_text": {
            "type": [
              "string",
              "null"
            ],
            "description": "Exact text to paste."
          }
        },
        "required": [
          "client",
          "label",
          "deeplink",
          "command",
          "config_path",
          "config_format",
          "config",
          "config_text"
        ]
      },
      "InstallEvent": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "server",
              "skill"
            ]
          },
          "counted": {
            "type": "boolean",
            "description": "False when this account already reported this install today."
          }
        },
        "required": [
          "slug",
          "kind",
          "counted"
        ]
      },
      "Me": {
        "type": "object",
        "properties": {
          "user": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "email": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "id",
              "email",
              "name"
            ]
          },
          "key": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "prefix": {
                "type": "string"
              },
              "scopes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "id",
              "name",
              "prefix",
              "scopes"
            ]
          },
          "plan": {
            "type": "string",
            "enum": [
              "anonymous",
              "free",
              "pro",
              "team",
              "business"
            ]
          },
          "limits": {
            "type": "object",
            "properties": {
              "per_minute": {
                "type": "integer"
              },
              "per_day": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "per_month": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "semantic_per_day": {
                "type": [
                  "integer",
                  "null"
                ]
              }
            },
            "required": [
              "per_minute",
              "per_day",
              "per_month",
              "semantic_per_day"
            ]
          },
          "usage": {
            "type": "object",
            "properties": {
              "minute": {
                "$ref": "#/components/schemas/UsageWindow"
              },
              "day": {
                "$ref": "#/components/schemas/UsageWindow"
              },
              "month": {
                "$ref": "#/components/schemas/UsageWindow"
              },
              "semantic": {
                "$ref": "#/components/schemas/UsageWindow"
              }
            },
            "required": [
              "minute",
              "day",
              "month",
              "semantic"
            ]
          },
          "upgrade_url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "user",
          "key",
          "plan",
          "limits",
          "usage",
          "upgrade_url"
        ]
      },
      "SearchResult": {
        "type": "object",
        "properties": {
          "servers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Server"
            }
          },
          "skills": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Skill"
            }
          }
        },
        "required": [
          "servers",
          "skills"
        ]
      },
      "Security": {
        "type": "object",
        "properties": {
          "level": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high",
              "unknown"
            ],
            "description": "low · medium · high risk; unknown until scanned."
          },
          "flags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "open-source",
                "requests-secrets"
              ]
            ]
          },
          "secret_env_keys": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Env vars that look like credentials."
          },
          "scanned_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "level",
          "flags",
          "secret_env_keys",
          "scanned_at"
        ]
      },
      "SemanticResult": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string"
          },
          "reasoning": {
            "type": [
              "string",
              "null"
            ]
          },
          "fallback": {
            "type": "boolean",
            "description": "True when the AI step was unavailable and keyword search answered."
          },
          "matches": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "slug": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "tagline": {
                  "type": "string"
                },
                "category": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "pricing": {
                  "type": "string"
                },
                "reason": {
                  "type": "string",
                  "description": "Why this server fits the task."
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "slug",
                "name",
                "tagline",
                "category",
                "pricing",
                "reason",
                "url"
              ]
            }
          },
          "install_config_text": {
            "type": [
              "string",
              "null"
            ],
            "description": "One Claude Desktop config with every match."
          }
        },
        "required": [
          "query",
          "reasoning",
          "fallback",
          "matches",
          "install_config_text"
        ]
      },
      "Server": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "Stable identifier used in every server URL.",
            "examples": [
              "github"
            ]
          },
          "name": {
            "type": "string",
            "examples": [
              "GitHub"
            ]
          },
          "tagline": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Catalog page on unyly.org."
          },
          "category": {
            "type": [
              "string",
              "null"
            ],
            "description": "Hall id, see GET /categories."
          },
          "author": {
            "type": "string"
          },
          "author_handle": {
            "type": [
              "string",
              "null"
            ]
          },
          "icon": {
            "type": [
              "string",
              "null"
            ],
            "description": "Emoji or image URL."
          },
          "verified": {
            "type": "boolean",
            "description": "Passed a manual review by Unyly."
          },
          "featured": {
            "type": "boolean"
          },
          "installs": {
            "type": "integer",
            "description": "Installs counted by Unyly."
          },
          "rating": {
            "type": "number"
          },
          "rating_count": {
            "type": "integer"
          },
          "pricing": {
            "type": "string",
            "enum": [
              "free",
              "pro",
              "paid"
            ]
          },
          "price_cents": {
            "type": [
              "integer",
              "null"
            ]
          },
          "transport": {
            "type": "string",
            "enum": [
              "stdio",
              "http"
            ],
            "description": "stdio runs locally, http is a remote URL."
          },
          "remote_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "hosted": {
            "type": "boolean",
            "description": "Can run in the Unyly cloud."
          },
          "installable": {
            "type": "boolean",
            "description": "Has a one-step install (package or remote URL)."
          },
          "repo": {
            "type": [
              "string",
              "null"
            ]
          },
          "homepage": {
            "type": [
              "string",
              "null"
            ]
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tools_count": {
            "type": "integer"
          },
          "security_level": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high",
              "unknown"
            ]
          },
          "health": {
            "type": "string",
            "enum": [
              "healthy",
              "stale",
              "dead",
              "unknown"
            ]
          },
          "published_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "slug",
          "name",
          "tagline",
          "url",
          "category",
          "author",
          "author_handle",
          "icon",
          "verified",
          "featured",
          "installs",
          "rating",
          "rating_count",
          "pricing",
          "price_cents",
          "transport",
          "remote_url",
          "hosted",
          "installable",
          "repo",
          "homepage",
          "tags",
          "tools_count",
          "security_level",
          "health",
          "published_at",
          "updated_at"
        ]
      },
      "ServerDetail": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "Stable identifier used in every server URL.",
            "examples": [
              "github"
            ]
          },
          "name": {
            "type": "string",
            "examples": [
              "GitHub"
            ]
          },
          "tagline": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Catalog page on unyly.org."
          },
          "category": {
            "type": [
              "string",
              "null"
            ],
            "description": "Hall id, see GET /categories."
          },
          "author": {
            "type": "string"
          },
          "author_handle": {
            "type": [
              "string",
              "null"
            ]
          },
          "icon": {
            "type": [
              "string",
              "null"
            ],
            "description": "Emoji or image URL."
          },
          "verified": {
            "type": "boolean",
            "description": "Passed a manual review by Unyly."
          },
          "featured": {
            "type": "boolean"
          },
          "installs": {
            "type": "integer",
            "description": "Installs counted by Unyly."
          },
          "rating": {
            "type": "number"
          },
          "rating_count": {
            "type": "integer"
          },
          "pricing": {
            "type": "string",
            "enum": [
              "free",
              "pro",
              "paid"
            ]
          },
          "price_cents": {
            "type": [
              "integer",
              "null"
            ]
          },
          "transport": {
            "type": "string",
            "enum": [
              "stdio",
              "http"
            ],
            "description": "stdio runs locally, http is a remote URL."
          },
          "remote_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "hosted": {
            "type": "boolean",
            "description": "Can run in the Unyly cloud."
          },
          "installable": {
            "type": "boolean",
            "description": "Has a one-step install (package or remote URL)."
          },
          "repo": {
            "type": [
              "string",
              "null"
            ]
          },
          "homepage": {
            "type": [
              "string",
              "null"
            ]
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tools_count": {
            "type": "integer"
          },
          "security_level": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high",
              "unknown"
            ]
          },
          "health": {
            "type": "string",
            "enum": [
              "healthy",
              "stale",
              "dead",
              "unknown"
            ]
          },
          "published_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string"
          },
          "tools": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Tool names the server exposes, when known."
          },
          "env_keys": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "setup": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            }
          },
          "security": {
            "$ref": "#/components/schemas/Security"
          },
          "badge": {
            "$ref": "#/components/schemas/Badge"
          },
          "install": {
            "$ref": "#/components/schemas/Install"
          },
          "similar": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Server"
            },
            "description": "Only with `expand=similar`."
          }
        },
        "required": [
          "slug",
          "name",
          "tagline",
          "url",
          "category",
          "author",
          "author_handle",
          "icon",
          "verified",
          "featured",
          "installs",
          "rating",
          "rating_count",
          "pricing",
          "price_cents",
          "transport",
          "remote_url",
          "hosted",
          "installable",
          "repo",
          "homepage",
          "tags",
          "tools_count",
          "security_level",
          "health",
          "published_at",
          "updated_at",
          "description",
          "tools",
          "env_keys",
          "setup",
          "security",
          "badge"
        ]
      },
      "Skill": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "examples": [
              "frontend-design"
            ]
          },
          "name": {
            "type": "string"
          },
          "tagline": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "category": {
            "type": [
              "string",
              "null"
            ]
          },
          "author": {
            "type": "string"
          },
          "author_handle": {
            "type": [
              "string",
              "null"
            ]
          },
          "icon": {
            "type": [
              "string",
              "null"
            ]
          },
          "verified": {
            "type": "boolean"
          },
          "featured": {
            "type": "boolean"
          },
          "installs": {
            "type": "integer"
          },
          "stars": {
            "type": "integer",
            "description": "GitHub stars of the source repo."
          },
          "external_installs": {
            "type": "integer",
            "description": "Installs reported by other skill registries."
          },
          "pricing": {
            "type": "string",
            "enum": [
              "free",
              "pro",
              "paid"
            ]
          },
          "source": {
            "type": "string",
            "enum": [
              "github",
              "clawhub"
            ]
          },
          "repo": {
            "type": [
              "string",
              "null"
            ]
          },
          "path": {
            "type": [
              "string",
              "null"
            ],
            "description": "Folder with SKILL.md inside the repo."
          },
          "branch": {
            "type": [
              "string",
              "null"
            ]
          },
          "license": {
            "type": [
              "string",
              "null"
            ]
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "has_scripts": {
            "type": "boolean",
            "description": "Bundles executable scripts."
          },
          "allowed_tools": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "install_scope": {
            "type": "string",
            "enum": [
              "personal",
              "project",
              "plugin"
            ]
          },
          "health": {
            "type": "string",
            "enum": [
              "healthy",
              "stale",
              "dead",
              "unknown"
            ]
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "slug",
          "name",
          "tagline",
          "url",
          "category",
          "author",
          "author_handle",
          "icon",
          "verified",
          "featured",
          "installs",
          "stars",
          "external_installs",
          "pricing",
          "source",
          "repo",
          "path",
          "branch",
          "license",
          "tags",
          "has_scripts",
          "allowed_tools",
          "install_scope",
          "health",
          "updated_at"
        ]
      },
      "SkillDetail": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "examples": [
              "frontend-design"
            ]
          },
          "name": {
            "type": "string"
          },
          "tagline": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "category": {
            "type": [
              "string",
              "null"
            ]
          },
          "author": {
            "type": "string"
          },
          "author_handle": {
            "type": [
              "string",
              "null"
            ]
          },
          "icon": {
            "type": [
              "string",
              "null"
            ]
          },
          "verified": {
            "type": "boolean"
          },
          "featured": {
            "type": "boolean"
          },
          "installs": {
            "type": "integer"
          },
          "stars": {
            "type": "integer",
            "description": "GitHub stars of the source repo."
          },
          "external_installs": {
            "type": "integer",
            "description": "Installs reported by other skill registries."
          },
          "pricing": {
            "type": "string",
            "enum": [
              "free",
              "pro",
              "paid"
            ]
          },
          "source": {
            "type": "string",
            "enum": [
              "github",
              "clawhub"
            ]
          },
          "repo": {
            "type": [
              "string",
              "null"
            ]
          },
          "path": {
            "type": [
              "string",
              "null"
            ],
            "description": "Folder with SKILL.md inside the repo."
          },
          "branch": {
            "type": [
              "string",
              "null"
            ]
          },
          "license": {
            "type": [
              "string",
              "null"
            ]
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "has_scripts": {
            "type": "boolean",
            "description": "Bundles executable scripts."
          },
          "allowed_tools": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "install_scope": {
            "type": "string",
            "enum": [
              "personal",
              "project",
              "plugin"
            ]
          },
          "health": {
            "type": "string",
            "enum": [
              "healthy",
              "stale",
              "dead",
              "unknown"
            ]
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string"
          },
          "resources": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "security": {
            "$ref": "#/components/schemas/SkillSecurity"
          },
          "install": {
            "$ref": "#/components/schemas/SkillInstall"
          },
          "skill_md": {
            "type": "string",
            "description": "Full SKILL.md. Only with `expand=skill_md`."
          }
        },
        "required": [
          "slug",
          "name",
          "tagline",
          "url",
          "category",
          "author",
          "author_handle",
          "icon",
          "verified",
          "featured",
          "installs",
          "stars",
          "external_installs",
          "pricing",
          "source",
          "repo",
          "path",
          "branch",
          "license",
          "tags",
          "has_scripts",
          "allowed_tools",
          "install_scope",
          "health",
          "updated_at",
          "description",
          "resources",
          "security",
          "install"
        ]
      },
      "SkillInstall": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "target_dir": {
            "type": "string",
            "description": "Where the skill folder goes."
          },
          "commands": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "method": {
                  "type": "string",
                  "enum": [
                    "skills-cli",
                    "claude-plugin",
                    "clawhub",
                    "degit",
                    "manual"
                  ]
                },
                "label": {
                  "type": "string"
                },
                "command": {
                  "type": "string"
                }
              },
              "required": [
                "method",
                "label",
                "command"
              ]
            }
          }
        },
        "required": [
          "slug",
          "target_dir",
          "commands"
        ]
      },
      "SkillSecurity": {
        "type": "object",
        "properties": {
          "level": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high",
              "unknown"
            ]
          },
          "flags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "powerful_tools": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "level",
          "flags",
          "powerful_tools"
        ]
      },
      "Stats": {
        "type": "object",
        "properties": {
          "servers": {
            "type": "integer",
            "description": "Published public MCP servers."
          },
          "servers_display": {
            "type": "string",
            "description": "Rounded figure used across the site, e.g. \"128,000+\"."
          },
          "skills": {
            "type": "integer"
          },
          "remote_servers": {
            "type": "integer"
          },
          "security_scanned": {
            "type": "integer"
          },
          "with_tools": {
            "type": "integer"
          },
          "new_last_7d": {
            "type": "integer"
          },
          "by_source": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string"
                },
                "count": {
                  "type": "integer"
                }
              },
              "required": [
                "label",
                "count"
              ]
            }
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "servers",
          "servers_display",
          "skills",
          "remote_servers",
          "security_scanned",
          "with_tools",
          "new_last_7d",
          "by_source",
          "updated_at"
        ]
      },
      "Submission": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "server",
              "skill"
            ]
          },
          "repo": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "repo",
          "status"
        ]
      },
      "Tools": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "count": {
            "type": "integer"
          },
          "tools": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "name"
              ]
            }
          }
        },
        "required": [
          "slug",
          "count",
          "tools"
        ]
      },
      "UsageWindow": {
        "type": "object",
        "properties": {
          "limit": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Null when the window has no cap."
          },
          "used": {
            "type": "integer"
          },
          "remaining": {
            "type": [
              "integer",
              "null"
            ]
          },
          "reset_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "limit",
          "used",
          "remaining",
          "reset_at"
        ]
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "uk_live_…",
        "description": "Create keys at https://unyly.org/account/api."
      }
    }
  },
  "x-error-codes": {
    "invalid_request": {
      "status": 400,
      "message": "The request is malformed."
    },
    "invalid_json": {
      "status": 400,
      "message": "The request body is not valid JSON."
    },
    "invalid_parameter": {
      "status": 400,
      "message": "A parameter is missing or invalid."
    },
    "invalid_cursor": {
      "status": 400,
      "message": "The cursor is invalid or belongs to another query."
    },
    "unauthorized": {
      "status": 401,
      "message": "This endpoint needs an API key."
    },
    "invalid_api_key": {
      "status": 401,
      "message": "The API key is invalid or has been revoked."
    },
    "insufficient_scope": {
      "status": 403,
      "message": "The API key lacks the scope this endpoint needs."
    },
    "not_found": {
      "status": 404,
      "message": "Nothing exists at this path."
    },
    "server_not_found": {
      "status": 404,
      "message": "No public MCP server with this slug."
    },
    "skill_not_found": {
      "status": 404,
      "message": "No public skill with this slug."
    },
    "method_not_allowed": {
      "status": 405,
      "message": "This method is not supported on this path."
    },
    "already_listed": {
      "status": 409,
      "message": "This repository is already in the catalog."
    },
    "already_submitted": {
      "status": 409,
      "message": "This repository is already waiting for review."
    },
    "payload_too_large": {
      "status": 413,
      "message": "The request body is too large."
    },
    "rate_limited": {
      "status": 429,
      "message": "Too many requests per minute. Slow down and retry."
    },
    "quota_exceeded": {
      "status": 429,
      "message": "The plan quota for this period is used up."
    },
    "internal_error": {
      "status": 500,
      "message": "Something went wrong on our side."
    },
    "upstream_unavailable": {
      "status": 503,
      "message": "A dependency is temporarily unavailable."
    }
  }
}