Skip to content

Send the Chat bridge's Druks MCP header without a second Bearer prefix - #752

Merged
czpython merged 1 commit into
mainfrom
fix-chat-double-bearer
Sep 28, 2026
Merged

czpython merged 1 commit into
mainfrom
fix-chat-double-bearer

Conversation

@czpython

Copy link
Copy Markdown
Owner

The Druks MCP token is a header row. Its stored value is Bearer <token>, and egress puts that value where the placeholder is. The Chat bridge still added Bearer in front of the placeholder, so Druks got Authorization: Bearer Bearer druks_pat_… and returned 401.

The bridge now sends the placeholder as the header value, the same way the harnesses send header rows. The bridge test's fake agent now expects the placeholder with no prefix.

Fixes #751

🤖 Generated with Claude Code

@czpython
czpython merged commit 6475c66 into main Sep 28, 2026
3 checks passed
@czpython
czpython deleted the fix-chat-double-bearer branch September 28, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chat sends the Druks MCP token with a double Bearer prefix

1 participant