Skip to content

feat(mcp): an MCP server credential may be an OAuth token - #20

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-9631-mcp-credential-may-be-oauth-token
Sep 30, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-9631-mcp-credential-may-be-oauth-token

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Discovery accepts an oauth_token credential as the bearer source alongside api_key; other types (certificate, other) now read as not found.
The secret is the current access token, which oauth-core's refresher rewrites in place, so no refresh logic is added here.
The runtime bundle is unchanged: the credential provider already shapes the handle from the current secret.
README documents metadata.mcp.auth (none, token, oauth); tests cover an oauth_token row and lapsed or non-bearer rows.

Resolves CL-9631

@TheGreatAxios
TheGreatAxios force-pushed the cl-9631-mcp-credential-may-be-oauth-token branch from 65ee8d6 to 38fdde1 Compare September 30, 2026 20:18
@TheGreatAxios
TheGreatAxios merged commit 6fe9f29 into main Sep 30, 2026
2 checks passed
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.

1 participant