MCP Harbor
by nomagicln
MCP Harbor is a Node.js application that provides a Model Context Protocol (MCP) server for interacting with Harbor container registry. It exposes tools for managing projects, repositories, tags, and Helm charts within Harbor.
Last updated: N/A
What is MCP Harbor?
MCP Harbor is a Node.js application acting as a Model Context Protocol (MCP) server. It provides a set of tools to interact with a Harbor container registry, enabling management of projects, repositories, tags, and Helm charts.
How to use MCP Harbor?
To use MCP Harbor, first clone the repository, install dependencies using npm install
, and build the project with npm run build
. Configure the connection to your Harbor instance using command-line arguments (--url
, --username
, --password
) or environment variables (HARBOR_URL
, HARBOR_USERNAME
, HARBOR_PASSWORD
). Then, run the application and use the exposed MCP tools to interact with Harbor.
Key features of MCP Harbor
MCP Server
Harbor Operations (projects, repositories, tags, Helm charts)
TypeScript
Automated Tests
Use cases of MCP Harbor
Automating Harbor registry management
Integrating Harbor with other systems via MCP
Programmatically managing container images and Helm charts
Simplifying Harbor interactions for developers
FAQ from MCP Harbor
How do I connect to my Harbor instance?
How do I connect to my Harbor instance?
You can connect using command-line arguments or environment variables. See the Usage section for details.
What operations are supported?
What operations are supported?
MCP Harbor supports operations for projects, repositories, tags, and Helm charts.
How do I enable debug mode?
How do I enable debug mode?
Enable debug mode by using the --debug
flag or setting the DEBUG
environment variable to true
.
I'm getting a 'Connection Failed' error. What should I do?
I'm getting a 'Connection Failed' error. What should I do?
Verify the HARBOR_URL
is correct and accessible, check network connectivity, and ensure the Harbor instance is running.
I'm getting an 'Authentication Failed' error. What should I do?
I'm getting an 'Authentication Failed' error. What should I do?
Verify the HARBOR_USERNAME
and HARBOR_PASSWORD
are correct and that the user has the required permissions in Harbor.