Skip to content
VS Code

nexus for VS Code

io.github.addozhang/nexus

Query Sonatype Nexus Repository (OSS/Pro) for Maven, Python, and Docker artifacts

client:VS Code transport:stdio runtime:pypi

Install nexus in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "nexus-base-url",
      "description": "NEXUS_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nexus-username",
      "description": "NEXUS_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nexus-password",
      "description": "NEXUS_PASSWORD",
      "password": true
    }
  ],
  "servers": {
    "nexus": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "nexus-mcp-server"
      ],
      "env": {
        "NEXUS_BASE_URL": "${input:nexus-base-url}",
        "NEXUS_USERNAME": "${input:nexus-username}",
        "NEXUS_PASSWORD": "${input:nexus-password}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

nexus in other clients