Harbor Registry MCP — projects, repos, artifacts, storage reports, cleanup (with dry-run).
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-mshegolev-harbor-registry-mcp": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Harbor Registry MCP — projects, repos, artifacts, storage reports, cleanup (with dry-run).
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.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationBe 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 other
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Pre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt — returns 0-100 signal.
Hash-verified file editing MCP server with token efficiency hook. 11 tools for AI coding agents.
MCP Security Weekly
Get CVE alerts and security updates for io.github.mshegolev/harbor-registry-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP server for Harbor Registry. Lets an LLM agent (Claude Code, Cursor, OpenCode, etc.) list projects, repositories and artifacts, run storage reports, find cleanup candidates, and delete untagged or old artifacts — all with safety rails (dry-run by default for bulk delete).
Python, FastMCP, stdio transport.
Works with any Harbor 2.x instance — SaaS or self-hosted / on-prem.
A couple of community Harbor MCPs exist (nomagicln/mcp-harbor, bupd/harbor-mcp-server) but they expose only the basic list/get endpoints. This one adds storage reports, cleanup candidates, delete untagged, and delete old artifacts with dry-run — the operations DevOps engineers actually need to reclaim disk space.
readOnlyHint: True; destructive ones (harbor_delete_*) carry destructiveHint: True so MCP clients ask for confirmation.harbor_delete_old_artifacts(dry_run=True)) — the agent must flip it to execute.harbor_list_artifacts surfaces scan status and counts if with_scan_overview is enabled.Discovery & inspection
harbor_list_projects — projects with repo counts and visibilityharbor_list_repos — repositories in a projectharbor_list_artifacts — artifacts in a repository with tags/size/scan statusharbor_storage_report — full project storage breakdown (all repos × all artifacts)Cleanup planning
harbor_cleanup_candidates — suggest what to delete (untagged, never-pulled, old versions)Cleanup execution (destructive)
harbor_delete_artifact — delete a single artifact by tag or digestharbor_delete_untagged — delete all untagged artifacts in a project/repoharbor_delete_old_artifacts — keep N latest per repo, delete the rest (dry-run default)Requires Python 3.10+.
# via uvx (recommended)
uvx --from harbor-registry-mcp harbor-registry-mcp
# or via pipx
pipx install harbor-registry-mcp
claude mcp add harbor -s project \
--env HARBOR_URL=https://harbor.example.com \
--env HARBOR_USERNAME='robot$your-robot' \
--env HARBOR_PASSWORD=your-robot-token \
--env HARBOR_SSL_VERIFY=true \
-- uvx --from harbor-registry-mcp harbor-registry-mcp
Or in .mcp.json:
{
"mcpServers": {
"harbor": {
"type": "stdio",
"command": "uvx",
"args": ["--from", "harbor-registry-mcp", "harbor-registry-mcp"],
"env": {
"HARBOR_URL": "https://harbor.example.com",
"HARBOR_USERNAME": "robot$your-robot",
"HARBOR_PASSWORD": "${HARBOR_PASSWORD}",
"HARBOR_SSL_VERIFY": "true"
}
}
}
}
Check:
claude mcp list
# harbor: uvx --from harbor-registry-mcp harbor-registry-mcp - ✓ Connected
| Variable | Required | Description |
|---|---|---|
HARBOR_URL | yes | Harbor URL (no trailing slash) |
HARBOR_USERNAME | yes | Harbor username — robot account recommended |
HARBOR_PASSWORD | yes | Password or rob |