Connect Claude Code
Point Claude Desktop at Harbor's MCP server.
Claude Desktop speaks Model Context Protocol (MCP) over streamable HTTP. Pointing it at Harbor takes one config block.
You need to be logged in to Harbor first — see Sign up & install hrbr.
Open the config file
~/Library/Application Support/Claude/claude_desktop_config.jsonIf the file doesn't exist, create it.
Paste the Harbor block
{
"mcpServers": {
"harbor": { "url": "https://mcp.tryharbor.ai/mcp" }
}
}If you already have other MCP servers configured, add the harbor entry
next to them under the same mcpServers object.
Restart Claude Desktop
The first time you invoke a Harbor tool from inside Claude Desktop, your browser
opens for OAuth 2.1 + PKCE. Consent, return to the editor, and the agent
now has inspect + exec against your workspace.
Tool budget
Claude Desktop sees only two tools from Harbor — inspect and exec. It doesn't
matter how many plugins your workspace has (5 or 500), the visible tool
budget stays the same. See
For Agents → Connecting for the
pattern.