Skip to content

MCP Bridgekit

Turn any MCP stdio server into a production HTTP API: per-user session pooling, timeout survival via background jobs, fail-closed auth, SSE/webhook push, live dashboard. Python…

Install: docker run -d -p 6379:6379 redis:7-alpine

Install

$docker run -d -p 6379:6379 redis:7-alpine

Install command taken from the project's README or registry entry. Always review code before running it.

MCP BridgeKit

Turn any MCP stdio server into a production HTTP API your web app can call.

Per-user session pooling · real timeout handling with background-job fallback · fail-closed auth · live dashboard

Your Web App  ──HTTP──▶  MCP BridgeKit  ──stdio──▶  MCP Server (tool)
 (React, Next.js,        pooling · timeouts ·        (python, node, npx …)
  mobile, backend)       jobs · auth · dashboard

60-second demo

git clone https://github.com/mkbhardwas12/mcp-bridgekit.git && cd mcp-bridgekit
export MCP_BRIDGEKIT_API_KEY=$(openssl rand -hex 32)
docker compose up -d                    # Redis + API + 3 workers

curl -s -H "X-API-Key: $MCP_BRIDGEKIT_API_KEY" localhost:8000/tools/demo | jq .tools[].name
# "analyze_data"

curl -s -N -H "X-API-Key: $MCP_BRIDGEKIT_API_KEY" -H 'Content-Type: application/json' \
  -d '{"user_id":"demo","messages":[],"tool_name":"analyze_data","tool_args":{"query":"Q4 revenue"}}' \
  localhost:8000/chat
# data: {"content":[{"type":"text","text":"..."}], ...}     ← streamed over SSE
# …or, if the tool runs >25s:  data: {"status":"queued","job_id":"…"}  → GET /job/{id} or SSE /mcp/events/{id}

Open http://localhost:8000/dashboard for live sessions, jobs, logs and tools.


Table of Contents


What Is MCP BridgeKit?

MCP (Model Context Protocol) is an open standard that lets AI applications connect to external tools and data sources. MCP servers communicate over stdio (stdin/stdout) — which means they run as local subprocesses and speak JSON-RPC over pipes.

The problem: Web applications (React, Next.js, Vue, mobile apps) can't spawn local subprocesses. They only speak HTTP. There's a protocol mismatch.

MCP BridgeKit is the bridge. It sits between your web app and MCP stdio servers, translating HTTP requests into stdio subprocess calls and streaming results back:

Your Web App  ──HTTP──▶  MCP BridgeKit  ──stdio──▶  MCP Server (tool)
                         (this project)

Think of it as "nginx for MCP tools" — a reverse proxy that makes stdio tools available over HTTP.


The Problem It Solves

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

MCP serverDatabases+105 this week

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Explore related