Skip to content

Optional bearer-token auth for the MCP HTTP transport (self-host) #3

Description

@ahmetvural79

The open-core MCP Streamable HTTP transport is unauthenticated by design (meant to sit behind your own proxy). For self-hosters who expose it directly, add an opt-in static bearer token check (VITRUS_MCP_TOKEN).

Scope

  • VITRUS_MCP_TOKEN env; if set, require Authorization: Bearer on the HTTP transport
  • 401 with a clear message when missing/wrong
  • document in docs/MCP.md (stdio unaffected)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions