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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.