Skip to content

[Rollup, do not merge] v2.18.0 non-CLI PRs combined CI check - #3096

Closed
cliffhall wants to merge 20 commits into
v2/mainfrom
v2/chore/v2.18.0-rollup
Closed

cliffhall wants to merge 20 commits into
v2/mainfrom
v2/chore/v2.18.0-rollup

Conversation

@cliffhall

Copy link
Copy Markdown
Member

Temporary rollup, do not merge. This branch merges every open v2.18.0 PR outside the CLI tracker (#3080), so CI can show they build and pass together without conflicts. Once CI is green, this PR will be closed and the constituent PRs merged on their own.

Constituent PRs (each already Copilot-reviewed and CI-green):

No Copilot review is requested on this PR. Every merge commit is signed off.

🤖 Generated with Claude Code

cliffhall and others added 20 commits November 30, 2026 00:56
Widen AGENTS.md's pacing rule to the combined read+write stream, rule out
read-back-after-every-write, and prefer a targeted query over a whole-board
listing for one item. board-ops gains the single-item node query; the
security-advisory draft-card step stops reading back after each write.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
The TUI builds only Managed*States, which skip their connect-time load
when paginatedLists is on and leave page 1 to a Paged*State the TUI never
creates. A server entry carrying web's "Fetch Lists One Page at a Time"
setting therefore showed Tools/Resources/Prompts (0) with no way to load
them. Clear the flag on the settings the TUI hands InspectorClient.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Adds a Clear OAuth icon (TbBrandOauth, tooltip "Clear OAuth") to the
connected header's right-hand group, shown while connected over an HTTP
transport. It opens a "Clear OAuth" confirmation modal and, on confirm,
runs the same clear as Connection Info and Settings -> Authorization.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
A resource authorization server can require the client redeeming an ID-JAG
to prove possession of a registered key. Leg 3 could only send a client
secret or nothing, so against such a server it failed with invalid_client
even though leg 2 succeeded.

Add a per-server "Resource AS Client Private Key" (oauth.clientPrivateKey).
When set, leg 3 sends client_assertion_type=jwt-bearer and a client_assertion
signed with the key (RFC 7523 §2.2): iss = sub = the client id, aud = the
token endpoint, and no client_secret even if one is configured. The order is
key, then secret, then none.

The new core/auth/ema/clientAssertion.ts accepts a PKCS#8 PEM or a private
JWK and infers the algorithm (a JWK's own alg wins; otherwise ES256/384/512,
RS256 or EdDSA from the key). A PEM is normalized to a JWK through Web Crypto
and signed with the SDK's createPrivateKeyJwtAuth, so core/ takes no new
dependency. SEC1/PKCS#1 PEMs are rejected with the openssl pkcs8 command, a
public key or JWK as having no private part; no error echoes the key.

The key is held exactly like the client secret: lifted into the secret
store under oauth-client-private-key, never written to mcp.json, kept on a
config-only save, cleared when the user clears it, and redacted by
servers/list. The field is shown only while enterprise-managed
authorization is on. It reaches the web connect path and the CLI/TUI/mcpdo
runner through the saved settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
A receiver route on the web backend (POST /webhooks/events, outside /api/*
and ahead of the Host allow-list) verifies each delivery's Standard
Webhooks signature against a secret the browser registered before
subscribing, answers the endpoint challenge, and streams verified bodies
to the tab over SSE, where they are routed by X-MCP-Subscription-Id into
the subscription's occurrence log. Refused POSTs are logged on the
subscription they named. The public address comes from
--webhook-public-address / MCP_WEBHOOK_PUBLIC_ADDRESS (bind-derived by
default) and can be changed for the process in Client Settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Client Settings gains an OAuth Redirect section whose callback path
(client.json `oauthCallbackPath`, default /oauth/callback) is used both
for the redirect URI sent with the authorization request and token
exchange, and for recognizing the callback page load. The path is
cached in sessionStorage so the callback load knows it before
client.json is fetched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
…als (#3065)

Narrows the header icon's gate from "connected over HTTP" to a session
whose stored OAuth state (the same read Connection Info shows) carries an
access token, so a server that never used OAuth shows no icon.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
…2989)

A PUT that renamed a server while clearing its private key copied the old
key to the new id, so the next GET restored it and it outranked the
configured client secret. Apply the in-place reconcile's settings-intent
rule to the rename branch: only a config-only rename carries the OAuth
slots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
… let a binding follow a regenerated secret (#3064)

Copilot on #3093.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
The cached OAuth details outlived the session that read them, so a new
connection showed the previous session's access token until its own
getOAuthState() settled. With the header's Clear OAuth gated on that value,
the icon could be offered (and confirmed) for a server with nothing stored.
Key the snapshot by the client it was read through and read undefined
until the current client's read lands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
…ting (#3024)

Reject paths URL refuses to parse, anything starting with /api (the dev
middleware claims the whole prefix) and /healthz. A connect now also
waits for the first client.json read, so a deep-link auto-connect in a
fresh tab cannot send the default callback path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
…; normalize a trailing slash; serialize an untrusted control type (#3064)

Copilot round 2 on #3093.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
A final segment with an extension may be served as a static file before
the SPA fallback, so it is rejected. While the typed path is invalid the
redirect URI hints show the path still in effect rather than the default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
…ngs; keep a live subscription's binding on a no-op subscribe (#3064)

Copilot round 3 on #3093.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
@cliffhall cliffhall added the v2 Issues and PRs for v2 label Nov 30, 2026
@cliffhall

Copy link
Copy Markdown
Member Author

Closing as intended. CI on the rollup head (9a08590) is green on every check: build, coverage, windows, DCO, CodeQL and both Analyze jobs. That shows #3089, #3090, #3092, #3091, #3094 and #3093 merge onto v2/main together without conflict and pass together. Each PR's current head is the exact commit merged here, so the constituent PRs will now be merged on their own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2 Issues and PRs for v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant