Query Sonatype Nexus Repository (OSS/Pro) for Maven, Python, and Docker artifacts
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"nexus": {
"url": "http://localhost:8000/mcp",
"headers": {
"X-Nexus-Url": "https://nexus.company.com",
"X-Nexus-Password": "secret123",
"X-Nexus-Username": "admin"
}
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP (Model Context Protocol) server for Sonatype Nexus Repository Manager 3 (OSS and Pro), enabling AI assistants to query Maven, Python (PyPI), and Docker repositories.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in devops
MCP server for using the GitLab API
All-in-One Sandbox for AI Agents that combines Browser, Shell, File, MCP and VSCode Server in a single Docker container.
A Unified MCP Server Management App (MCP Manager).
MCP Server for kubernetes management commands
MCP Security Weekly
Get CVE alerts and security updates for io.github.addozhang/nexus and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
English | 简体中文
MCP (Model Context Protocol) server for Sonatype Nexus Repository Manager 3 (OSS and Pro), enabling AI assistants to query Maven, Python (PyPI), and Docker repositories.
Supported Nexus versions:
This server uses the standard Nexus REST API v1 (/service/rest/v1), which is available in both OSS and Pro editions.
This MCP server provides 6 read-only tools for querying Nexus repositories:
| Tool | Description | Parameters |
|---|---|---|
search_maven_artifact | Search for Maven artifacts | group_id, artifact_id, version, repository |
get_maven_versions | Get all versions of a Maven artifact (paginated) | group_id, artifact_id, repository, page_size, continuation_token |
| Tool | Description | Parameters |
|---|---|---|
search_python_package | Search for Python packages | name, repository |
get_python_versions | Get all versions of a Python package (paginated) | package_name, repository, page_size, continuation_token |
| Tool | Description | Parameters |
|---|---|---|
list_docker_images | List all Docker images in a repository | repository |
get_docker_tags | Get all tags for a Docker image | repository, image_name |
Note: All tools are read-only and safe to use. No write operations (create/update/delete) are supported.
# Clone the repository
git clone https://github.com/your-org/nexus-mcp-server.git
cd nexus-mcp-server
# Create virtual environment
python -m venv venv
source venv/bin/activate # or venv/bin/activate.fish
# Install in development mode
pip install -e ".[dev]"
# Run the server (defaults to http://0.0.0.0:8000)
python -m nexus_mcp
# Quick start
docker run -p 8000:8000 addozhang/nexus-mcp-server:latest
# Or use docker-compose
docker-compose up
# See DOCKER.md for detailed deployment guide
For detailed deployment guide, see DOCKER.md.
The server can be configured using command line arguments or environment variables:
| Variable | CLI Argument | Description | Default |
|---|---|---|---|
NEXUS_MCP_HOST | --host | Host to bind to | 0.0.0.0 |
NEXUS_MCP_PORT | --port | Port to listen on | 8000 |
NEXUS_MCP_TRANSPORT | --transport | Transport mode (sse or streamable-http) | sse |
Priority: CLI arguments > Environment variables > Default values
Transport Modes:
sse (default) - Server-Sent Events transport, compatible with most MCP clientsstreamable-http - Streamable HTTP transport for clients that prefer this protocol# SSE mode (default)
python -m nexus_mcp
# Streamable-HTTP mode
python -m nexus_mcp --transport streamable-http
# Custom port
python -m nexus_mcp --port 9000
# Custom host and port
python -m nexus_mcp --host 127.0.0.1 --port 9000
# SSE mode (default)
docker run -p 8000:8000 addozhang/nexus-mcp-server:latest
# Streamable-HTTP mode
docker run -e NEXUS_MCP_TRANSPO
... [View full README on GitHub](https://github.com/addozhang/nexus-mcp-server#readme)