Harbor MCP
Provides MCP tools to manage a local-first Kanban board, including projects, issues, dependencies, and labels. Enables AI clients to interact with the board via a stdio MCP server connected to a NestJS API.
README
<p align="center"> <img src="docs/assets/harbor-icon.svg" alt="Harbor" width="128" height="128" /> </p>
<h1 align="center">Harbor</h1>
<p align="center"> Local-first Kanban board with an MCP server for any compatible client.<br /> Run the full stack on your machine — UI, API, Postgres, and agent tools. </p>
<p align="center"> <a href="#quick-start">Quick start</a> · <a href="#what-you-can-do">Features</a> · <a href="#mcp">MCP</a> · <a href="#development">Development</a> </p>
What is Harbor?
Harbor is a single-operator Kanban that stays on localhost. Use the web UI to manage projects and issues, or drive the same board from any MCP client (Claude, Cursor, and others) through a stdio MCP server that talks to the Nest API.
MCP client ──stdio──► Harbor MCP ──HTTP Bearer──► Nest API ──► Postgres
Browser ─────────────────────────► Harbor UI ──/api──► Nest API
| Package | Path | Role |
|---|---|---|
@kanban/api |
apps/api |
NestJS + Prisma + OpenAPI |
@kanban/web |
apps/web |
Harbor UI (Vite + React) |
@kanban/mcp |
apps/mcp |
Stdio MCP server |
What you can do
- Projects & boards — multiple projects, Columns and List layouts, column colors, reorder, done columns
- Issues — create, edit, move, archive/restore, delete; priority, type, due date, effort (hours / LOC)
- Dependencies — issue links (
blocks,relates_to,duplicates) with cycle checks; blocker summaries via MCP - Labels, comments, activity — label attach/detach, threaded comments, activity history
- Attachments — multipart file upload in the issue drawer (UI/API; max 20 MB)
- Live updates — board refreshes over SSE when the API or an MCP agent changes data
- Global search —
Ctrl/Cmd+Kacross projects - MCP tools — projects, columns, issues, links, blockers, epics, labels, comments, activity
- Auth — first-run admin signup, cookie sessions for the UI, Bearer MCP tokens from Harbor
Quick start
Requirements: Bun 1.3+, Docker
git clone git@github.com:Eidantz/Harbor.git
cd Harbor
bun install
bun run setup:env # copies .env.example → .env and links apps/api/.env
bun run docker:up # builds & starts db + api + web
| Service | URL (defaults) |
|---|---|
| Harbor UI | http://localhost:3010 |
| API health | http://localhost:3001/health |
| OpenAPI | http://localhost:3001/api/docs |
Ports come from .env (WEB_PORT, API_PORT, POSTGRES_PORT). Defaults are 3010 / 3001 / 5433 so Harbor can sit next to stacks that already use 3000 / 5432 (e.g. Langfuse).
On a fresh database, open the UI and create the admin account. After that, the same screen is sign-in. Seed data includes sample project KAN.
Stop the stack with bun run docker:down.
MCP
Harbor exposes a stdio MCP server any compatible client can launch (Claude Desktop / Claude Code, Cursor, and others).
- Start Harbor (
bun run docker:up) and complete admin signup. - In the UI: MCP tokens → Create token (copy it once).
- Build the server:
bun run build:mcp
- Point your client at the server with the same command + env:
{
"mcpServers": {
"harbor": {
"command": "node",
"args": ["/absolute/path/to/Harbor/apps/mcp/dist/index.js"],
"env": {
"KANBAN_API_URL": "http://127.0.0.1:3001",
"KANBAN_API_TOKEN": "<paste token from Harbor>"
}
}
}
}
| Client | Where to put the config |
|---|---|
| Claude Desktop | Claude → Settings → Developer → Edit Config (claude_desktop_config.json) |
| Claude Code | Project or user .mcp.json (same mcpServers shape) |
| Cursor | Copy docs/mcp.example.json → .cursor/mcp.json |
Use an absolute path to apps/mcp/dist/index.js when the client does not start in the repo root. Reload MCP after changing config.
Full tool catalog: apps/mcp/README.md.
Development
Keep Postgres in Docker; run API and web on the host:
bun run setup:env
docker compose up -d db
bun run db:migrate:deploy
bun run db:seed
bun run dev # API :3001 + web :3000
Useful scripts: bun run dev:api, bun run dev:web, bun run db:studio, bun run smoke.
Auth & privacy
| Client | Mechanism |
|---|---|
| Harbor UI | First-run signup, then login → HTTP-only session cookie |
| MCP / scripts | Authorization: Bearer <token> from MCP tokens |
- Compose publishes ports on
127.0.0.1only. - Real secrets live in
.envand local MCP config files (e.g..cursor/) — gitignored. Use.env.exampleanddocs/mcp.example.jsonas templates. - Rotate
SESSION_SECRETand revoke MCP tokens for anything beyond casual local use.
License
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。