Skip to content

Sync upstream v2: MCP Skills extension - #129

Merged
shuv1337 merged 70 commits into
v2from
sync/upstream-e754f9d6
Nov 24, 2026
Merged

shuv1337 merged 70 commits into
v2from
sync/upstream-e754f9d6

Conversation

@shuv1337

@shuv1337 shuv1337 commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Merge UsefulSoftwareCo's v2 at e754f9d630 into the fork's v2 as a two-parent merge, preserving fork-only authorization, multi-org, session durability, native shutdown, and registry behavior.
  • Add the MCP Skills extension and verify connection keys, scoped grants, organization boundaries, and signed-in person approvals. Partition dynamic skill catalogs by the verified caller connection.
  • Update the fork SDK version to 0.0.1-beta.143.shuv.1 and record the resolutions in notes/upstream-sync-2026-11-24.md.

No database migration, new secret, port, firewall, or Access change. The plain PAT URL uses automatic; ?elicitation_mode=model keeps model-mediated pauses, and automatic mode still requires a person for human() tools.

The new SDK version must be published to the private registry before a subsequent deploy. This PR does not merge, publish, or deploy.

The local description preflight was run against the pinned fork base. Its upstream Cloud gate asks for a deployed-stage run of three inherited outbound scenarios. That proof was not attempted or claimed in this fork-only task.

Local checks passed: all 17 sequential static steps plus lockfile and workflow lint, Go vet and race tests, and all 40 named self-host and local E2E scenarios. The cases include both Skills extension targets, parked sessions and client bounds, PAT and person approvals, member key onboarding and renewal, offline grants, and cold, dotted, kept-order, and missing-app search.

Review round 1 passed 20 static checks, Go vet and race tests, and 28 named scenarios across self-host, local, and managed Cloud. The deployed-Cloud gate above is still outstanding.

The final bounded review commit passed 20 static checks, Go vet and race tests, and 21 named scenarios across self-host, local, and managed Cloud, including all four self-host OAuth grant-choice cases. The approval default is unchanged and the deployed-Cloud gate remains outstanding.

mcp-skills-extension.spec.ts
mcp-client-bound.spec.ts
self-host-mcp-parked.spec.ts
pat-mcp.spec.ts
caller-identity.spec.ts
executor-managed-key.spec.ts
executor-key-account.spec.ts
local-mcp-connections.spec.ts
mcp-search-concise.spec.ts
cold-openapi-discovery.spec.ts
mcp-search-kept-orders.spec.ts
mcp-search-kept-order-races.spec.ts
mcp-search-walk.spec.ts
mcp-search-missing-app.spec.ts
mcp-connections.spec.ts
cloud-v1-mcp-forward.spec.ts
cloud-v1-shutdown.spec.ts
mcp-grant-choice.spec.ts

RhysSullivan and others added 22 commits November 19, 2026 02:36
A refresh copied the approving browser session's id to the new access
token, even after that session had expired. Token validation refuses a
token whose session has expired, so the refresh answered 200 and the
next MCP request answered 401. Every offline_access grant a browser
session approved stopped about seven days after the session was last
used. On Local, every grant from one server run stopped together.

The refresh grant now names the session on new access and ID tokens only
while it is live, as refresh token introspection already does. The
rotated refresh token keeps its parent's session for back-channel
logout. This is the change in Better Auth PR 12723, released in
oauth-provider 1.7.26. usableGrants counts an unexpired refresh token
whatever its session, to match.

Fixes UsefulSoftwareCo#2550.

Release-note: Fix: MCP clients signed in with offline access keep working after the browser session that approved them expires.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Release-note: Feature: MCP clients can list and read skills from the apps they can access.
@shuv1337
shuv1337 marked this pull request as ready for review November 24, 2026 20:42
@socket-security

socket-security Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​workerd@​1.20261117.1921007396100
Addednpm/​@​modelcontextprotocol/​client@​2.4.0921008295100

View full report

Release-note: Fix: Skills reflect current connection permissions after a connection is edited or recreated.
Release-note: Fix: MCP honors the recorded OAuth consent and refreshes scoped tool caches when connection permissions change.
@shuv1337
shuv1337 merged commit d8bf97f into v2 Nov 24, 2026
5 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.

3 participants