SuperAPIAI Directory

sonatype-mcp

github.com · AI developer platforms

sonatype-mcp is a Model Context Protocol (MCP) server for Sonatype Nexus Repository Manager that lets AI assistants interact with Nexus repositories through a standardized interface. It runs on Node.js 18 and above, requires an accessible Nexus instance and valid credentials, uses HTTP Basic authentication, and supports a read-only mode. Main capabilities include repository management (list, view, create, update, delete), component operations (search, get details, delete, list versions, upload), asset management (upload a single asset to a raw repository), system management (system status, blob stores, scheduled tasks, usage metrics, generate support zip), and optional Firewall quarantine tools (query and release quarantined components). The project provides integration configuration for Claude Desktop and Visual Studio Code, and lists common natural language prompt examples and troubleshooting ideas.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

sonatype-mcp is a Model Context Protocol (MCP) server for connecting to Sonatype Nexus Repository Manager, enabling AI assistants to interact with Nexus repositories through a standardized interface. The project is released under the MIT license, with source code hosted on GitHub.

Purpose This server targets scenarios where Nexus repositories need to be operated from within AI assistants, packaging operations such as repository management, component querying and uploading, and system monitoring as MCP tools for AI clients that support MCP to call.

Main capabilities Repository management: list all repositories with filtering support, get repository details, create proxy/hosted/group type repositories, update repository configuration, delete repositories (the last three are write mode). Component management: search components across repositories, get component details, delete components (write mode), list all versions of a component, upload components and their assets to a repository (write mode). Asset management: upload a single asset to a raw repository (write mode). System management: get system health status, list blob store configurations, list scheduled tasks, get usage metrics (including total component count and daily request count, requires nexus:metrics:read permission), generate and optionally save a support zip file containing diagnostic information. Firewall quarantine (optional): query components quarantined by Sonatype Firewall policies, release quarantined components through exemption policy violations (write mode), requires Firewall credentials.

Usage Runtime requirements are Node.js 18 or higher, an accessible Nexus Repository Manager instance, and valid Nexus credentials. The project provides a Claude Desktop integration method (add configuration in claude_desktop_config.json; enabling Firewall quarantine tools requires additionally adding Firewall credentials) and a Visual Studio Code integration method (add configuration in mcp.json). After configuration is complete, natural language prompts can be used to have the AI assistant perform operations, such as listing Maven repositories, viewing repository details, creating a hosted Maven repository, searching component versions, checking system health status, viewing usage metrics, listing blob stores, generating support zips, querying quarantined components, and more. The project also provides multi-step workflow examples (component discovery, detailed analysis, repository operations, upload management, monitoring) as well as troubleshooting tips for permission errors, mismatched search results, upload issues, and more.

Security and limitations The server uses HTTP Basic authentication, supports a read-only mode to enhance security, performs input validation on all parameters, and provides error handling. Write operations must be performed in write mode; usage metrics require the corresponding permissions; Firewall-related tools require separate Firewall credentials. The project documentation does not provide specific pricing, cost, or performance data.

Applicable scenarios Suitable for development and operations scenarios involving managing Nexus repositories, retrieving and uploading components, monitoring system status, and troubleshooting within AI assistants.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools