diff --git a/changes/fix-registry-profiles-required.md b/changes/fix-registry-profiles-required.md new file mode 100644 index 00000000..0ced1a61 --- /dev/null +++ b/changes/fix-registry-profiles-required.md @@ -0,0 +1,8 @@ +### Изменено — может сломать скрипты + +- **Запись в MCP Registry спрашивает, какие профили обслуживать.** Раньше она запускала `mcp serve --profiles all`, и + клиент, установивший сервер из реестра, получал все аккаунты на компьютере, хотя владелец их не выбирал. Теперь + `--profiles` — обязательный аргумент с примером `personal`: клиент спрашивает один профиль, список через запятую + или `all`. Зачем: CLI никогда не выбирает аккаунт за владельца + ([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)). Обратите внимание: клиент, настроенный по старой записи, оставит `--profiles all`, пока его не + настроят заново; сервер, добавленный вручную или через `mcp config`, не меняется. diff --git a/server.json b/server.json index e07e4e78..f67152ed 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" } ] }