Harbor MCP

Ship from the editor
you already use.

Connect Harbor to Claude Code, Cursor, or any MCP client and go from an idea to a live URL without leaving your editor.

Your editor’s AI does the building. Harbor scaffolds the project, hosts the result, and gives it a real address — and publishing this way spends no Harbor credits.

Three steps, then you are building.

1

Create a token

Sign in and generate one at Settings → Developer. It is free, and it is the only thing Harbor needs to know it is you.

2

Add the server

Drop the config below into your editor’s MCP settings and restart it. Node 18 or newer.

3

Ask for something

“Build me a top-down game about a lighthouse keeper and publish it.” Your editor scaffolds, writes the code, and ships it to a live URL.

MCP client config
{
  "mcpServers": {
    "harbor": {
      "command": "npx",
      "args": ["-y", "https://harbor.it.com/cli/harbor-mcp.tgz"],
      "env": { "HARBOR_TOKEN": "<your-token>" }
    }
  }
}

Already ran harbor login? The token is read from ~/.harbor/config.json, so you can leave env out entirely.

What your editor gets

Five tools for apps and games. Enough to start a project, ship it, and pick it back up on another machine.

harbor_new_appCreate an app or game and scaffold its files into a local directory.
harbor_publishBuild a local directory and deploy it to a live URL.
harbor_list_appsList the apps and games you can deploy to.
harbor_statusA linked project's app id, status, and live URL.
harbor_pullPull an existing app's source down to edit locally.

A typical run: harbor_new_app → your editor writes the code → harbor_publish.

And your agents

An agent is the one thing on Harbor that works on its own — on a clock, without you watching. Your editor can set one up, try it safely, and read how it has been doing.

harbor_draft_agentOne sentence in, a whole proposed agent out. Saves nothing. About 2 credits (about $0.10).
harbor_create_agentMake it, once the questions it could not decide have been answered.
harbor_run_agentRun it now — a practice run by default, which changes nothing and sends nothing.
harbor_change_agentChange it in plain words. Shows a preview first; saves only when you say so.
harbor_agent_runsWhat it has been doing, and one run in full with a fix to try.
  • It can never approve what an agent is waiting on. When an agent stops to ask you something, the tool says so and hands you the link — you see the exact action, in Harbor, before it happens.
  • It can never connect a service or handle a key. Connected tools are named, never authenticated; you connect them yourself in Settings.

Apps and games, scaffolded for you

harbor_new_appstarts you on Harbor’s own scaffold, so your editor is not guessing at project structure. Ask for a plain app, or name a game engine:

phaser-2dphaser-topdowndungeonboarddeckthree-fpsthree-worldvoxelroguerts

Every scaffold ships Harbor’s SDK, so the thing you build can sign people in, save their data, take payments, and appear in the store alongside everything else — without you wiring any of that up.

Prefer a terminal?

The MCP server is built on Harbor’s CLI, which works on its own in any editor.

Terminal
npx harbor login
npx harbor init my-game --game phaser-2d
npx harbor publish

Build something today.

A Harbor account is free, a token takes a minute, and publishing from your editor does not spend Harbor credits. Bring your own AI and ship.