Documentation
¶
Overview ¶
Command mcp-remote is the BuildPulse Model Context Protocol server over Streamable HTTP. It is the hosted variant of cmd/mcp, deployed at https://mcp.buildpulse.io for clients that can't spawn local stdio servers — Claude.ai web, Claude Desktop integrations panel, ChatGPT Connectors, etc.
Authentication is per-session: the Streamable HTTP client supplies an Authorization header (`Bearer <token>` or `token <token>`) on every MCP request, and the server builds a request-scoped MCP server bound to that token. The token is the same BuildPulse API token that authenticates against platform-api, so customer integrations work without provisioning a second credential.
Two API token shapes are accepted (both validated server-side by platform-api, so we don't second-guess here):
- `bp_<64-hex>` — current format minted by web-client.
- `<40-hex>` — legacy Rails-era format; still works.
OAuth-minted mcpSession tokens (issued by /oauth/token) are a third, orthogonal credential — they happen to also be 40-hex, but that's an implementation detail of the OAuth flow, not a constraint on the caller's chosen API token.
OAuth 2.1 (PKCE + dynamic client registration, delegating to Cognito Hosted UI) is served from the /oauth/* routes — see oauth.go.
Besides the MCP transport the binary also serves a small set of public, unauthenticated documentation routes (GET /, /robots.txt, /sitemap.xml, /llms.txt) so the bare host is useful to people and crawlers — see public.go.
Configuration:
PORT HTTP listen port (default 8080) ENVIRONMENT production | development (default development) PLATFORM_API_URL Default https://platform.buildpulse.io