Add the NVIDIA Elements MCP server to OpenCode

Add the NVIDIA Elements entry the way OpenCode’s own docs describe, fill in what it needs, then check it’s connected.

  1. Open opencode.json

    Where the file is: ~/.config/opencode/opencode.json, opencode.json

  2. Paste the server entry

    {
      "$schema": "https://opencode.ai/config.json",
      "mcp": {
        "nvidia-elements": {
          "type": "local",
          "command": [
            "npx",
            "-y",
            "@nvidia-elements/cli",
            "mcp"
          ],
          "enabled": true
        }
      }
    }

    If the file already has servers, add the entry inside the existing object.

  3. Check it’s connected

    Restart or reload OpenCode and look for nvidia-elements in its list of MCP servers. A server that needs sign-in opens it on first use.

OpenCode’s MCP docs · NVIDIA Elements MCP server →

Other clients