Skip to content

Add oauth.authServerMetadataUrl hint to bundled .mcp.json#42

Closed
potluck wants to merge 1 commit into
mainfrom
add-oauth-metadata-hint
Closed

Add oauth.authServerMetadataUrl hint to bundled .mcp.json#42
potluck wants to merge 1 commit into
mainfrom
add-oauth-metadata-hint

Conversation

@potluck

@potluck potluck commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds an oauth.authServerMetadataUrl hint pointing at https://api.val.town/.well-known/oauth-authorization-server to both plugin/.mcp.json and plugin/mcp.json.

Why

While debugging #41 (installing the plugin never triggers auth, tools silently unavailable), we found the plugin manifest schema supports an optional oauth block on an MCP server entry, which our config wasn't using.

This alone does not fix #41 — the network trace in that issue shows the plugin-install flow never attempts a connection to the MCP server at all, so no client-side hint here changes that. It's also likely to be silently stripped during marketplace sync per anthropics/claude-ai-mcp#359. Adding it anyway since it's low-risk/correct, and puts us in a better position once #359 and the underlying install-flow gap are fixed upstream.

Test plan

Users installing the Val Town plugin from the directory get no auth
prompt and no working tools, with no error surfaced (repro + network
trace in val-town/plugins#<issue>). The plugin-install client path
never attempts a connection to the MCP server at all, so this alone
won't fix that — the actual gap is in the install/first-use trigger
logic on the claude.ai side (see anthropics/claude-code#36307 and
anthropics/claude-ai-mcp#359, which reports the marketplace sync
pipeline silently drops the oauth block from bundled .mcp.json
files). Adding this now so we're ready once that's fixed upstream.
@changeset-bot

changeset-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 905a92c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@potluck potluck closed this Jul 13, 2026
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.

Installing the plugin from the directory never triggers Val Town OAuth — tools silently unavailable

1 participant