Harbor MCP
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.
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.
Add the server
Drop the config below into your editor’s MCP settings and restart it. Node 18 or newer.
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.
{
"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.
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.
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.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:
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.
The MCP server is built on Harbor’s CLI, which works on its own in any editor.
npx harbor login
npx harbor init my-game --game phaser-2d
npx harbor publishA 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.