Connect Claude Code to Harbor

Connect Claude Code to your Harbor workspace to use the apps and tools available to you, or build an app Harbor will keep running. You need a Harbor workspace and a current version of Claude Code.

Add the server

Copy the MCP URL from your workspace's AI tools page. Replace YOUR_MCP_URL below with that full URL, including /mcp.

claude mcp add --transport http --scope user harbor YOUR_MCP_URL

In a Claude Code session, run /mcp, select Harbor and complete sign-in when prompted. This uses user scope, so the configuration is available across your projects. Don't commit personal connection settings or credentials to a repository.

Confirm the connection

Ask Claude Code: Call Harbor's whoami tool and tell me who I'm signed in as. If Harbor doesn't appear, check the URL and the entry in /mcp. If you signed in as the wrong person, reconnect with the correct account before calling any app tools.

Next: Deploy your first Harbor app. See Claude Code's MCP documentation for client configuration options.

Updated 2026-12-01. This page as Markdown.