Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

MCP connect dialog with Bearer auth

Platform spec ADR

MCP connect dialog with Bearer auth

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Nexus exposes graph query tools over MCP Streamable HTTP for IDE and agent integrations. Operators deploy a shared NEXUS_MCP_AUTH_TOKEN secret. Users need a discoverable, copy-friendly surface — without embedding secrets in client bundles or public pages.

  1. MCP must be mounted at /api/mcp on the Nexus deployment origin.
  2. All MCP requests must require Authorization: Bearer $NEXUS_MCP_AUTH_TOKEN.
  3. Header button Connect MCP must appear for signed-in users (any authenticated session).
  4. ConnectMcpDialog shows:
    • Endpoint URL ({window.location.origin}/api/mcp)
    • Auth header template with placeholder token guidance
    • Copy buttons for URL and header format
    • Link to MCP contracts
  5. The live Bearer token must not be returned by public or session API routes — operators supply it via deployment env (Coolify, etc.).
  • gitnexus-web ships connect-mcp-dialog.tsx wired into NexusAppShell.
  • MCP shares the cached graph data plane with public /api/graph — no parallel index.
  • Platform spec documents the contract; Nexus UI links here for operator and integrator reference.

Accepted — complements GitNexus MCP engine retention under Beskid Nexus product shell.