MCP Knowledge Bridge
MCP-compatible knowledge bridge with tools, resources, prompts, local BM25 KB, and a token-guarded HTTP companion for Cursor and custom agents.
README
MCP Knowledge Bridge
v0.2 MCP-compatible knowledge bridge with tools + resources + prompts, local BM25 KB, in-process client, and a token-guarded HTTP companion (stdlib only).
Independent protocol-layer demo for Cursor / custom agents — not an SDK re-export.
Related: lite-react-agent · hybrid-rag-kit
What's new in v0.2
| Addition | Why |
|---|---|
prompts/list + prompts/get |
Full-er MCP surface for agent workflows |
| HTTP companion | /tools, /tools/call, /resources, /prompts with Bearer token |
| Auth stub | MCP_BRIDGE_TOKEN (default dev-token) |
Quickstart
git clone https://github.com/Brian20040323/mcp-knowledge-bridge.git
cd mcp-knowledge-bridge
python -m examples.demo_protocol
python -m mcp_bridge.server # stdio MCP
python -m mcp_bridge.http_server # HTTP on :8765
curl -H "Authorization: Bearer dev-token" http://127.0.0.1:8765/tools
Cursor MCP config
{
"mcpServers": {
"knowledge-bridge": {
"command": "python",
"args": ["-m", "mcp_bridge.server"],
"cwd": "/absolute/path/to/mcp-knowledge-bridge"
}
}
}
Independence thesis
MCP hype is real; most demos hide behind opaque SDKs. This bridge keeps JSON-RPC framing, tool schemas, resources, and prompts readable in one repo, so you can explain protocol design in interviews.
License
MIT © Brian20040323
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.
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.
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.
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.