Skip to main content
Glama
Hoppscotch Public Docs MCP

Hoppscotch Public Docs MCP

by KidiXDev

Hoppscotch Public Docs MCP

A read-only MCP server for published Hoppscotch API documentation. Search requests, inspect endpoint details, and read saved response examples. It uses Hoppscotch's public documentation endpoint; no Hoppscotch account or token is required.

Installation

For Agents

Copy one of these prompts and paste it into your MCP-capable AI agent.

Using uv

Install the Hoppscotch Public Docs MCP server for this AI client from https://github.com/KidiXDev/hoppscotch-public-docs-mcp.

Follow the repository README and install it using uv. Install uv first if needed.

Configure this client to run:
hoppscotch-public-docs-mcp

Do not set a default Hoppscotch document URL. I will give you a published URL for each project; pass it as doc_url on every tool call.

Verify that the server exposes get_document, search_documentation, list_endpoints, and get_endpoint.

Tell me what you configured and whether I need to restart the client.

Using Docker

Install the Hoppscotch Public Docs MCP server for this AI client from https://github.com/KidiXDev/hoppscotch-public-docs-mcp.

Use the prebuilt Docker image:
ghcr.io/kidixdev/hoppscotch-public-docs-mcp:latest

Configure this client to run the MCP server over stdio using:
docker run --rm -i ghcr.io/kidixdev/hoppscotch-public-docs-mcp:latest

Do not set a default Hoppscotch document URL. I will give you a published URL for each project; pass it as doc_url on every tool call.

Verify that the server exposes get_document, search_documentation, list_endpoints, and get_endpoint.

Tell me what you configured and whether I need to restart the client.

For Humans

Using uv

Requires Python 3.10+ and uv.

Install directly from GitHub:

uv tool install git+https://github.com/KidiXDev/hoppscotch-public-docs-mcp.git

Or install from a checkout:

uv tool install .

Then configure your MCP client.

To check a published document:

hoppscotch-public-docs-mcp --check https://api-docs.hoppscotch.io/view/YOUR_DOC_ID

If the command is not found after installation, run uv tool update-shell, reopen your terminal, or use the executable's absolute path in your MCP client.

Using Docker

Pull the prebuilt image:

docker pull ghcr.io/kidixdev/hoppscotch-public-docs-mcp:latest

Check a published document:

docker run --rm \
  ghcr.io/kidixdev/hoppscotch-public-docs-mcp:latest \
  --check https://api-docs.hoppscotch.io/view/YOUR_DOC_ID

For an MCP client's stdio configuration, use:

docker run --rm -i ghcr.io/kidixdev/hoppscotch-public-docs-mcp:latest

Keep -i and do not detach the container.

Related MCP server: CHECK-MODULE MCP Server

Choose a document per call

Start the server without a document URL. Pass the project's published /view/<slug> URL as doc_url on each tool call, optionally ending in a version.

For example:

search_documentation(
  query="tenant",
  doc_url="https://api-docs.hoppscotch.io/view/YOUR_DOC_ID"
)

Include the relevant URL in your request to the agent so it can pass the right URL for each project.

Without a document URL, a tool call returns an error.

For compatible self-hosted deployments, these optional settings change where the server reads published docs:

Variable

Purpose

Default

HOPPSCOTCH_DOCS_ORIGIN

Allowed public viewer origin

https://api-docs.hoppscotch.io

HOPPSCOTCH_API_BASE_URL

Backend base URL for compatible self-hosted deployments

https://api.hoppscotch.io/v1

For a self-hosted deployment using the same /v1/published-docs route, set both values to that deployment's viewer origin and backend /v1 URL.

Per-call doc_url values must match the configured viewer origin.

MCP tools

Tool

What it returns

get_document(doc_url="")

Title, version, folder names, environment variable names, and endpoint count

search_documentation(query, doc_url="", offset=0, limit=10)

Ranked, short endpoint summaries for API concepts in a task; up to 50 per page

list_endpoints(query="", doc_url="", offset=0, limit=50)

Exact text matches by folder, name, method, URL, or description; up to 100 per page

get_endpoint(request_id, doc_url="", response_name="")

Request details and available response names; the named saved response when requested

Manual MCP client setup

These configurations start a stdio server without selecting a project.

Give your agent the published URL for the project you are working on; it passes that URL as doc_url when calling tools.

The server normally prints nothing in a terminal because it exchanges protocol messages over stdin/stdout.

The examples below use the uv installation.

If you use Docker, replace the executable with:

{
  "command": "docker",
  "args": [
    "run",
    "--rm",
    "-i",
    "ghcr.io/kidixdev/hoppscotch-public-docs-mcp:latest"
  ]
}

Codex

Add this to ~/.codex/config.toml or a project .codex/config.toml:

[mcp_servers.hoppscotch_docs]
command = "hoppscotch-public-docs-mcp"

Run:

codex mcp list

See the Codex MCP guide.

Claude Code

claude mcp add --scope user --transport stdio hoppscotch-docs -- hoppscotch-public-docs-mcp
claude mcp get hoppscotch-docs

See the Claude Code MCP guide.

For Claude Desktop, edit ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows, then fully restart the app:

{
  "mcpServers": {
    "hoppscotch-docs": {
      "command": "hoppscotch-public-docs-mcp"
    }
  }
}

Use the command's absolute path if Claude Desktop cannot find it.

See the MCP Python SDK host guide.

Google Antigravity

In the IDE, open:

MCP Servers → Manage MCP Servers → View raw config

In Antigravity CLI, edit ~/.gemini/config/mcp_config.json or .agents/mcp_config.json in a workspace:

{
  "mcpServers": {
    "hoppscotch-docs": {
      "command": "hoppscotch-public-docs-mcp"
    }
  }
}

See the Antigravity MCP guide.

GitHub Copilot

For Copilot in VS Code, create .vscode/mcp.json in your project or use MCP: Open User Configuration:

{
  "servers": {
    "hoppscotch-docs": {
      "type": "stdio",
      "command": "hoppscotch-public-docs-mcp"
    }
  }
}

Use Copilot Chat Agent mode and enable the server in its tools picker.

For Copilot CLI:

copilot mcp add hoppscotch-docs -- hoppscotch-public-docs-mcp
copilot mcp get hoppscotch-docs

The CLI also accepts a portable ~/.copilot/mcp-config.json with a top-level mcpServers object. VS Code's .vscode/mcp.json uses servers.

See VS Code's MCP configuration reference and the Copilot CLI MCP guide.

HTTP transport

To run an HTTP server locally with Docker:

docker run --rm \
  -p 127.0.0.1:8000:8000 \
  ghcr.io/kidixdev/hoppscotch-public-docs-mcp:latest \
  --http \
  --host 0.0.0.0

Connect a Streamable HTTP MCP client to:

http://127.0.0.1:8000/mcp

Pass doc_url to each tool call.

For a local Python process:

hoppscotch-public-docs-mcp --http

Develop

uv run python -m unittest -v
uv run hoppscotch-public-docs-mcp --check https://api-docs.hoppscotch.io/view/YOUR_DOC_ID

Build the Docker image locally:

docker build -t hoppscotch-public-docs-mcp .

License

This project is licensed under MIT.

Available Tools

4 tools
get_documentB

Get a published document's title, versions, folders, variables, and endpoint count.

Inputs: doc_url.

get_endpointA

Get full request details for an ID from search_documentation or list_endpoints. Pass response_name for a saved response example. Call only for relevant routes to keep context small.

Inputs: request_id (required), doc_url, response_name.

list_endpointsB

List endpoints using an exact text fragment, or list all with query="". Paginate for all results.

Inputs: limit, query, offset, doc_url.

search_documentationA

Start here for broad tasks: rank endpoints by API concepts in a phrase. Returns short summaries and IDs, not full docs. Search focused concepts (e.g. tenant), paginate when the user asks for all, then use get_endpoint for needed routes. This reads documentation, not live API data.

Inputs: query (required), limit, offset, doc_url.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 4 tools

    Disambiguation4/5

    The tools mostly target distinct actions: get_document retrieves metadata, search_documentation discovers endpoints by concepts, list_endpoints filters by exact text, and get_endpoint fetches full details. list_endpoints and search_documentation both return endpoint lists, but descriptions give clear guidance on when to use each, so ambiguity is minor.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun snake_case pattern: get_document, list_endpoints, search_documentation, get_endpoint. The singular/plural variation reflects whether one or many resources are returned, which is predictable.

    Tool Count5/5

    Four tools are well-scoped for a read-only public documentation MCP. Each tool has a clear purpose and there is no redundant or trivial tool, making the set appropriately sized.

    Completeness4/5

    The surface covers document metadata, endpoint listing, concept search, and full endpoint detail retrieval, which are the core read-only operations. Minor gaps exist, such as no dedicated tool for listing saved response examples or separately browsing folders, but these are largely addressable through existing tools.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers