Harbor

v0.2.1
io.github.oreondev/harbor-mcp Checked 1 hour ago Published 7 days ago

Read-only access to Harbor: projects, artifacts, vulnerabilities, robots, replication, agent skills.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

harbor_get_gc

The garbage collection schedule and the outcome of the last garbage collection run.

harbor_get_project

One project in detail: visibility, storage quota and usage, vulnerability and signing policies, CVE allowlist, and whether retention and immutability rules are set.

ParameterTypeDescription
project *stringproject name

harbor_get_skill

Read one agent skill from Harbor: its SKILL.md, the list of its files, digest, version and whether it is signed. Pass path to read one other text file of the skill. Needs pull permission on the project.

ParameterTypeDescription
project *stringproject name
repository *stringthe skill's repository, with or without the project prefix
pathstringa file of the skill to return instead of SKILL.md, as listed in files
referencestringtag or digest (sha256:...); default the newest version

harbor_get_vulnerabilities

The vulnerabilities found in one artifact (by tag or digest), most severe first, at or above minSeverity (default High).

ParameterTypeDescription
project *stringproject name
reference *stringtag or digest (sha256:...)
repository *stringrepository name, with or without the project prefix
limitintegermost entries to return (default and maximum 100)
minSeveritystringCritical, High (default), Medium, Low, Negligible or Unknown

harbor_list_artifacts

List the artifacts (images, charts) of a repository, newest push first, with tags, size, labels and the result of the last vulnerability scan.

ParameterTypeDescription
project *stringproject name
repository *stringrepository name, with or without the project prefix
pageintegerpage number, starting at 1 (default 1)
pageSizeintegeritems per page (default 25, at most 100)

harbor_list_members

List the users and groups that are members of a project, with their roles.

ParameterTypeDescription
project *stringproject name
pageintegerpage number, starting at 1 (default 1)
pageSizeintegeritems per page (default 25, at most 100)

harbor_list_projects

List Harbor projects the server's user can see, optionally only those whose name contains query.

ParameterTypeDescription
pageintegerpage number, starting at 1 (default 1)
pageSizeintegeritems per page (default 25, at most 100)
querystringonly projects whose name contains this

harbor_list_registries

List the remote registries (endpoints) Harbor replicates to or from, with their health. Credentials are never shown.

ParameterTypeDescription
pageintegerpage number, starting at 1 (default 1)
pageSizeintegeritems per page (default 25, at most 100)
querystringonly items whose name contains this

harbor_list_replications

List replication policies with source, destination, trigger and the outcome of the last run.

ParameterTypeDescription
pageintegerpage number, starting at 1 (default 1)
pageSizeintegeritems per page (default 25, at most 100)
querystringonly items whose name contains this

harbor_list_repositories

List the repositories of a project, optionally only those whose name contains query.

ParameterTypeDescription
project *stringproject name
pageintegerpage number, starting at 1 (default 1)
pageSizeintegeritems per page (default 25, at most 100)
querystringonly repositories whose name contains this

harbor_list_robots

List robot accounts with their permissions and expiry, optionally only those with access to project or whose name contains query. Harbor lists project robots per project, so without project this makes one Harbor request per project. Secrets are never shown.

ParameterTypeDescription
pageintegerpage number, starting at 1 (default 1)
pageSizeintegeritems per page (default 25, at most 100)
projectstringonly robots with permissions in this project
querystringonly robots whose name contains this

harbor_list_skills

List the agent skills stored in a project (OCI artifacts of type SKILL, one repository per skill): name, description, newest version and tags, and whether it is signed with cosign. Pages over the project's repositories; repositories without a skill are left out.

ParameterTypeDescription
project *stringproject name
pageintegerpage number, starting at 1 (default 1)
pageSizeintegeritems per page (default 25, at most 100)
querystringonly repositories whose name contains this

harbor_list_webhooks

List the webhook policies of a project: events and target addresses. Authorization headers are never shown, only whether one is set.

ParameterTypeDescription
project *stringproject name
pageintegerpage number, starting at 1 (default 1)
pageSizeintegeritems per page (default 25, at most 100)

harbor_system_info

Harbor version, authentication mode and URLs, and the user or robot account the server acts as (with whether it is a Harbor administrator).