Connect Cursor
Point Cursor at Harbor's MCP server.
Cursor 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
.cursor/mcp.json (in your project root) or ~/.cursor/mcp.json (global)If 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 Cursor
The first time you invoke a Harbor tool from inside Cursor, 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
Cursor 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.