Documentation Index
Fetch the complete documentation index at: https://hyperspeed.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
mcp-hyperspeed is a stdio JSON-RPC MCP server that proxies tool calls from an AI coding assistant to the Hyperspeed API. It lets Cursor, Claude Desktop, or any other MCP-compatible client invoke Hyperspeed’s agent tools — such as reading files, searching chat, and proposing patches — directly from the AI’s tool-calling loop.
Requirements
You need three environment variables before starting the server:| Variable | Description |
|---|---|
HYPERSPEED_API_URL | Base URL of your Hyperspeed API, e.g. http://localhost:8080 or https://hyperspeed.example.com |
HYPERSPEED_TOKEN | A service account token (sa_…) with appropriate permissions. Create one in Workspace Settings → AI Staff. |
HYPERSPEED_ORG_ID | Your organization UUID, visible in Workspace Settings. |
Running the server
Build or run from source
From the repository root, run the server directly:Or build a binary first:Then run it:
MCP protocol
The server speaks stdio JSON-RPC using the Model Context Protocol (protocol version2024-11-05). It supports:
| Method | Description |
|---|---|
initialize | Handshake — returns server name, version, and capabilities. |
tools/list | Fetches the list of available Hyperspeed tools from the API. |
tools/call | Invokes a named tool with the provided arguments via the Hyperspeed API. |
method not found error. Notification messages (prefixed notifications/) are silently ignored.
Authentication
The server authenticates every API request withAuthorization: Bearer <HYPERSPEED_TOKEN>. Use a service account token (sa_…) created from Workspace Settings → AI Staff.
The service account must have permission to access the tools it will invoke. For most use cases, the default system roles assigned at creation are sufficient.
A
401 or 403 response from the API means the token is invalid or the service account does not have access to the requested org. Check HYPERSPEED_TOKEN and HYPERSPEED_ORG_ID.Optional: per-call metadata
You can pass control metadata to the server by including a_hyperspeed key in any tool’s arguments object. The server strips this key before forwarding arguments to the API.
| Field | Values | Description |
|---|---|---|
mode | ask, plan, agent | Invocation mode forwarded to the API. |
session_id | string | Session identifier for grouping related tool calls. |