Nexus MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Logging level: DEBUG, INFO, WARNING, ERROR, or CRITICAL. | INFO |
| NEXUS_URL | Yes | Your Nexus server URL, for example https://nexus.example.com/nexus. Do not include a trailing slash. | |
| MCP_HTTP_HOST | No | Bind address for MCP_TRANSPORT=http. Unused for stdio. | 0.0.0.0 |
| MCP_HTTP_PORT | No | Bind port for MCP_TRANSPORT=http. Unused for stdio. | 8000 |
| MCP_TRANSPORT | No | Transport mode: stdio (default) or http. In http mode, each request must carry its own Nexus identity via an Authorization: Basic header, and NEXUS_USERNAME, NEXUS_PASSWORD, and NEXUS_API_TOKEN should normally be left unset server-side. | stdio |
| ALLOW_INSECURE | No | Allow non-HTTPS Nexus URLs. Use true only for development. | false |
| NEXUS_PASSWORD | No | Nexus password for basic authentication in stdio mode. Use together with NEXUS_USERNAME as an alternative to NEXUS_API_TOKEN. | |
| NEXUS_USERNAME | No | Nexus username for basic authentication in stdio mode. Use together with NEXUS_PASSWORD as an alternative to NEXUS_API_TOKEN. | |
| NEXUS_API_TOKEN | No | Nexus API token used for authentication in stdio mode. This is the recommended authentication method. | |
| NEXUS_REPO_INFO_URL | No | Base URL of an optional organization-specific repository ownership portal used by nexus_get_repository_owner. Leave unset to disable that tool. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| nexus_health_checkA | Check whether Nexus is available for read requests and whether the configured credentials are actually valid (auth_valid). |
| nexus_check_writableA | Check whether this Nexus node currently accepts writes. Use before automated uploads to detect read-only maintenance mode or an HA passive node. |
| nexus_list_repositoriesA | List all repositories (name, format, type, online status) |
| nexus_get_repositoryC | Get detailed configuration for a specific repository |
| nexus_search_componentsB | Search components with optional filters (repository, format, group, name, version, keyword) |
| nexus_get_componentC | Get detailed information about a component by ID |
| nexus_get_component_versionsA | List all distinct versions of a component name in a repository, sorted ascending, with the latest version surfaced separately. Useful for CI version-bump and dependency-resolution workflows. |
| nexus_check_artifact_existsA | Check whether a component (optionally at an exact version) already exists in a repository. Pass version for an exact match; omit it to check whether any version of the component exists. Handy as a CI pre-flight guard to skip re-publishing an artifact that's already there. |
| nexus_get_latest_releaseA | Find the latest release artifact in a repository. Pass name to get the newest version of a specific component, or omit it to find the most recently published non-snapshot component anywhere in the repository. SNAPSHOT-style versions are excluded by default. |
| nexus_get_assetC | Get detailed information about an asset by ID |
| nexus_get_download_urlA | Resolve one or more direct download URLs without fetching content. Pass asset_id for an exact single asset, or repository + name (optionally version/group/format) to resolve by coordinates. Useful for CI scripts that just need a URL to hand to curl/wget rather than round-tripping the file's bytes through this MCP server — pair with nexus_download_asset when you actually need the bytes. |
| nexus_download_assetA | Download a single asset's raw content by its exact ID. Returns base64 content bounded by max_size_bytes, or writes to save_path when provided. Complements nexus_download_component for callers that already have a precise asset_id (e.g. from search or nexus_get_component) and want the raw bytes directly. |
| nexus_upload_componentC | Upload a component to a hosted repository |
| nexus_download_componentA | Download a component's assets from a Nexus repository by name (optionally filtered by version/group/format). Files are saved into save_dir (defaults to CWD). |
| nexus_get_dependency_snippetA | Generate ready-to-paste dependency snippets (Maven pom.xml, Gradle, npm, Docker pull/login, pip, or a direct download URL) for an artifact so it can be added to a codebase. If version/name/format are omitted, resolves the latest release in the repository first. For Docker, resolves the actual pull address — preferring path-based routing (docker.pathEnabled, which works behind a reverse proxy like nginx that only exposes HTTPS) over a dedicated connector host:port when both are configured. Also returns the repository's browse URL (repository_url) and access_help pointing to where to request repo access (Nexus's REST API has no concept of 'required role' for a repository). Never includes real credentials — only environment-variable placeholders. |
| nexus_get_repository_sizeB | Return total on-disk size (bytes/KiB/MiB/GiB) plus asset and component counts for a repository. |
| nexus_latest_uploaded_artifactsC | List the most-recently uploaded artifacts, including the uploader identity when Nexus records it. |
| nexus_latest_downloaded_artifactsB | List the most-recently downloaded artifacts. Nexus REST does not expose downloader identity — see the downloader_info field for details. |
| nexus_get_artifact_age_reportA | Report artifact age and download recency for a repository (read-only, deletes nothing). For each asset, shows upload age, days since last download (or never_downloaded), and a classification (snapshot, pre-release, mutable-tag for Docker latest/dev-style tags, or release). Flags assets as 'stale' when uploaded and not downloaded within stale_after_days — use this to spot old SNAPSHOT, pre-release, or Docker artifacts that are candidates for cleanup review. |
| nexus_infoA | Look up ServiceNow ticket links (request Nexus access, repo creation, admin transfer, settings changes, or support), the Nexus repository-info portal, and SharePoint documentation. Purely local — makes no Nexus REST calls. Pass a free-text query (e.g. 'raise a ticket for repo access') to rank the most relevant links first, or omit it to list all known links. |
| nexus_get_repository_ownerA | Look up a repository's Information Owner (plus format/type/access) from the Nexus Repo Info portal's data feed — a separate internal endpoint, not Nexus's REST API (which has no 'owner' concept at all). Best-effort: relies on an internal, undocumented JSON file, not a stable API — if the repository isn't found, 'found' comes back false rather than a guessed answer — check 'source_url' directly in that case. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 21 tools
Most tools target a clearly distinct resource+action, and descriptions explicitly differentiate the closest pairs (download_asset by asset_id vs download_component by name/coordinates; get_download_url returns a URL vs download_asset returns bytes). Minor residual overlap exists between artifact-listing/reporting tools (latest_downloaded_artifacts vs get_artifact_age_report, get_latest_release vs get_component_versions), but the descriptions resolve the intent well.
Nearly all tools use a consistent nexus_verb_noun snake_case pattern (get_component, list_repositories, check_writable, upload_component, download_asset). Deviations are limited to nexus_info and the two 'latest_uploaded_artifacts'/'latest_downloaded_artifacts' tools, which use a noun-style prefix instead of a verb.
21 tools is on the heavier side but each maps to a distinct repository-manager operation (browse, resolve, download, upload, health, metadata lookups), so the surface is broadly justified. A couple could arguably be merged (e.g. the two 'latest_*_artifacts' listings), making it slightly over-scoped rather than excessive.
Read, search, download, upload, existence-check, and metadata flows are well covered, but there is no delete/cleanup operation even though the age report explicitly targets cleanup candidates, and no repository create/update/delete despite nexus_info referencing repo-creation workflows. These are notable lifecycle gaps an agent would hit when trying to act on its own findings.