MCP streamable http auth with api token
I would love to connect HolmesGPT running on EKS to the DoIt MCP but for this I need to be able to use a bearer token for connection rather than click-in-browser-based auth
Thanks for the suggestion, and good news: this is now live.
https://mcp.doit.com/mcp accepts a DoiT personal API token as a bearer header, so headless clients like HolmesGPT can connect without the browser sign-in.
Create a token from Profile → Personal API tokens in the DoiT console, store it as a Kubernetes Secret, and point HolmesGPT at the server like this:
mcp_servers:doit:description: "DoiT Cloud Intelligence"config:url: "https://mcp.doit.com/mcp"mode: streamable-httpheaders:Authorization: "Bearer {{ env.DOIT_API_KEY }}"health_check_tool: "validate_user"Tools run with the token's own permissions, the same as the local server. A dedicated token for the agent, rotated on a schedule, is the recommended setup.
If anything doesn't work as expected, please email vadim @ doit dot com