You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
[Bug]: Local ACP command for OpenClaw (openclaw acp) cannot start a thread: T3 always sends per-session MCP #35320
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
Install OpenClaw 2026.11.3 and start its Gateway (openclaw gateway).
In T3 Code, add a Local ACP command instance with executable openclaw and one argument, acp.
The provider probe succeeds. Start a thread on that instance and send a prompt.
Expected behavior
The thread starts. OpenClaw's ACP bridge works when a client sends mcpServers: [].
Actual behavior
Session setup fails, so no OpenClaw thread can start. T3 always adds its stdio t3-code MCP server to session/new, session/load and session/resume. OpenClaw's ACP bridge rejects any non-empty mcpServers list. OpenClaw reports mcpCapabilities: { http: false, sse: false }, so T3 picks the stdio entry, and no setting turns it off. Configuring MCP on the OpenClaw Gateway does not help, because T3 still sends its own server.
OpenClaw documents this in docs/cli/acp.md, "T3 Code compatibility". That section says T3 must provide a supported way to send mcpServers: [] when it creates, loads and resumes a session.
This is not a request for an OpenClaw provider (#5505). It is the existing Local ACP command path failing for one ACP agent.
Impact
Blocks work completely
Version or commit
main @ 2482b03 (reproduced on 4947db0; the MCP injection in packages/provider-acp/src/server/adapter.ts is the same on both)
initialize -> agentCapabilities.mcpCapabilities: {"http":false,"sse":false}
session/new (with T3's stdio "t3-code" server) -> {"code":-32603,"message":"Internal error","data":{"details":"ACP bridge mode does not support per-session MCP servers. Configure MCP on the OpenClaw gateway or agent instead."}}session/load -> same errorsession/resume -> same errorsession/new (mcpServers: []) -> {"sessionId":"…"} (works)
Workaround
None in T3 settings. A local patch fixes it: a per-instance option for ACP Registry and Local ACP command instances that sends mcpServers: [] and keeps T3's MCP address and token out of the agent's environment. The patch has tests and has run live against openclaw 2026.11.3. It is on Borekobama:acp-session-mcp-opt-out. I can open a PR if you want one.
Activity