Document Bearer Token auth for remote MCP servers#843
Open
Conversation
Closes #767 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the ToolHive UI documentation to cover Bearer Token authentication for remote MCP servers, aligning the “Run MCP servers” guide and its remote-auth examples with the four authorization methods available in ToolHive Studio.
Changes:
- Adds a Bearer Token subsection to both the “add remote MCP server” and “edit/custom remote MCP server” authorization method flows in
run-mcp-servers.mdx. - Adds a new remote auth example showing Bearer Token configuration (Brave Search) in the shared examples partial.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| docs/toolhive/guides-ui/run-mcp-servers.mdx | Documents Bearer Token auth selection and its required field(s) in both remote MCP configuration flows. |
| docs/toolhive/_partials/_remote-mcp-auth-examples.mdx | Adds a Bearer Token authentication example to the collapsible remote auth examples section. |
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Tighten wording to specify that Bearer Token auth sends an Authorization: Bearer header, and that servers expecting different headers (e.g. X-API-Key) should use Custom headers instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The PKCE toggle is available in the UI for OAuth2 in both registry and custom remote flows, but was only documented for registry. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
run-mcp-servers.mdxAuthorization: Bearer <token>header specifically, and that servers expecting other headers (e.g.X-API-Key) should use Custom headersCloses #767
Test plan
🤖 Generated with Claude Code