Skip to main content
Glama
Brian20040323

MCP Knowledge Bridge

MCP Knowledge Bridge

手写、可教学的 MCP 子集实现。v0.3.0 在 stdio 上支持 2025-11-25 协议协商,以及 tools / resources / prompts / ping 与初始化生命周期。体积刻意保持小,不是完整 MCP SDK,也不是生产网关。

Python License: MIT

安装与运行

python -m pip install -e ".[dev]"
python -m examples.demo_protocol
python -m mcp_bridge.server

stdio 传输:每行一条 UTF-8 JSON-RPC(非 Content-Length 分帧)。

mcp-knowledge-bridge

Cursor 配置示例

{
  "mcpServers": {
    "knowledge-bridge": {
      "command": "python",
      "args": ["-m", "mcp_bridge.server"],
      "cwd": "/absolute/path/to/mcp-knowledge-bridge"
    }
  }
}

Related MCP server: Alcove

自研 REST companion

mcp_bridge.http_server 是带鉴权的 自定义 REST 伴生服务
不是 MCP Streamable HTTP,也不实现 MCP-over-HTTP / OAuth。

export MCP_BRIDGE_TOKEN="replace-with-a-secret"
mcp-knowledge-bridge-rest
curl -H "Authorization: Bearer replace-with-a-secret" http://127.0.0.1:8765/tools

PowerShell:

$env:MCP_BRIDGE_TOKEN = "replace-with-a-secret"

范围

已实现:initializenotifications/initializedpingtools/listtools/callresources/listresources/readprompts/listprompts/get

未声称:sampling、roots、elicitation、subscriptions、Streamable HTTP 等。

开发

python -m ruff check .
python -m pytest --cov=mcp_bridge --cov-report=term-missing

MIT © Brian20040323

Install Server
A
license - permissive license
B
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Cross-agent memory bridge for AI coding assistants. Persistent knowledge graph shared across 10 IDEs (Cursor, Windsurf, Claude Code, Codex, Copilot, Kiro, Antigravity, OpenCode, Trae, Gemini CLI) via MCP. 22 tools including team collaboration, auto-cleanup, mini-skills, session management, and workspace sync. 100% local, zero API keys required.
    9
    1,029
    679
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    MCP server that gives AI coding agents on-demand access to private project docs via BM25 ranked search. One setup for Claude Code, Cursor, Codex, Gemini CLI, and more. Docs stay private, never in public repos.
    15
    15
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Universal MCP knowledge server for LLM agents, powered by local RAG, providing domain-specific best practices and playbooks across software engineering, marketing, video editing, and other knowledge areas.
    3
    MIT

View all related MCP servers

Related MCP Connectors

  • Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.

  • Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.

  • Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Brian20040323/mcp-knowledge-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server