Skip to content

fix(#392): sequant init --yes should not auto-add MCP to all clients - #410

Merged
admarble merged 2 commits into
mainfrom
feature/392-mcp-server-sequant-init-yes-should-not-auto-add-to
Mar 24, 2026
Merged

admarble merged 2 commits into
mainfrom
feature/392-mcp-server-sequant-init-yes-should-not-auto-add-to

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Summary

  • sequant init --yes no longer silently adds MCP server config to all detected clients
  • New --mcp flag explicitly opts in to auto-add: sequant init --yes --mcp
  • Interactive mode continues to prompt users as before

AC Coverage

AC Description Status Evidence
AC-1 sequant init --yes does NOT silently add MCP config ✅ init.ts:549-557 — skips unless options.mcp
AC-2 Interactive mode still prompts per-client or as a group ✅ init.ts:558-568 — unchanged prompt logic
AC-3 sequant init --yes --mcp explicitly opts in ✅ init.ts:551, bin/cli.ts:109-112

Test plan

  • npm run build — passes
  • npm run lint — passes
  • npm test — 1837 tests pass
  • 4 new tests covering MCP config behavior with --yes, --yes --mcp, interactive, and non-interactive modes

Closes #392

🤖 Generated with Claude Code

@admarble
admarble force-pushed the feature/392-mcp-server-sequant-init-yes-should-not-auto-add-to branch from 7b48e1a to b407c83 Compare March 24, 2026 15:07
…lients

--yes alone now skips MCP config entirely. Add --mcp flag to explicitly
opt in to auto-adding Sequant MCP server config in non-interactive mode.
Interactive mode still prompts as before.

Entire-Checkpoint: b8dd4b17e35f
…client config

- Document --yes --mcp opt-in behavior for non-interactive mode (#392)
- Note per-client config differences and env conditional in auto-setup (#395)
- Update provenance line
@admarble
admarble force-pushed the feature/392-mcp-server-sequant-init-yes-should-not-auto-add-to branch from b407c83 to bf0ab3b Compare March 24, 2026 18:53
@admarble
admarble merged commit f36dc09 into main Mar 24, 2026
5 checks passed
@admarble
admarble deleted the feature/392-mcp-server-sequant-init-yes-should-not-auto-add-to branch March 24, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP server: sequant init --yes should not auto-add to all detected clients

1 participant