Skip to main content

MCP Server

Connect your AI coding tools to the Peak Gateway internal documentation for architecture, troubleshooting, deployment, and authorization reference.

Note: This is the internal docs MCP. For the public API docs MCP, see https://docs.peakgateway.co/docs/mcp

Quick setup

Claude Code

claude mcp add --transport http peak-gateway-support-docs https://support-docs.peakgateway.co/mcp

Cursor

Create .cursor/mcp.json:

{
"mcpServers": {
"peak-gateway-support-docs": {
"transport": "http",
"url": "https://support-docs.peakgateway.co/mcp"
}
}
}

VS Code (Copilot)

Create .vscode/mcp.json:

{
"mcpServers": {
"peak-gateway-support-docs": {
"transport": "http",
"url": "https://support-docs.peakgateway.co/mcp"
}
}
}

Windsurf

Create ~/.codeium/windsurf/mcp_config.json:

{
"mcpServers": {
"peak-gateway-support-docs": {
"transport": "http",
"url": "https://support-docs.peakgateway.co/mcp"
}
}
}

Other MCP clients

  • Server name: peak-gateway-support-docs
  • HTTP endpoint: https://support-docs.peakgateway.co/mcp

Most clients need these two fields:

{
"name": "peak-gateway-support-docs",
"transport": "http",
"url": "https://support-docs.peakgateway.co/mcp"
}

Available tools

Search documentation.

  • Params:
    • query (string, required)
    • limit (number, 1-20, default 5)
  • Returns: titles, URLs, snippets, relevance scores

Example tool call:

{
"name": "docs_search",
"arguments": {
"query": "transactions",
"limit": 5
}
}

docs_fetch

Retrieve full page content as markdown.

  • Params:
    • url (string, required, full URL from search results)
  • Returns: title, description, table of contents, full markdown

Example tool call:

{
"name": "docs_fetch",
"arguments": {
"url": "https://support-docs.peakgateway.co/docs/runbooks/deployments"
}
}

Example usage (JSON-RPC)

Search for "transactions":

curl -sS https://support-docs.peakgateway.co/mcp \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"docs_search","arguments":{"query":"transactions","limit":5}}}'

Fetch a page returned by search:

curl -sS https://support-docs.peakgateway.co/mcp \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"docs_fetch","arguments":{"url":"https://support-docs.peakgateway.co/docs/runbooks/deployments"}}}'

Verify connection

  1. Run:
npx @modelcontextprotocol/inspector
  1. Add an HTTP server with URL https://support-docs.peakgateway.co/mcp.
  2. Call docs_search and confirm you get results.