Repository navigation
chore(deps)!: cli-core 0.473.0 — MCP servers name their profiles - #860
Merged
Merged
Conversation
cli-core 0.470.0 makes `max mcp serve` with no profile exit 2 and list the profiles; `--profiles a,b` and `--profiles all` name a set (NEED-1881). - @wirecat/cli-core 0.469.0 -> 0.473.0; cli-base stays 0.65.0. - MCP Registry server.json starts `mcp serve --profiles all`. Dockerfile already names `glama`; doctor --online names the checked profile through MAX_PROFILE (src/online.ts unchanged). - docs/mcp.md shows `--profiles`; release skill X2 and scripts/mcp-tools.ts examples name a profile. - Tests for `mcp config|serve|revoke --profiles`; regenerated commands.md, test matrix and help.snap (`mail` under Works with). - Changelog under «Не выпущено». Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
leemour
added a commit
that referenced
this pull request
Oct 29, 2026
## Task Release max 0.85.0: cli-core 0.473.0 and the MCP profile rule (#860), owner's answer A to NEED-1904. ## Why The repository's release skill needs a version bump and a dated changelog in one PR. Not merged yet: the release skill says nothing merges or publishes without the owner's word, and the live scenarios still need the owner. ## What - `package.json` and `src/version.ts` 0.84.0 → 0.85.0 (minor, because `mcp serve` without a profile now refuses). - `CHANGELOG.md`: «Не выпущено» dated `## 0.85.0 — 29.10.2026`; text as merged in #860. ## Testing `pnpm release:check` on this branch before the commit: 14/15, only "tree unchanged" failed (the three edits were not committed yet). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task
Move max-cli to the newest cli-core (0.473.0) so the profile rule and
mcp servereach npm (owner's answer A to NEED-1904; lane post on cli-core#849).Why
From cli-core 0.470.0 an MCP server serves only the profiles it is told:
max mcp servewith no profile exits 2 and lists the profiles;--profiles a,band--profiles allname a set. Everything that starts a server without naming one has to name one, or it stops starting. cli-core 0.473.0 still requires cli-base 0.65, so that pin stays.What
@wirecat/cli-core0.469.0 → 0.473.0 (cli-base stays 0.65.0).server.jsonstartsmcp serve --profiles all. The Dockerfile already namesglama;doctor --onlinealready names the checked profile throughMAX_PROFILE(src/online.tsunchanged).docs/mcp.mdshows--profilesand says a server with no profile does not start. Release skill step X2 andscripts/mcp-tools.tsexamples name a profile.mcp config --profiles,mcp serve --profiles(refused for an unknown profile, before serving) andmcp revoke --profiles all, so the test matrix has no ❌.docs/commands.md(sender_is_meon messages, from cli-core 0.473),docs/dev/test-matrix.md,contracts/help.snap(mailunder "Works with").servein it is max's ownmax <profile> serve;lint:commandsreports 0 new.Testing
pnpm release:check(all but the expected pre-releaseversion not on npm,changelog,tree unchanged),contracts:check,smoke:node,check:agent-docs,parity:check.alphaandbeta:mcp --help;mcp servewith no profile → exit 2,validation_error, listsalpha, beta;alpha mcp serveandmcp serve --profiles allanswerinitializeon stdio;alpha mcp revoke --jsonandmcp revoke --profiles all --json→revoked: true;mcp revokewith no profile → exit 2.doctor --online's handshake (dist/online.jsmcpHandshake) withMAX_PROFILE=alpha→ 3 tools; with no profile → the server exits 2.🤖 Generated with Claude Code