Newcontext-mode—Save 98% of your AI coding agent's context windowLearn more
MCP Directory
ServersClientsBlog

context-mode

Save 98% of your AI coding agent's context window. Works with Claude Code, Cursor, Copilot, Codex, and more.

Try context-mode
MCP Directory

Model Context Protocol Directory

MKSF LTD
Suite 8805 5 Brayford Square
London, E1 0SG

MCP Directory

  • About
  • Blog
  • Documentation
  • Contact

Menu

  • Servers
  • Clients

© 2026 model-context-protocol.com

The Model Context Protocol (MCP) is an open standard for AI model communication.
Powered by Mert KoseogluSoftware Forge
  1. Home
  2. Clients
  3. mcp-taskbridge

mcp-taskbridge

GitHub

Generic bridge between a local web UI and any MCP client.

0
0

MCP Taskbridge

A tiny local bridge that lets you submit tasks from a browser and have any MCP client (Claude Desktop, Claude Code, Claude Cowork, …) execute them through the Model Context Protocol, with results streaming back to the UI via HMAC-signed webhooks.

[Browser] ─▶ [Web server] ─▶ SQLite ◀─ [MCP server] ◀─▶ [MCP client]
   ▲                                         │
   └────────── SSE ◀── webhook ◀─────────────┘

Quick start

make install    # npm install
make test       # node --test tests/*.test.js — expect 72 / 72
make web        # http://127.0.0.1:3000

Then register bin/mcp.js in your MCP client and reload it — see docs/setup.md.

make help lists every automation target (web, mcp, supergateway, tunnel, cowork, smoke, clean, fresh, check-deps, version, changelog, …).

What you get

  • Modern UI at http://127.0.0.1:3000 — Bootstrap 5 + Bootstrap Icons, responsive GitHub-style navbar, three themes (light / dark / dim + auto), accordion task list with search / status filter / sort / pagination, per-task Rendered vs Raw markdown toggle, timestamp grid, live SSE updates, version badge with in-app changelog.
  • Prompt library — wand icon in the navbar opens a modal with four best-practice prompt templates (solve-oldest, solve-this, triage, fail-with-reason); every task card has a one-click Copy AI prompt button that pre-fills the id and a preview.
  • Settings page at /settings.html — theme picker, task-list defaults, read-only server info.
  • Two-process core — an Express web server and a stdio MCP server that share one SQLite file and bridge state over HMAC-signed webhooks.
  • Agent adapters — TASKBRIDGE_AGENT_ID picks tailored claim instructions per client.

Agent adapters

Adapter idFor
claude-desktopClaude Desktop
claude-codeClaude Code CLI
claude-coworkClaude Cowork
codexOpenAI Codex
antigravityGoogle Antigravity
genericAny other MCP client

Unknown ids fall back to generic. The tool schemas are pure MCP — no client-specific assumptions — so any MCP client works.

MCP tools

ToolPurpose
list_pending_tasksDiscover work
get_taskFetch one task
claim_taskpending → in_progress, stamps agent_id
submit_resultin_progress → done
fail_task* → failed
report_progressStream a status update

Full input / output / error contracts: docs/mcp-tools.md.

Environment

VariableDefault
TASKBRIDGE_DB_PATH./data/tasks.db
TASKBRIDGE_WEB_HOST127.0.0.1
TASKBRIDGE_WEB_PORT3000
TASKBRIDGE_WEBHOOK_URLhttp://<host>:<port>/webhooks/task-events
TASKBRIDGE_WEBHOOK_SECRETdev-secret-change-me (change this for anything non-local!)
TASKBRIDGE_AGENT_IDgeneric
TASKBRIDGE_DEBUGunset

Documentation

Start at docs/README.md — the index for everything below.

  • docs/setup.md — install, configure, register with an MCP client
  • docs/architecture.md — process topology, module layout, event bus, data model, trade-offs
  • docs/mcp-tools.md — reference for all 6 MCP tools + error codes
  • docs/api.md — REST + SSE + webhook contracts, HMAC signature scheme
  • docs/e2e-test.md — HTTP-only + real-MCP-client walkthrough
  • docs/cowork.md — using taskbridge with Claude Cowork (HTTP tunnel + security)
  • CHANGELOG.md — release history

Repository

BO
bondzai

bondzai/mcp-taskbridge

Created

April 13, 2026

Updated

April 13, 2026

Language

JavaScript

Category

Developer Tools