From 96a8b4fa5356ff17128112c7c7aa3fcf00a3fbbc Mon Sep 17 00:00:00 2001 From: leemour Date: Tue, 17 Nov 2026 23:27:01 +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 | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) 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 0000000..57ad7b3 --- /dev/null +++ b/changes/fix-registry-profiles-required.md @@ -0,0 +1,8 @@ +### Changed — may break callers + +- **The `server.json` that `new` writes asks which profiles to serve.** It started `mcp serve --profiles all`, so a + client that installed a new CLI's server from the MCP 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: `server.json` is a seed, so `upgrade` does not change it in a CLI made before; + make the same change there by hand. diff --git a/server.json b/server.json index e7a8cff..1b6c33d 100644 --- a/server.json +++ b/server.json @@ -30,7 +30,9 @@ { "type": "named", "name": "--profiles", - "value": "all" + "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" } ] }