Skip to content

[DGX Station][Agent&Skills] Deep Agents Code sandbox accepts only 31 managed MCP servers; the 32nd mcp add fails with "providers list exceeds maximum (32)" although 64 are documented #13801

Closed as not planned

Description

@mercl-lau

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)

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

  1. Onboard a Deep Agents Code sandbox {sandbox} on NVIDIA Endpoints and confirm it is Ready.
  2. 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).
  3. 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} || break
    done
  4. 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

  1. added
    NV QA
    needs: triage
    on Oct 27, 2026
  2. added theissue type on Oct 27, 2026
  3. self-assigned this
    on Oct 27, 2026
  4. added
    area: integrations
    integration: dcode
    and removed
    needs: triage
    on Oct 27, 2026
  5. wscurran commented on Nov 19, 2026

    @wscurran
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

NV QAarea: integrationsintegration: dcode

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions