agent-bridge
A Kanban board enabling AI agents and humans to collaborate on tasks through MCP tools for project and task management.
README
AgentBridge
A fast, simple Kanban board where humans and AI agents collaborate on tasks. AgentBridge runs on Cloudflare Workers and speaks the Model Context Protocol (MCP), so Claude, Cursor, Codex, and your team can work from the same source of truth.
Live demo: https://agent-bridge.0xkaz.com/
Features
- MCP server over HTTP/SSE (
/mcp) - REST API with revocable tokens
- Real-time board updates via SSE
- Google OAuth sign-in
- Personal org per user (no accidental domain sharing)
- Multi-project Kanban boards
- Custom lists (columns) per project
- Drag-and-drop task movement
- Task comments for agent memory and context
- Organization member invitations
MCP Tools
list_orgs— list organizationslist_projects— list projects in an organizationcreate_task— create a task in a projectupdate_status— change a task statuscomment— add a comment to a task
REST API
Most endpoints require Authorization: Bearer <token>. Invitation info and accept endpoints are public.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/google |
Sign in with a Google ID token |
| GET | /api/auth/me |
Current user |
| GET | /api/orgs |
List organizations |
| POST | /api/orgs |
Create organization |
| PATCH | /api/users/me/org |
Switch active organization |
| GET | /api/orgs/:org/projects |
List projects |
| POST | /api/orgs/:org/projects |
Create project |
| GET | /api/projects/:project |
Get project |
| GET | /api/projects/:project/columns |
List columns/lists |
| POST | /api/projects/:project/columns |
Create column/list |
| PATCH | /api/projects/:project/columns/:column |
Rename column/list |
| PATCH | /api/projects/:project/columns/:column/position |
Reorder column/list |
| DELETE | /api/projects/:project/columns/:column |
Archive empty column/list |
| GET | /api/projects/:project/tasks |
List tasks |
| POST | /api/projects/:project/tasks |
Create task |
| PATCH | /api/tasks/:task |
Move task to another column/list |
| GET | /api/projects/:project/history |
Project activity history |
| GET | /api/tasks/:task/comments |
List comments |
| POST | /api/tasks/:task/comments |
Add comment |
| GET | /api/tokens |
List API/MCP tokens |
| POST | /api/tokens |
Generate token |
| DELETE | /api/tokens/:id |
Revoke token |
| POST | /api/orgs/:org/invitations |
Invite a user to an organization |
| GET | /api/orgs/:org/invitations |
List pending invitations |
| GET | /api/invitations/:token |
Get invitation info (public) |
| POST | /api/invitations/:token/accept |
Accept an invitation (public) |
| GET | /api/events?token=<token> |
SSE event stream |
Setup
npm install
cp .env.example .env
cp wrangler.example.toml wrangler.toml
# Edit .env with your Google OAuth client ID
# Edit wrangler.toml with your Cloudflare account_id, D1 database_id, and custom domain
npm run db:seed
Google Cloud Console configuration
This app uses Google Identity Services (ID token flow). You do not need to configure a redirect_uri.
- Create an OAuth 2.0 Web application client ID at https://console.cloud.google.com/apis/credentials
- Add the following Authorized JavaScript origins:
http://localhost:8787(localwrangler dev)https://<your-worker>.workers.dev(production)
- Copy the Client ID into
.envasVITE_GOOGLE_CLIENT_IDand into.dev.varsasGOOGLE_CLIENT_ID - Copy
wrangler.example.tomltowrangler.tomland fill in your Cloudflareaccount_id, D1database_id, and custom domain
The Client Secret is not used by this app because verification is done with Google's public JWKS.
Development
npm run dev
Open http://localhost:8787 and sign in with Google.
For MCP clients, configure the endpoint:
{
"mcpServers": {
"agentbridge": {
"url": "http://localhost:8787/mcp"
}
}
}
Generate an API token on the Settings page and use it as Authorization: Bearer <token>.
End-to-end tests
make e2e
This starts the dev server automatically and runs Playwright against Chromium.
Migrating an existing database
src/db/schema.sql only contains the final schema for fresh databases. If you are updating an existing D1 database from a version that stored plaintext token values, run the token-hash migration before deploying:
# Local
make db-migrate-token-hash
# Remote (production)
make db-migrate-token-hash-remote
These commands hash any remaining plaintext tokens, then recreate the tokens table with token_hash only.
Deploy
npm run deploy
Before deploying, make sure wrangler.toml is filled in (see Setup step 4).
Set secrets:
wrangler secret put GOOGLE_CLIENT_ID
Commands
make lint— TypeScript type checkmake test— run testsmake build— build frontendmake db-seed— apply D1 schema locallymake db-migrate-token-hash— migrate local D1 tokens to hashed schemamake db-migrate-token-hash-remote— migrate remote D1 tokens to hashed schemamake e2e— run Playwright end-to-end testsmake dev— start dev server
License
MIT
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。