Harbor’s gateway (called the Lighthouse) exposes your MCP servers over HTTP, enabling remote access and tool discovery. It bridges both local stdio servers and remote HTTP MCP servers.Documentation Index
Fetch the complete documentation index at: https://docs.harbormcp.ai/llms.txt
Use this file to discover all available pages before exploring further.
Starting the Gateway
CLI
| Flag | Description |
|---|---|
--port | Port to listen on (default: 3100) |
--host | IP to bind to (default: 127.0.0.1) |
--expose | Shorthand for --host 0.0.0.0 (expose to network) |
--token | Bearer token required for remote access |
Desktop App
Use the dedicated Lighthouse page in the sidebar to start/stop the gateway and configure settings.Endpoints
Once running, the gateway provides these endpoints:| Endpoint | Method | Description |
|---|---|---|
/health | GET | Health check — returns 200 with version. No auth required. |
/tools | GET | List all available tools across your docked servers |
/servers | GET | List all running MCP servers |
/mcp | POST | JSON-RPC endpoint for MCP protocol messages |
/reload | POST | Re-read config from disk and hot-reload servers and auth token |
/sse | GET | Server-sent events stream for real-time updates |
Query Parameters
The/tools endpoint supports optional filters:
| Parameter | Description |
|---|---|
?host=<name> | Apply host-specific tool overrides (e.g., ?host=claude) |
?server=<name> | Only return tools from a specific server |
Authentication
The gateway uses bearer token authentication for remote access:- Localhost connections are always trusted — no token required
- Remote connections require
Authorization: Bearer <token>whengateway_tokenis configured - If no token is configured and the gateway is exposed to the network, a warning is logged
Configuring a token
Examples
Configuration
The gateway enables CORS by default, allowing cross-origin requests from web applications. The HTTP server starts before initializing MCP servers, so the health endpoint is available immediately.

