docs(mcp): sync cli-reference + troubleshooting for OAuth discovery/DCR (#316 follow-up)#322
Merged
Merged
Conversation
…CR (#316) - cli-reference: `forge mcp login` documents discovery (RFC 9728/8414) + DCR (RFC 7591), the persisted `mcp_reg_<name>.json`, explicit-override, and fail-closed; `forge mcp test` notes it honors the same token_store_path override (the mcp_test store-path fix) and needs a prior login; `forge mcp logout` clears the registration record; K8s Secret example bundles `mcp_reg_<name>.json` for the refresh path. - troubleshooting: new OAuth rows (test-vs-login store mismatch, no discovery metadata, no registration_endpoint, confidential client, revoked-DCR-client recovery) + an egress row for the discovered auth-server host learned from the registration record. configuration.md + forge.md were already updated in the feature commits.
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.
Follow-up doc sync for the MCP OAuth discovery + DCR feature (#316, merged in #320). The feature commits already updated
docs/mcp/configuration.mdand.claude/skills/forge.md; this covers the two MCP docs that weren't in that PR.Changes
docs/mcp/cli-reference.mdforge mcp login— documents discovery (RFC 9728/8414) + dynamic client registration (RFC 7591), the persistedmcp_reg_<name>.json, explicit-config override, and fail-closed behavior.forge mcp test— notes it reads the token via the samemcp.token_store_path/MCP_TOKEN_STORE_PATHoverride as login/logout (the store-path fix that shipped in feat(mcp): OAuth discovery (RFC 9728/8414) + dynamic client registration (RFC 7591) (closes #316) #320) and requires a prior login.forge mcp logout— now also clears the registration record (the revoked-client recovery path).mcp_reg_<name>.jsonalongside the token, since a discovery-based server's runtime refresh needs the discoveredtoken_url+client_id.docs/mcp/troubleshooting.mdtest-vs-loginstore mismatch, no discovery metadata, noregistration_endpoint, confidential-client fail-closed, and revoked-DCR-client recovery.Notes
configuration.md.