Repository navigation
Closed
Labels
cliCLI commands and interfaceenhancementNew feature or requestplannedImplementation plan approvedready-for-reviewReady for code review
Description
Problem
sequant init --mcp detects Claude Desktop, Cursor, and VS Code + Continue — but not Claude Code, which is the tool sequant users are actually running inside. The MCP setup is behind a --mcp flag and only writes to global client config files, missing the primary integration point entirely.
Claude Code reads MCP server configs from .mcp.json in the project root. This file doesn't get created by sequant init at all today.
Current behavior
sequant init → no MCP setup
sequant init --mcp → writes to ~/Library/.../claude_desktop_config.json, Cursor, VS Code
sequant init --yes → no MCP setup (--mcp not implied)
Claude Code users get nothing unless they manually create .mcp.json.
Why this matters
- Claude Code is the primary runtime for sequant — every sequant user runs inside it
.mcp.jsonis project-scoped and version-controlled — team members get it automatically- Global client configs (Claude Desktop, Cursor) are secondary and require modifying user-level files
Acceptance Criteria
- AC-1:
sequant initcreates.mcp.jsonin the project root with the sequant MCP server config by default (no--mcpflag required) - AC-2:
.mcp.jsonappears in the "Will create:" preview during init - AC-3: If
.mcp.jsonalready exists with asequantentry, skip creation (don't duplicate) - AC-4: If
.mcp.jsonalready exists without asequantentry, merge it in (preserve existing servers) - AC-5:
--mcpflag retains its current behavior of ALSO writing to global client configs (Claude Desktop, Cursor, VS Code) - AC-6:
sequant init --yescreates.mcp.json(always) but skips global client config changes (no global file modifications in non-interactive mode, consistent with current --yes behavior for --mcp) - AC-7: Existing tests pass; add test coverage for
.mcp.jsoncreation and merge logic
Design
.mcp.json format
{
"mcpServers": {
"sequant": {
"command": "npx",
"args": ["sequant@latest", "serve"]
}
}
}Note: no cwd needed — Claude Code runs from the project root where .mcp.json lives.
Init flow (proposed)
sequant init
├── Creates .sequant/, .claude/, scripts/dev/ (existing)
├── Creates .mcp.json with sequant server config ← NEW (always)
└── Interactive: "Also add to Claude Desktop/Cursor?" (only with --mcp or interactive prompt)
sequant init --yes
├── Creates everything above including .mcp.json ← NEW
└── Skips global client detection (no --mcp implied)
sequant init --mcp
├── Creates .mcp.json
└── ALSO writes to detected global client configs (existing behavior)
Merge logic for existing .mcp.json
// Pseudocode
if (!exists('.mcp.json')) {
write('.mcp.json', { mcpServers: { sequant: config } });
} else {
const existing = JSON.parse(read('.mcp.json'));
if (existing.mcpServers?.sequant) {
// Already configured — skip
} else {
existing.mcpServers = { ...existing.mcpServers, sequant: config };
write('.mcp.json', existing);
}
}Files in Scope
src/commands/init.ts— main init logicsrc/lib/mcp-config.ts— MCP config detection and generation
Out of Scope
- Removing the
--mcpflag (it still has value for global client configs) - Adding
.mcp.jsonto.gitignore(it should be committed for team portability)
Metadata
Metadata
Assignees
Labels
cliCLI commands and interfaceenhancementNew feature or requestplannedImplementation plan approvedready-for-reviewReady for code review
Activity
admarble commentedon Mar 25, 2026
Spec Plan — #418: sequant init: create .mcp.json by default for Claude Code MCP integration
AC Quality Check
✅ All 7 acceptance criteria are clear and testable.
Scope Assessment
Non-Goals
The issue explicitly defines out-of-scope items:
--mcpflag (it still has value for global client configs).mcp.jsonto.gitignore(it should be committed for team portability)Scope Metrics
Scope Verdict
✅ SCOPE_OK — Single focused feature (
.mcp.jsoncreation during init). The 7 AC items cover variations of a single behavior change (create, preview, skip, merge, flag compat, --yes compat, tests). Directory spread is limited tosrc/commands/init.tsandsrc/lib/mcp-config.ts.Acceptance Criteria with Verification
AC-1:
sequant initcreates.mcp.jsonin project root by defaultVerification Method: Unit Test + Integration Test
Test Scenario:
.mcp.jsoninitCommand({ yes: true, stack: "generic" })is called.mcp.jsonis created with{ "mcpServers": { "sequant": { "command": "npx", "args": ["sequant@latest", "serve"] } } }Integration Points:
src/lib/mcp-config.ts(addSequantToMcpConfig),src/lib/fs.ts(fileExists,readFile,writeFile)AC-2:
.mcp.jsonappears in "Will create:" previewVerification Method: Unit Test
Test Scenario:
.mcp.jsonline with descriptionAC-3: Skip if
.mcp.jsonalready hassequantentryVerification Method: Unit Test
Test Scenario:
.mcp.jsonexists with{ "mcpServers": { "sequant": { ... } } }initCommandrunsAC-4: Merge into existing
.mcp.jsonwithoutsequantentryVerification Method: Unit Test
Test Scenario:
.mcp.jsonexists with{ "mcpServers": { "other-server": { ... } } }initCommandrunsother-serverandsequantentries;other-serverconfig is preservedAC-5:
--mcpflag retains global client config behaviorVerification Method: Unit Test
Test Scenario:
initCommand({ yes: true, mcp: true, stack: "generic" })runs.mcp.jsonis created ANDaddSequantToMcpConfigis called for global clientsAC-6:
sequant init --yescreates.mcp.jsonbut skips global configsVerification Method: Unit Test
Test Scenario:
initCommand({ yes: true, stack: "generic" })runs (no--mcp).mcp.jsonIS created, butaddSequantToMcpConfigis NOT called for global clientsAC-7: Tests pass with new coverage
Verification Method: Integration Test
Test Scenario:
npm testruns.mcp.jsoncreation and merge testsImplementation Plan
Phase 1: Add
.mcp.jsoncreation tomcp-config.tsAdd a new function
createProjectMcpJson(projectDir?: string)insrc/lib/mcp-config.tsthat:getSequantMcpConfig()(no cwd needed — Claude Code runs from project root).mcp.jsonexists and already hassequantentry → skipsequant→ merge{ created: boolean, merged: boolean, skipped: boolean }for status reportingReuse existing
addSequantToMcpConfigmerge logic pattern — the function already handles create/merge/skip. The new function is essentiallyaddSequantToMcpConfig(".mcp.json")without a clientType (no cwd needed).Phase 2: Integrate into
init.tsAdd
.mcp.jsonto the "Will create:" preview section (afterAGENTS.mdline, around line 386):Add
.mcp.jsoncreation step ininitCommand()— insert BEFORE the existing MCP client detection block (before line 535). This ensures.mcp.jsonis always created regardless of--mcpflag:The existing MCP client detection block (lines 535-589) remains unchanged —
--mcpstill gates global client config writes.Phase 3: Tests
Add tests in
src/lib/mcp-config.test.ts:createProjectMcpJson()creates new filecreateProjectMcpJson()merges into existing filecreateProjectMcpJson()skips when already configuredcwdincluded in.mcp.jsonconfig (Claude Code runs from project root)Add tests in
src/commands/init.test.ts:.mcp.jsoncreated during--yesinit (AC-6).mcp.jsoncreated even without--mcpflag (AC-1)--mcp(AC-5/AC-6 distinction)Design Review
Where does this logic belong? The file creation/merge logic belongs in
src/lib/mcp-config.ts— it already owns MCP config operations. The init orchestration (when to call it, status reporting) belongs insrc/commands/init.ts.What's the simplest correct approach? Call
addSequantToMcpConfig(".mcp.json")directly from init — this function already handles create, merge, and skip-if-exists. No new abstraction needed. The only new code is: (a) calling it unconditionally in init, (b) adding the preview line, (c) tests.What existing pattern does this follow? Follows the exact same pattern as the existing global MCP client config block in init.ts (lines 534-589): detect → report → create/skip. The
addSequantToMcpConfigfunction already implements idempotent merge logic.What would a senior reviewer challenge? (1) "Why not just use
addSequantToMcpConfig('.mcp.json')directly?" — That's actually the plan. The existing function handles all edge cases. (2) "Should the preview show.mcp.jsonconditionally?" — No, keep it unconditional since it's always created. (3) "What about thecwdandenvfields?" —.mcp.jsonfor Claude Code should NOT includecwd(it runs from project root) and should NOT include env (Claude Code manages its own env). CallinggetSequantMcpConfig()with no options achieves this.Feature Quality Planning
Completeness Check
mcp-config.ts↔init.ts,fs.tsutilities.mcp.json→ create/merge/skip → reportError Handling
.mcp.json: Already handled byaddSequantToMcpConfig(try-catch, starts fresh)Code Quality
McpClientType, return type for statusaddSequantToMcpConfigpattern exactlygetSequantMcpConfig()Test Coverage Plan
mcp-config.test.tsinit.test.tsBest Practices
Derived ACs
.mcp.jsonis handled gracefully (start fresh).mcp.jsondoes NOT includecwdorenvfieldsOpen Questions
Preview section wording
".mcp.json (Claude Code MCP server config)"— matches existing formatStatus message for skipped creation
"Skipped .mcp.json (sequant already configured)"when AC-3 appliesRecommended Workflow
Phases: spec → testgen → exec → qa
Quality Loop: disabled
Reasoning: ACs include Unit Test verification methods; testgen will create stubs before implementation. Single-feature scope with well-defined AC, 2-file change. No UI components, no browser testing needed.
Label Review
Current: enhancement, cli
Recommended: enhancement, cli (no changes needed)
Reason: Feature enhancement to CLI init command — existing labels are accurate.
Quality Loop: Won't auto-enable — labels don't trigger it and scope is focused.
feat(#418): create .mcp.json by default during sequant init
admarble commentedon Mar 25, 2026
Exec Progress Update
AC Coverage
sequant initcreates.mcp.jsonby default.mcp.jsonin "Will create:" previewsequantentry.mcp.json--mcpretains global client behavior--yescreates.mcp.json, skips global.mcp.jsonhandled gracefullycwd/envin.mcp.jsonKey Files Changed
src/lib/mcp-config.ts— AddedcreateProjectMcpJson()with create/merge/skip logicsrc/commands/init.ts— Integrated.mcp.jsoncreation (always runs, before global MCP block)src/lib/mcp-config.test.ts— 5 new tests for create/merge/skip/corrupt/no-cwd-envsrc/commands/init.test.ts— 6 new tests for init integrationCHANGELOG.md— Added entry under [Unreleased]Quality Gates
npm run buildnpm run lintnpm testQuality Plan Alignment
.mcp.jsonhandled gracefullyPR: #430
admarble commentedon Mar 25, 2026
QA Review for Issue #418
AC Coverage
sequant initcreates.mcp.jsonby defaultcreateProjectMcpJson()called unconditionally atinit.ts:540.mcp.jsonin "Will create:" previewinit.ts:387-389sequantentrymcp-config.ts:204, test atmcp-config.test.ts:238.mcp.jsonmcp-config.ts:208, test atmcp-config.test.ts:254--mcpretains global client behavior--mcp, test atinit.test.ts:778--yescreates.mcp.json, skips globalcreateProjectMcpJsonalways called; global skipped without--mcp, test atinit.test.ts:800.mcp.jsonhandled gracefullycwdorenvin.mcp.jsoncwdcorrectly omitted.envcan leakANTHROPIC_API_KEYinto.mcp.jsonwhen the var is set in the user's shell — see Finding belowCoverage: 7/9 AC items fully met
Original ACs: 7/7 met
Derived ACs: 0/2 met
Quality Plan Verification
.mcp.json)Derived ACs: 0/2 fully addressed
Quality Plan Status: Partial
CI Status
build (20.x)build (22.x)typecheckvalidate-skillsvalidate-pluginCI Summary: 5 passed, 0 pending, 0 failed
Quality Metrics
any)Stale Branch Check
Test Coverage Analysis
src/lib/mcp-config.tssrc/lib/mcp-config.test.tssrc/commands/init.tssrc/commands/init.test.tsCHANGELOG.mdCoverage: 2/2 changed source files have corresponding tests
Critical paths without tests: None
Code Review
Strengths:
addSequantToMcpConfig→createProjectMcpJson)ProjectMcpJsonResultreturn type — enables clear status reporting withcreated/merged/skippedflagsIssues:
🔴
envleakage into.mcp.json(secret in VCS):getSequantMcpConfig()at line 53 addsenv.ANTHROPIC_API_KEYwhenever the env var is set, regardless ofclientType. WhencreateProjectMcpJson()calls it without options, the API key can be written into.mcp.json— a file intended to be committed to git. This contradicts the design ("no cwd or env") and the code comment at line 174.Fix: Either gate env inclusion on
clientTypebeing present, or pass a flag to suppress env for project-level configs:🟡 Import ordering:
PROJECT_MCP_JSONexport is placed betweenpathandosimports (lines 11-13). Minor style issue — the constant should be after all imports.Suggestions:
ANTHROPIC_API_KEYin the test environment and asserting it's still absent from.mcp.jsonoutputTest Quality Review
mcp-config.test.tsuses real fs with tmpDir;init.test.tsmocks appropriatelyAnti-Pattern Detection
Code Patterns
mcp-config.ts:53envonclientTypepresenceCritical Issues: 1
Warnings: 0
Call-Site Review
New exported functions detected: 1
createProjectMcpJson()init.ts:540Findings: None — single call site, correct unconditional invocation.
Execution Evidence
N/A — No scripts/ or CLI command changes. The change is in library code invoked during
sequant init.Skill Command Verification
N/A — No skill files changed.
CLI Registration Verification
N/A — No option interface changes.
Smoke Test
Not Required — No workflow-affecting changes (skills, scripts, CLI commands).
CHANGELOG Verification
Result: CHANGELOG requirements met
Self-Evaluation
ANTHROPIC_API_KEYisn't set in CI/test)sequant initwithANTHROPIC_API_KEYin shell → API key written to.mcp.json→ committed to git → secret leakedgetSequantMcpConfig()lines 52-55Verdict: AC_NOT_MET
All 7 original ACs are met. However, derived AC-9 ("No
cwdorenvin.mcp.json") is NOT_MET due toANTHROPIC_API_KEYpotentially leaking into a version-controlled file. This is a security concern that should be fixed before merge.Documentation
Next Steps
getSequantMcpConfig()— gateenvinclusion onclientTypebeing set (2-line change)ANTHROPIC_API_KEYin env and asserts.mcp.jsondoes NOT contain itPROJECT_MCP_JSONbelow theosimport/qa 418after fixesfix(#418): prevent ANTHROPIC_API_KEY from leaking into .mcp.json
admarble commentedon Mar 25, 2026
Exec Progress Update (Post-QA Fix)
AC Coverage
sequant initcreates.mcp.jsonby default.mcp.jsonin "Will create:" previewsequantentry.mcp.json--mcpretains global client behavior--yescreates.mcp.json, skips global.mcp.jsonhandled gracefullycwd/envin.mcp.jsonQA Fix Applied
Fixed the
ANTHROPIC_API_KEYleakage issue identified in QA:getSequantMcpConfig()now only includesenvwhenclientTypeis set (global client configs only)createProjectMcpJson()calls withoutclientType→ no env in.mcp.json.mcp.jsoneven when set in shellQuality Gates
npm run buildnpm run lintnpm testKey Files Changed
src/lib/mcp-config.ts—createProjectMcpJson()+ env leakage fixsrc/commands/init.ts— Integration + preview linesrc/lib/mcp-config.test.ts— 6 new tests (create/merge/skip/corrupt/no-cwd-env/no-api-key-leak)src/commands/init.test.ts— 6 new tests for init integrationCHANGELOG.md— Added entry under [Unreleased]PR: #430
admarble commentedon Mar 25, 2026
QA Review for Issue #418 (Re-run)
AC Coverage
sequant initcreates.mcp.jsonby defaultcreateProjectMcpJson()called unconditionally atinit.ts:540.mcp.jsonin "Will create:" previewinit.ts:387-389sequantentrymcp-config.ts:205, test coverage.mcp.jsonmcp-config.ts:208-210, test atmcp-config.test.ts--mcpretains global client behavior--mcp, test atinit.test.ts--yescreates.mcp.json, skips globalcreateProjectMcpJsonalways called; global skipped without--mcp.mcp.jsonhandled gracefullymcp-config.test.tscwd/envin.mcp.json3e1bb9c—envgated onclientType, dedicated test verifies no API key leakageCoverage: 9/9 AC items fully met
Original ACs: 7/7 met
Derived ACs: 2/2 met
Quality Plan Verification
Derived ACs: 2/2 addressed
Quality Plan Status: Complete
CI Status
build (20.x)build (22.x)typecheckvalidate-skillsvalidate-pluginCI Summary: 5 passed, 0 pending, 0 failed
Quality Metrics
any)Test Coverage Analysis
src/lib/mcp-config.tssrc/lib/mcp-config.test.ts(7 new tests)src/commands/init.tssrc/commands/init.test.ts(6 new tests)Coverage: 2/2 changed source files have corresponding tests
Critical paths without tests: None
Code Review
Strengths:
addSequantToMcpConfigpatternProjectMcpJsonResultreturn type enables clear status reportingenvonclientType— prevents secrets in VCSIssues: None remaining after the env leakage fix.
Suggestions: None — implementation is clean and focused.
Call-Site Review
New exported functions detected: 1 (
createProjectMcpJson)createProjectMcpJson()init.ts:540Anti-Pattern Detection
No anti-patterns detected. The previous security issue (API key in VCS file) was fixed in
3e1bb9c.CHANGELOG Verification
Result: CHANGELOG requirements met
Self-Evaluation
.mcp.jsonhasmcpServersas a non-object value (array) — handled by thetypeofcheck at line 198Verdict: READY_FOR_MERGE
All 7 original ACs and 2 derived ACs are met. The env leakage security issue identified in previous QA has been fixed and verified with a dedicated test. CI is green, build passes, 11 new tests provide comprehensive coverage.
Documentation
Next Steps
Documentation: Before merging, run
/docs 418to generate feature documentation.admarble commentedon Mar 25, 2026
QA Review for Issue #418 (Re-review after fix)
AC Coverage
sequant initcreates.mcp.jsonby defaultcreateProjectMcpJson()called unconditionally atinit.ts:540, no--mcprequired.mcp.jsonin "Will create:" previewinit.ts:387-389, unconditionalsequantentrymcp-config.ts:204-206, test atmcp-config.test.ts:238.mcp.jsonmcp-config.ts:208-210, preserves existing servers, test atmcp-config.test.ts:254--mcpretains global client behavior--mcp, test atinit.test.ts:778--yescreates.mcp.json, skips globalcreateProjectMcpJsonalways called; global skipped without--mcp, test atinit.test.ts:800.mcp.jsonhandled gracefullymcp-config.ts:191-194, starts fresh on parse error, test atmcp-config.test.ts:291cwd/envin.mcp.json3e1bb9c:envgated onclientTypeatmcp-config.ts:54, dedicated leak test atmcp-config.test.ts:273Coverage: 9/9 AC items fully met
Original ACs: 7/7 met
Derived ACs: 2/2 met
Quality Plan Verification
Derived ACs: 2/2 addressed
Quality Plan Status: Complete
CI Status
build (20.x)build (22.x)typecheckvalidate-skillsvalidate-pluginCI Summary: 5 passed, 0 pending, 0 failed
Quality Metrics
any)Stale Branch Check
Test Coverage Analysis
src/lib/mcp-config.tssrc/lib/mcp-config.test.tssrc/commands/init.tssrc/commands/init.test.tsCHANGELOG.mdCoverage: 2/2 changed source files have corresponding tests
Critical paths without tests: None
Code Review
Strengths:
addSequantToMcpConfigpatternProjectMcpJsonResultreturn type with create/merge/skip flagsmcp-config.ts:52-53explaining why env is gated onclientTypeIssues:
3e1bb9caddresses the previous QA findingSuggestions:
Test Quality Review
mcp-config.test.tsuses real fs with tmpDir;init.test.tsmocks appropriatelyAnti-Pattern Detection
No issues found. No dependency changes. Security scan clean — the only "secret" mention is a comment about preventing leakage.
Call-Site Review
New exported functions detected: 2 (
createProjectMcpJson,PROJECT_MCP_JSON)createProjectMcpJson()init.ts:540PROJECT_MCP_JSONmcp-config.ts:181Execution Evidence
N/A — No scripts/ or CLI command changes.
Skill Command Verification
N/A — No skill files changed.
CLI Registration Verification
N/A — No option interface changes.
Smoke Test
Not Required — No workflow-affecting changes.
CHANGELOG Verification
Result: CHANGELOG requirements met
Self-Evaluation
ANTHROPIC_API_KEYenv var and asserts it does NOT appear in.mcp.jsonoutput.mcp.jsonhas non-objectmcpServersvalue (e.g.,mcpServers: "string") — handled by the type check at line 198Verdict: READY_FOR_MERGE
All 7 original ACs and 2 derived ACs are met. The env leakage issue from the previous QA has been fixed in
3e1bb9cwith a dedicated test. CI is green. Code is clean and well-tested.Documentation
Documentation: Before merging, run
/docs 418to generate feature documentation.Next Steps
fix(#418): handle array mcpServers and conditional preview
refactor(#418): extract isSequantInProjectMcpJson predicate
admarble commentedon Mar 25, 2026
QA Review for Issue #418
AC Coverage
sequant initcreates.mcp.jsonby defaultcreateProjectMcpJson()called unconditionally atinit.ts:543.mcp.jsonin "Will create:" previewinit.ts:387-391, conditional onisSequantInProjectMcpJson()sequantentrymcp-config.ts:227, test atmcp-config.test.ts:289.mcp.jsonmcp-config.ts:231-235, test atmcp-config.test.ts:305--mcpretains global client behavior--mcpflag, test atinit.test.ts:778--yescreates.mcp.json, skips globalcreateProjectMcpJsonalways called; global skipped without--mcp, test atinit.test.ts:800.mcp.jsonhandled gracefullymcp-config.ts:209-211, test atmcp-config.test.ts:344cwd/envin.mcp.jsongetSequantMcpConfig()withoutclientTypeomits env; tests atmcp-config.test.ts:269,325Coverage: 9/9 AC items fully met
Original ACs: 7/7 met
Derived ACs: 2/2 met
Quality Plan Verification
Quality Plan found: Yes
Derived ACs: 2/2 addressed
Quality Plan Status: Complete
CI Status
build (20.x)build (22.x)typecheckvalidate-skillsvalidate-pluginCI Summary: 5 passed, 0 pending, 0 failed
Quality Metrics
any)Build Verification
N/A — Build passed
Test Coverage Analysis
src/lib/mcp-config.tssrc/lib/mcp-config.test.tssrc/commands/init.tssrc/commands/init.test.tsCHANGELOG.mdCoverage: 2/2 changed source files have corresponding tests
Critical paths without tests: None
Code Review
Strengths:
ProjectMcpJsonResultreturn type withcreated/merged/skippedflags enables clear status reportinggetSequantMcpConfig()withoutclientTypeomitsenv, preventing secret leakage into committed.mcp.jsoncreateProjectMcpJsonmirrorsaddSequantToMcpConfigstructuremcpServers, missing file all handled gracefullyArray.isArrayguard preventstypeof []==="object"pitfallIssues:
Suggestions:
Test Quality Review
Date.now()suffix, proper cleanup in afterEachIssues Found: None
Anti-Pattern Detection
Dependency Audit
N/A — No dependency changes
Code Patterns
No anti-patterns detected. No N+1 queries, empty catch blocks, hardcoded secrets, or command injection.
Critical Issues: 0
Warnings: 0
Call-Site Review
New exported functions detected: 3
isSequantInProjectMcpJson()init.ts:388if (!isSequantInProjectMcpJson())— preview guardcreateProjectMcpJson()init.ts:543PROJECT_MCP_JSONmcp-config.ts:170,199Findings: All call sites match AC constraints.
createProjectMcpJson()is correctly unconditional (AC-1), andisSequantInProjectMcpJson()gates only the preview line (AC-2/AC-3).Execution Evidence
N/A — No scripts/CLI entrypoint modified (changes are in library code called by init command)
CLI Registration Verification
N/A — No option interface changes
Skill Command Verification
N/A — No skill files changed
Smoke Test
Not Required — No workflow-affecting changes (no skills, scripts, or CLI entrypoint changes)
CHANGELOG Verification
Result: CHANGELOG requirements met
Self-Evaluation
getSequantMcpConfig()withoutclientTypeomits env (line 54),createProjectMcpJson()calls it without args (line 200). Build passes, all new tests pass..mcp.jsonin a read-only directory would throw — acceptable, same behavior as all other init file writes3e1bb9cVerdict: READY_FOR_MERGE
All 9 AC items (7 original + 2 derived) are fully met. The prior QA's env-leakage finding (AC-9) was fixed in commit
3e1bb9cby gatingenvinclusion onclientTypepresence. Implementation is clean, well-tested, and follows existing patterns. CI passes. No issues found.Documentation
--help)Next Steps
Documentation: Before merging, run
/docs 418to generate feature documentation.fix(#418): remove TOCTOU race in .mcp.json preview
docs(#418): update MCP server docs for .mcp.json auto-creation
admarble commentedon Mar 25, 2026
Documentation Updated
File:
docs/features/mcp-server.md(updated, not new — avoids fragmentation)Changes:
.mcp.jsoncreation duringsequant init(no flags needed)--mcpflag is now only for global client configs (Claude Desktop, Cursor, VS Code)--yesmode docs: creates.mcp.jsonalways, skips global configsSections Updated:
Why update vs. new file:
Users looking for MCP setup go to
mcp-server.md. A separate doc would fragment the information.Ready to merge!
chore(#418): resolve CHANGELOG.md conflict with main
feat(#418): create .mcp.json by default during sequant init (#430)
chore(#421): resolve merge conflicts with origin/main