Skip to content

Support per-client skill MCP scopes - #520

Draft
xsh310 wants to merge 1 commit into
skill-managed-download-onlyfrom
xshen/per-client-skill-scopes
Draft

Support per-client skill MCP scopes#520
xsh310 wants to merge 1 commit into
skill-managed-download-onlyfrom
xshen/per-client-skill-scopes

Conversation

@xsh310

@xsh310 xsh310 commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

What

Store the skills MCP connection's scope as a per-client map (skill_locations_by_client) instead of a single flat skill_locations list, so skill add / skill remove can target individual coding agents. Reads fall back to the flat list (mirrored to every client) for connections written by older builds, and skill_locations is kept as the union mirror for legacy readers.

Stacking

Stacked on #519 (skill-managed-download-only). With managed skills delivered by download only (that PR), the skills MCP connection holds just a developer's own skill add --mcp schemas, so the per-client scope is purely developer state — no global managed set to union in.

This is the first PR of a fresh per-agent skills stack that mirrors the structure of the original stack (skill-agent-scopes → add → status → remove → …), rebuilt on top of the managed-removal PR. Base will move to main once #519 merges.

Original design and initial implementation by Arthur Jenoudet; reworked into the per-client model here.

This pull request and its description were written by Isaac.

Store the skills MCP connection's scope as a per-client map
(`skill_locations_by_client`) instead of a single flat `skill_locations`
list, so `skill add`/`skill remove` can target individual agents. Reads
fall back to the flat list, mirrored to every client, for connections
written by older builds; `skill_locations` is kept as the union mirror.

Co-authored-by: Arthur Jenoudet <arthur.jenoudet@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
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