Skip to content

fix(cli): preserve pinned MCP args from multi-line TOML arrays - #3065

Open
mturac wants to merge 1 commit into
upstash:masterfrom
mturac:fix/issue-3060
Open

fix(cli): preserve pinned MCP args from multi-line TOML arrays#3065
mturac wants to merge 1 commit into
upstash:masterfrom
mturac:fix/issue-3060

Conversation

@mturac

@mturac mturac commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Parse multi-line TOML array values in readTomlServerEntry so re-setup keeps pinned @upstash/context7-mcp versions.
  • Accept trailing commas in array literals before JSON parsing.

Fixes #3060

Test plan

  • npm test -- --run src/__tests__/setup.test.ts -t readTomlServerEntry in packages/cli

Made with Cursor

readTomlServerEntry now reads multi-line array values and tolerates
trailing commas so re-setup keeps pinned @upstash/context7-mcp versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant