docs: note OAuth2 is the MCP server's default auth#18
Merged
pjcdawkins merged 1 commit intomainfrom Apr 21, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the README’s “MCP Server (Optional)” section to clarify that the Upsun MCP Server uses OAuth2 authentication by default, with UPSUN_API_TOKEN documented as an optional alternative for API-token auth.
Changes:
- Rewords the MCP Server enablement instructions to frame OAuth2 as the default authentication path.
- Adds guidance for Claude Code sign-in and keeps API-token setup instructions as an alternative.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ganeshdipdumbare
approved these changes
Apr 21, 2026
The MCP server authenticates via OAuth2 by default; users only need to set UPSUN_API_TOKEN when they want API-token auth instead. The previous text implied the env var was required. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0ba68dc to
2be28cb
Compare
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
The README's MCP Server section read as if
UPSUN_API_TOKENwas required to enable the server. In practice, the server authenticates via OAuth2 by default — users only need to set the env var if they prefer API-token auth.Updates the section to describe both paths, with OAuth2 framed as the default.
No config changes.
Related
UPSUN_API_TOKENis unset. This doc change reflects the intended behaviour once that fix is deployed..mcp.json; keeping the env-var reference there is worth preserving).🤖 Generated with Claude Code