Skip to content

fix(runner): pass the prompt after -- so --mcp-config does not swallow it - #116

Merged
Robbertvermeulen merged 1 commit into
mainfrom
fix/mcp-config-prompt
Oct 16, 2026
Merged

Robbertvermeulen merged 1 commit into
mainfrom
fix/mcp-config-prompt

Conversation

@Robbertvermeulen

Copy link
Copy Markdown
Owner

Waarom

Sinds v0.25.0 (browser-tool) stopt elke sessie direct: Error: Invalid MCP configuration: MCP config file not found: /data/work/cards/task_94f4/You are the agentboard agent.... --mcp-config neemt in de claude CLI meerdere waarden, dus de prompt erna werd als tweede configbestand gelezen. De kaart sprong elke minuut van ready naar doing en terug.

Wat

  • -- vóór de prompt in de spawn-args.
  • verify-trigger: de nep-sessie leest de prompt als laatste argument (was $1, en dat was na de browser-PR --mcp-config) en faalt als -- er niet direct voor staat.

Test

  • Lokaal met de echte claude CLI: zonder -- dezelfde fout, met -- antwoordt hij gewoon.
  • verify-trigger faalt zonder de fix en slaagt met de fix. Alle acht verify-scripts slagen.

🤖 Generated with Claude Code

…w it

--mcp-config is variadic in the claude CLI, so the prompt that followed it
was read as a second config file path and every session exited at once
("MCP config file not found"). The card bounced ready -> doing -> ready
every minute.

verify-trigger read the prompt from $1, which became --mcp-config; it now
reads the last argument and fails when the prompt is not preceded by --.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Robbertvermeulen
Robbertvermeulen merged commit 2035ca2 into main Oct 16, 2026
2 checks passed
@Robbertvermeulen
Robbertvermeulen deleted the fix/mcp-config-prompt branch October 16, 2026 09:57
github-actions Bot pushed a commit that referenced this pull request Oct 16, 2026
## [0.25.1](v0.25.0...v0.25.1) (2026-10-16)

### Bug Fixes

* **runner:** pass the prompt after -- so --mcp-config does not swallow it ([#116](#116)) ([2035ca2](2035ca2))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.25.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant