Skip to content

Prefer raw external tools during discovery (disable nested code-mode)#560

Merged
akhilles merged 1 commit intomainfrom
fix/mcp-probe
Feb 20, 2026
Merged

Prefer raw external tools during discovery (disable nested code-mode)#560
akhilles merged 1 commit intomainfrom
fix/mcp-probe

Conversation

@akhilles
Copy link
Contributor

@akhilles akhilles commented Feb 20, 2026

Top-level code-mode can still use the discovered mcp tools.


Note

Low Risk
Low risk: small change to external MCP process spawning/discovery logic with a straightforward fallback path; main risk is compatibility with older backends that behave differently under --code-mode=false.

Overview
External MCP tool discovery now spawns pcb-* backends using mcp --code-mode false to avoid nested code-mode wrappers, falling back to plain mcp when the flag isn’t supported.

ExternalMcpServer::spawn was refactored to try multiple MCP CLI argument sets via a new spawn_with_mcp_args helper, and the change is documented in CHANGELOG.md.

Written by Cursor Bugbot for commit a4c7a34. This will update automatically on new commits. Configure here.


Open with Devin

Top-level code-mode can still use the discovered mcp tools.
@akhilles akhilles requested a review from LK February 20, 2026 01:10
Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

@akhilles akhilles merged commit b6a94f2 into main Feb 20, 2026
12 checks passed
@akhilles akhilles deleted the fix/mcp-probe branch February 20, 2026 01:19
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.

2 participants