Sonatype Nexus
v0.2.1Read-only-first Sonatype Nexus Repository 3 inspection, audit and documentation.
Values you need
| Variable | What it is | |
|---|---|---|
NEXUS_URL | required | Nexus base URL, for example https://nexus.example.com |
NEXUS_USERNAME | optional | Nexus user; a read-only account is recommended |
NEXUS_PASSWORD | optional secret | Password for NEXUS_USERNAME |
NEXUS_VERIFY_TLS | optional | Verify the Nexus TLS certificate Default: true |
NEXUS_MCP_MODE | optional | readonly, audit or admin Default: readonly |
NEXUS_MCP_ENABLE_WRITE_TOOLS | optional | With admin mode, list and allow repository deletion and task runs Default: false |
NEXUS_MCP_ENABLE_RAW_API | optional | List the nexus_api_call tool for REST paths under /service/rest/ Default: false |
Docker discovery passed
Requires Docker
Run in a terminal
claude mcp add nexus-mcp-server -e 'NEXUS_URL=<NEXUS_URL>' -- docker run -i --rm -e NEXUS_URL ghcr.io/oomchiller/nexus-mcp-server:0.2.1Add to
claude_desktop_config.json{
"mcpServers": {
"nexus-mcp-server": {
"args": [
"run",
"-i",
"--rm",
"-e",
"NEXUS_URL",
"ghcr.io/oomchiller/nexus-mcp-server:0.2.1"
],
"command": "docker",
"env": {
"NEXUS_URL": "<NEXUS_URL>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"nexus-mcp-server": {
"args": [
"run",
"-i",
"--rm",
"-e",
"NEXUS_URL",
"ghcr.io/oomchiller/nexus-mcp-server:0.2.1"
],
"command": "docker",
"env": {
"NEXUS_URL": "<NEXUS_URL>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "NEXUS_URL",
"id": "nexus-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"nexus-mcp-server": {
"args": [
"run",
"-i",
"--rm",
"-e",
"NEXUS_URL",
"ghcr.io/oomchiller/nexus-mcp-server:0.2.1"
],
"command": "docker",
"env": {
"NEXUS_URL": "${input:nexus-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.nexus-mcp-server]
command = "docker"
args = ["run", "-i", "--rm", "-e", "NEXUS_URL", "ghcr.io/oomchiller/nexus-mcp-server:0.2.1"]
env = { "NEXUS_URL" = "<NEXUS_URL>" }For AI agents
- Ask the user for: NEXUS_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: nexus_understand_architecture, nexus_explain_repository, nexus_explain_storage_strategy, nexus_audit_repository_content, nexus_generate_inventory_json, nexus_generate_architecture_md, nexus_generate_repository_catalog_md, nexus_detect_architecture_smells, ….
- If it fails, check that the required runtime is installed (Docker) and that the values above are set.
Machine-readable: install.md · manifest.json