-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Warp global file-based MCP servers do not auto-spawn from ~/.warp/.mcp.json #9879
Copy link
Copy link
Open
Labels
area:agentAgent workflows, conversations, prompts, cloud mode, and AI-specific UI.Agent workflows, conversations, prompts, cloud mode, and AI-specific UI.area:mcpMCP server integrations, tool connections, and resource providers.MCP server integrations, tool connections, and resource providers.bugSomething isn't working.Something isn't working.in-app-feedbackFeedback items sourced from in-app feedback flows.Feedback items sourced from in-app feedback flows.os:macmacOS-specific behavior, regressions, or requests.macOS-specific behavior, regressions, or requests.ready-to-implementThe issue is ready for implementation work.The issue is ready for implementation work.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Metadata
Metadata
Assignees
Labels
area:agentAgent workflows, conversations, prompts, cloud mode, and AI-specific UI.Agent workflows, conversations, prompts, cloud mode, and AI-specific UI.area:mcpMCP server integrations, tool connections, and resource providers.MCP server integrations, tool connections, and resource providers.bugSomething isn't working.Something isn't working.in-app-feedbackFeedback items sourced from in-app feedback flows.Feedback items sourced from in-app feedback flows.os:macmacOS-specific behavior, regressions, or requests.macOS-specific behavior, regressions, or requests.ready-to-implementThe issue is ready for implementation work.The issue is ready for implementation work.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Summary
Warp-configured global file-based MCP servers under
~/.warp/.mcp.jsonare not being auto-spawned, even though they should always spawn by default. TheAuto-spawn servers from third-party agentssetting should only control third-party global configs such as~/.claude/settings.json.Problem
A user reported that file-based MCP auto-spawn behavior does not match the intended scope split between Warp-managed global MCP config and third-party global MCP config. Warp global MCP servers are expected to be treated as trusted Warp-configured servers and spawned regardless of the third-party auto-spawn toggle. Instead, servers configured under the Warp global MCP config appear not to spawn whether the third-party setting is off or on.
This smells like a path/scope classification bug: Warp may not be correctly recognizing the relevant config path as the global Warp MCP config when deciding whether a detected file-based server is globally scoped.
Expected behavior
~/.warp/.mcp.json, auto-spawn by default regardless of theAuto-spawn servers from third-party agentssetting.~/.claude/settings.json, auto-spawn only whenAuto-spawn servers from third-party agentsis enabled.Actual behavior
Warp-configured global file-based MCP servers under
~/.warp/.mcp.jsonare not being spawned in either setting state:Third-party global auto-spawn behavior may still depend on the toggle, but the Warp-global path appears not to be classified/spawned correctly.
Reproduction steps or desired workflow
~/.warp/.mcp.json.Auto-spawn servers from third-party agentsis disabled.Auto-spawn servers from third-party agents.Expected: the Warp global MCP servers spawn in both steps 3 and 5.
Actual: the Warp global MCP servers do not spawn in either case.
Artifacts
None attached.
Warp version
v0.2026.04.30.08.57.dev_00
Operating system
macOS 26.4.1 (build 25E253)
Possible source references
app/src/ai/mcp/file_based_manager.rs:is_global_server,is_global_warp_server,spawn_file_based_servers, andhandle_file_based_mcp_enabled_changeencode the intended split: global Warp servers always auto-spawn, global third-party servers respect the toggle, and project-scoped servers do not auto-spawn.app/src/settings/ai.rs:file_based_mcp_enableddescribes the user-visible setting as controlling third-party file-based MCP servers, while Warp-native.warp/.mcp.jsonconfigs are always detected and spawned.app/src/ai/mcp/file_based_manager_tests.rs: tests cover global Warp auto-spawn, global non-Warp toggle behavior, and project-scoped non-auto-spawn behavior; this area likely needs coverage for the exact discovered root/path shape that fails in practice.