Repository navigation
feat(#161): add MCP server support to headless sequant run - #163
Merged
admarble merged 2 commits intoJan 21, 2026
Merged
Conversation
- Add getMcpServersConfig() to read full MCP config from Claude Desktop - Add run.mcp setting (default: true) to settings schema - Add --no-mcp CLI flag to disable MCPs for faster/cheaper runs - Pass mcpServers to SDK query() when enabled (AC-2) - Update sequant doctor to show MCP availability for headless mode - Add MCP documentation to run-command.md The implementation reads MCP servers from the Claude Desktop config and passes them to the Claude Agent SDK, enabling Context7, Sequential Thinking, and Chrome DevTools in headless mode. Closes #161 Co-Authored-By: Claude Opus 4.5 <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
admarble
deleted the
feature/161-feat-add-mcp-server-support-to-headless-sequan
branch
January 21, 2026 17:59
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.
Summary
getMcpServersConfig()to read full MCP config from Claude Desktoprun.mcpsetting (default:true) to settings schema--no-mcpCLI flag to disable MCPs for faster/cheaper runsmcpServersto SDKquery()when enabledsequant doctorto show MCP availability for headless modeTest plan
npm run build)npm test- 567 tests)sequant doctorand verify "MCP Servers (headless)" check appearssequant run 123 --no-mcp --dry-runand verify flag is respectedImplementation Details
The implementation reads MCP servers from the Claude Desktop config file at:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/claude/claude_desktop_config.jsonWhen
config.mcpistrue(default), the fullmcpServersobject is passed to the SDKquery()call, enabling Context7, Sequential Thinking, and Chrome DevTools in headless mode.Closes #161
🤖 Generated with Claude Code