Repository navigation
Description
Description
The product documentation states that a Deep Agents Code sandbox supports at most 64 managed MCP servers. On v0.0.138 the 32nd mcp add on a Deep Agents Code sandbox already fails: the gateway rejects the provider registration with "providers list exceeds maximum (32)" (the sandbox already holds one native inference provider, so 31 managed MCP servers fit). The documented 64-server limit therefore cannot be reached, the documented "maximum 64 managed MCP servers" refusal is never shown, and the failing add surfaces a raw gateway validation message and leaves a detached provider behind for manual cleanup.
- Platform scope: Reproduced on DGX Station (aarch64) with a Deep Agents Code sandbox only; other platforms not tested.
- Regression: Unknown - earlier versions not tested.
- OpenShell issue: No - the per-sandbox provider cap is enforced by the gateway (openshell 0.0.116), but NemoClaw documents 64, consumes one provider per managed MCP server, and does not translate the gateway limit into its own preflight or message.
Related issues (not duplicates)
- GitHub [All Platforms][Policy&Network] only one managed MCP server can be registered per sandbox; every later mcp add fails to activate its generated policy #11895 concerns two managed servers on one identical URL (credential binding conflict) and do not involve the provider count.
- A separate report filed alongside this one concerns two servers on one multi-address host pinning different resolved addresses; the registrations in this report are all on one private fixture address with identical pins, and 31 of them succeed.
Environment
Device: DGX Station GB300
OS: Ubuntu 24.04 (kernel 6.17.0-1029-nvidia-64k)
Architecture: aarch64
Node.js: v22.23.3
npm: 10.9.9
Docker: Docker Engine 29.6.1
OpenShell CLI: openshell 0.0.116
NemoClaw: v0.0.138
OpenClaw: N/A (Deep Agents Code sandbox, LangChain Deep Agents Code v0.1.71)
Steps to Reproduce
- Onboard a Deep Agents Code sandbox {sandbox} on NVIDIA Endpoints and confirm it is Ready.
- Serve one HTTPS MCP endpoint on a private address you control (for example https://{private-ip}:{port}/mcp with a locally trusted CA; export its CA through NODE_EXTRA_CA_CERTS).
- Register managed servers in a loop, each with its own path and credential name, until an add fails:
for i in $(seq -w 1 64); do
export T_MCP_$i=placeholder-$i
nemoclaw {sandbox} mcp add srv$i --url https://{private-ip}:{port}/mcp/path-$i --env T_MCP_$i --no-probe --trusted-private-host {private-ip} || breakdone - Run nemoclaw {sandbox} mcp list and openshell provider list for the gateway.
Expected Result
Registrations 1 through 64 succeed and the 65th is refused with the documented "maximum 64 managed MCP servers" message, as described in the Add an MCP Server page for Deep Agents Code. If the gateway cannot hold that many providers, the product should state the real limit up front (documentation and a preflight refusal before any provider or policy is created) instead of failing part-way with a gateway validation error.
Actual Result
Registrations 1 through 31 succeed. The 32nd add rolls back and exits 1:
mcp list shows 31 managed servers; the detached provider for srv32 remains registered on the gateway and must be deleted by hand.
Applied preset: mcp-bridge-srv32
Removed preset: mcp-bridge-srv32
Preserved detached OpenShell provider '{sandbox}-mcp-srv32' after MCP add rollback. Remove it explicitly after confirming no sandbox uses it.
Error: × code: 'Client specified an invalid argument', message: "providers list
│ exceeds maximum (32)"
Logs
Effective egress printed for the 32nd add (identical shape to the 31 successful ones):
policy 'mcp_bridge_srv32':
- {private-ip}:{port} (protocol: mcp, enforcement: enforce)
allowed IPs: {private-ip}
allow: initialize /**
...
binaries:
- /usr/local/bin/dcode
- /opt/venv/bin/python3*
Applied preset: mcp-bridge-srv32
Removed preset: mcp-bridge-srv32
Preserved detached OpenShell provider '{sandbox}-mcp-srv32' after MCP add rollback. Remove it explicitly after confirming no sandbox uses it.
Error: × code: 'Client specified an invalid argument', message: "providers list
│ exceeds maximum (32)"
Activity
wscurran commentedon Nov 19, 2026
Hi @mercl-lau, thanks for reporting the mismatch between the documented MCP capacity and the provider limit. We’re planning an updated architecture for NemoClaw and won’t be prioritizing this follow-up in the current implementation. Closing as not planned.
If this is still an issue that needs prioritization in our v1 release, please re-open and tag @wscurran.