From f1ce6ed74a029f634dd7936efb0658c506e0f828 Mon Sep 17 00:00:00 2001 From: leemour Date: Tue, 17 Nov 2026 23:26:48 +0100 Subject: [PATCH] fix(mcp): the registry entry asks which profiles to serve server.json started `mcp serve --profiles all`, so a client installed from the MCP Registry reached every account on the computer without the owner choosing one. That breaks "never pick an account for the owner" (WC-MCP-9). --profiles is now a required named argument with the placeholder `personal`, as yandex-disk-cli ships it. mcp serve already takes one name, a comma-separated list or all (cli-core mcpGroup). The version stays 0.0.0: release.yml sets it at publish time. Checked with mcp-publisher 1.8.5 validate. Co-Authored-By: Claude Opus 5.5 --- changes/fix-registry-profiles-required.md | 8 ++++++++ server.json | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 changes/fix-registry-profiles-required.md diff --git a/changes/fix-registry-profiles-required.md b/changes/fix-registry-profiles-required.md new file mode 100644 index 00000000..6e41ba11 --- /dev/null +++ b/changes/fix-registry-profiles-required.md @@ -0,0 +1,8 @@ +### Changed — may break callers + +- **The MCP Registry entry asks which profiles to serve.** It started `mcp serve --profiles all`, so a client that + installed the server from the registry reached every account on the computer without the owner choosing. Now + `--profiles` is a required argument with the example `personal`: the client asks for one profile, a + comma-separated list or `all`. Why: a CLI never picks an account for the owner + ([WC-MCP-9](https://github.com/WireCatLabs/cli-base/blob/main/docs/standards/mcp.md#wc-mcp-9--a-server-serves-the-profiles-it-is-told-with-one-connection-for-each)). Watch for: a client set up from the old entry keeps `--profiles all` until it is set up again; a + server added by hand or with `mcp config` does not change. diff --git a/server.json b/server.json index ba735426..dc7e600e 100644 --- a/server.json +++ b/server.json @@ -30,8 +30,9 @@ { "type": "named", "name": "--profiles", - "value": "all", - "description": "Serve every wa profile on this computer; each tool call names its profile" + "description": "The profiles this server serves: one name, a comma-separated list such as work,personal, or all for every profile on this computer", + "isRequired": true, + "placeholder": "personal" } ] }