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 }}
Repository navigation
ACP: investigate opt-in client-supplied stdio MCP support #1606
Maple ACP accepts temporary client-supplied HTTP MCP servers in session/new and session/load, but deliberately rejects client-supplied stdio MCP commands before starting a process. Owner-configured local stdio MCP already exists. Investigate whether trusted ACP clients should be able to opt into temporary stdio MCP bindings.
This would improve interoperability with ACP harnesses such as Buzz's standalone buzz-acp, whose optional injected MCP descriptor currently describes a stdio command. It is separate from the working HTTP MCP integration and is not required to use the existing Maple Buzz plugin.
The current refusal is an intentional policy boundary: a stdio command executes on the Maple host, which may be a different computer from the ACP client. The investigation should decide how an owner explicitly trusts a launcher/client and what command, environment and working-directory policy applies. Preserve rejection before process execution when that trust has not been granted; this is not a request to silently allow arbitrary commands from every client.
If supported, use the existing host-owned process lifecycle and account/task boundaries. Define behavior for session creation, load, disconnect/cancellation, conflicting server names and cleanup, without persisting or logging supplied secrets. Capability advertisement and refusal messages should match the selected policy. Cover the default refusal and permitted path with protocol/process fixtures; retain HTTP MCP behavior.
Related but distinct: #1457 tracks client-provided system-prompt append support. No implementation or policy change is made by this investigation issue.
Here's another ACP client that runs into this: T3 Code.
Use case: I want to run Maple Agent as a custom ACP provider in T3 Code. Maple would handle the agent, tools, and task history, and T3 would be the interface and orchestrator. Maple's docs already describe a T3 setup (local-host.md#t3-code).
What happens: T3 sends its own tools in session/new as a stdio MCP server. Maple rejects that server, so the session never opens. This happens even when the whole task is "Reply with exactly: OK":
{"code":-32602,"message":"Invalid params","data":"Transient stdio MCP server 't3' is disabled because it would execute caller-supplied native code on this machine"}
T3 retries initialize and session/new five times, then fails the turn.
What works (when I send session/new to maple-agent acp myself):
With an HTTP MCP entry that includes an Authorization header, the session opens. Maple runs initialize, tools/list, and tools/call, and the model calls the tool and gets its result.
With an empty mcpServers list, the session also opens.
Why clients hit this: the ACP spec says all agents MUST support stdio MCP servers, and HTTP is optional. So clients like T3 default to stdio, and the setup in Maple's docs fails the first time you use it. We understand why the refusal exists, and we're not asking Maple to accept stdio servers from clients the owner hasn't trusted.
Either of these would unblock us:
An owner opt-in that trusts stdio MCP servers from a specific client, as this issue proposes.
In the meantime, a documented rule that client-supplied tools must use HTTP with Maple. Then we can ask T3 to choose HTTP whenever Maple advertises mcpCapabilities.http.
Tested: 2026-11-13 with Maple Agent 0.0.23 (version reported by ACP initialize) and T3 Code 0.1.10-nightly.20261113.4643 on macOS.
Current workaround: using Maple's models through Pi inside T3. That works, but it isn't the native Maple Agent.
Fixed on master. maple-agent acp now accepts client stdio MCP servers (#1622) and MCP over the ACP connection, with per-model reasoning levels (#1618). Both ship in the next Maple Work release, 0.0.25. @AustinKelsay, T3 Code should open a session once you are on that build; please reopen if it still fails.
Activity
AustinKelsay commentedon Nov 15, 2026
Here's another ACP client that runs into this: T3 Code.
Use case: I want to run Maple Agent as a custom ACP provider in T3 Code. Maple would handle the agent, tools, and task history, and T3 would be the interface and orchestrator. Maple's docs already describe a T3 setup (local-host.md#t3-code).
What happens: T3 sends its own tools in
session/newas a stdio MCP server. Maple rejects that server, so the session never opens. This happens even when the whole task is "Reply with exactly: OK":{"code":-32602,"message":"Invalid params","data":"Transient stdio MCP server 't3' is disabled because it would execute caller-supplied native code on this machine"}T3 retries
initializeandsession/newfive times, then fails the turn.What works (when I send
session/newtomaple-agent acpmyself):initialize,tools/list, andtools/call, and the model calls the tool and gets its result.mcpServerslist, the session also opens.Why clients hit this: the ACP spec says all agents MUST support stdio MCP servers, and HTTP is optional. So clients like T3 default to stdio, and the setup in Maple's docs fails the first time you use it. We understand why the refusal exists, and we're not asking Maple to accept stdio servers from clients the owner hasn't trusted.
Either of these would unblock us:
mcpCapabilities.http.Tested: 2026-11-13 with Maple Agent 0.0.23 (version reported by ACP
initialize) and T3 Code 0.1.10-nightly.20261113.4643 on macOS.Current workaround: using Maple's models through Pi inside T3. That works, but it isn't the native Maple Agent.
Agent: accept client stdio MCP servers over ACP
Agent: accept client stdio MCP servers over ACP (#1622)
AnthonyRonning commentedon Nov 17, 2026
Fixed on master.
maple-agent acpnow accepts client stdio MCP servers (#1622) and MCP over the ACP connection, with per-model reasoning levels (#1618). Both ship in the next Maple Work release, 0.0.25. @AustinKelsay, T3 Code should open a session once you are on that build; please reopen if it still fails.