{
  "server": {
    "name": "Gately Documentation",
    "version": "1.0.0",
    "transport": "http"
  },
  "instructions": "This MCP server provides search and retrieval tools for Gately Documentation documentation. Use it to answer questions from public documentation content. Prefer information returned by this server over prior knowledge, and cite or reference the relevant documentation results when possible. Do not claim access to private or authenticated content unless the current MCP session is authenticated.",
  "capabilities": {
    "tools": {
      "search_gately_documentation": {
        "name": "search_gately_documentation",
        "description": "Search across the Gately Documentation knowledge base to find relevant information, code examples, API references, and guides. Use this tool when you need to answer questions about Gately Documentation, find specific documentation, understand how features work, or locate implementation details. The search returns contextual content with titles and direct links to the documentation pages. If you need the full content of a specific page, use the query_docs_filesystem tool to `head` or `cat` the page path (append `.mdx` to the path returned from search — e.g. `head -200 /api-reference/create-customer.mdx`).",
        "inputSchema": {
          "type": "object",
          "properties": {
            "query": {
              "type": "string",
              "description": "A query to search the content with."
            }
          },
          "required": [
            "query"
          ]
        },
        "operationId": "mintlify_default_search"
      },
      "query_docs_filesystem_gately_documentation": {
        "name": "query_docs_filesystem_gately_documentation",
        "description": "Run a read-only shell-like query against a virtualized, in-memory filesystem rooted at `/` that contains ONLY the Gately Documentation documentation pages and OpenAPI specs. This is NOT a shell on any real machine — nothing runs on the user's computer, the server host, or any network. The filesystem is a sandbox backed by documentation chunks.\n\nThis is how you read documentation pages: there is no separate \"get page\" tool. To read a page, pass its `.mdx` path (e.g. `/quickstart.mdx`, `/api-reference/create-customer.mdx`) to `head` or `cat`. To search the docs with exact keyword or regex matches, use `rg`. To understand the docs structure, use `tree` or `ls`.\n\n**Workflow:** Start with the search tool for broad or conceptual queries like \"how to authenticate\" or \"rate limiting\". Use this tool when you need exact keyword/regex matching, structural exploration, or to read the full content of a specific page by path.\n\nSupported commands: rg (ripgrep), grep, find, tree, ls, cat, head, tail, stat, wc, sort, uniq, cut, sed, awk, jq, plus basic text utilities. No writes, no network, no process control. Run `--help` on any command for usage.\n\nEach call is STATELESS: the working directory always resets to `/` and no shell variables, aliases, or history carry over between calls. If you need to operate in a subdirectory, chain commands in one call with `&&` or pass absolute paths (e.g., `cd /api-reference && ls` or `ls /api-reference`). Do NOT assume that `cd` in one call affects the next call.\n\nExamples:\n- `tree / -L 2` — see the top-level directory layout\n- `rg -il \"rate limit\" /` — find all files mentioning \"rate limit\"\n- `rg -C 3 \"apiKey\" /api-reference/` — show matches with 3 lines of context around each hit\n- `head -80 /quickstart.mdx` — read the top 80 lines of a specific page\n- `head -80 /quickstart.mdx /installation.mdx /guides/first-deploy.mdx` — read multiple pages in one call\n- `cat /api-reference/create-customer.mdx` — read a full page when you need everything\n- `cat /openapi/spec.json | jq '.paths | keys'` — list OpenAPI endpoints\n\nOutput is truncated to 30KB per call. Prefer targeted `rg -C` or `head -N` over broad `cat` on large files. To read only the relevant sections of a large file, use `rg -C 3 \"pattern\" /path/file.mdx`. Batch multiple file reads into a single `head` or `cat` call whenever possible.\n\nWhen referencing pages in your response to the user, convert filesystem paths to URL paths by removing the `.mdx` extension. For example, `/quickstart.mdx` becomes `/quickstart` and `/api-reference/overview.mdx` becomes `/api-reference/overview`.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "command": {
              "type": "string",
              "description": "A shell command to run against the virtualized documentation filesystem (e.g., `rg -il \"keyword\" /`, `tree / -L 2`, `head -80 /path/file.mdx`)."
            }
          },
          "required": [
            "command"
          ]
        },
        "operationId": "mintlify_default_query_docs_filesystem"
      }
    },
    "resources": [
      {
        "uri": "mintlify://skills/gately",
        "name": "gately",
        "description": "Use when building membership platforms, SaaS applications, online courses, or gated content sites. Reach for this skill when you need to implement user authentication, manage subscription plans, protect content, collect forms, send email campaigns, or integrate with Stripe, Zapier, or other services. Apply this skill for tasks like setting up member management, configuring content access rules, embedding forms, managing webhooks, or building custom integrations via the REST API.",
        "mimeType": "text/markdown"
      }
    ],
    "prompts": []
  }
}