Harbor
v0.2.1Read-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.
| Parameter | Type | Description |
|---|---|---|
project * | string | project 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.
| Parameter | Type | Description |
|---|---|---|
project * | string | project name |
repository * | string | the skill's repository, with or without the project prefix |
path | string | a file of the skill to return instead of SKILL.md, as listed in files |
reference | string | tag 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).
| Parameter | Type | Description |
|---|---|---|
project * | string | project name |
reference * | string | tag or digest (sha256:...) |
repository * | string | repository name, with or without the project prefix |
limit | integer | most entries to return (default and maximum 100) |
minSeverity | string | Critical, 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.
| Parameter | Type | Description |
|---|---|---|
project * | string | project name |
repository * | string | repository name, with or without the project prefix |
page | integer | page number, starting at 1 (default 1) |
pageSize | integer | items per page (default 25, at most 100) |
harbor_list_members
List the users and groups that are members of a project, with their roles.
| Parameter | Type | Description |
|---|---|---|
project * | string | project name |
page | integer | page number, starting at 1 (default 1) |
pageSize | integer | items 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.
| Parameter | Type | Description |
|---|---|---|
page | integer | page number, starting at 1 (default 1) |
pageSize | integer | items per page (default 25, at most 100) |
query | string | only 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.
| Parameter | Type | Description |
|---|---|---|
page | integer | page number, starting at 1 (default 1) |
pageSize | integer | items per page (default 25, at most 100) |
query | string | only items whose name contains this |
harbor_list_replications
List replication policies with source, destination, trigger and the outcome of the last run.
| Parameter | Type | Description |
|---|---|---|
page | integer | page number, starting at 1 (default 1) |
pageSize | integer | items per page (default 25, at most 100) |
query | string | only items whose name contains this |
harbor_list_repositories
List the repositories of a project, optionally only those whose name contains query.
| Parameter | Type | Description |
|---|---|---|
project * | string | project name |
page | integer | page number, starting at 1 (default 1) |
pageSize | integer | items per page (default 25, at most 100) |
query | string | only 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.
| Parameter | Type | Description |
|---|---|---|
page | integer | page number, starting at 1 (default 1) |
pageSize | integer | items per page (default 25, at most 100) |
project | string | only robots with permissions in this project |
query | string | only 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.
| Parameter | Type | Description |
|---|---|---|
project * | string | project name |
page | integer | page number, starting at 1 (default 1) |
pageSize | integer | items per page (default 25, at most 100) |
query | string | only 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.
| Parameter | Type | Description |
|---|---|---|
project * | string | project name |
page | integer | page number, starting at 1 (default 1) |
pageSize | integer | items 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).