qqbot
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
qqbot(夹夹)
把 QQ 群里有价值的讨论,变成可搜索的社区知识库与 AI 可调用的 MCP 服务。
简体中文 · English · 在线演示 · 交流群 · 作者主页 · 参与贡献 · 安全政策
技术社群每天都在 QQ 群里产生大量一手踩坑经验与工程讨论,但几天后就会被刷走。qqbot(夹夹) 用一条闭环把它们留下来:在群里 @ 它回答问题,自动审核脱敏后沉淀为公开知识库网页与只读 /mcp 接口,让群友、搜索引擎和 AI coding agent 都能继续查、继续用。
它能做什么
QQ 群实时问答与图文卡片:结合近期群聊上下文、知识库语料、网页链接与图片 / PDF 附件回答提问;复杂对比表或示意图可通过隔离沙箱渲染成清晰 PNG 卡片发回群里。
自动审核、脱敏与知识沉淀:过滤闲聊并自动隐去真实群名与个人昵称,按需整理为结构化条目、公开讨论页与每日 / 每周社区简报。
公开检索与 MCP 接入:提供全站检索、网页端登录提问与
/mcp服务端,可在 Claude Code、Cursor、Codex 等工具中直接检索社区问答。轻量自托管、模型自由切换:核心只需一台 Linux VPS 与 Node.js 24 + SQLite 即可运行,原生支持 DeepSeek、Gemini 及任意 OpenAI 兼容模型接口。
Related MCP server: mcp-rag-bridge
工作原理
flowchart LR
QQ["QQ 群 (NapCat)"] <-->|"本地轻转发"| VPS["自托管服务 (Node 24 + SQLite)"]
VPS --> Web["公开知识库网站 & /mcp"]
VPS -.->|"可选 · 无网隔离"| Sandbox["卡片渲染沙箱 (gVisor)"]3 分钟本地体验(无需 QQ 或模型密钥)
pnpm install --frozen-lockfile --ignore-scripts
pnpm --dir dashboard-ui install --frozen-lockfile
pnpm --dir dashboard-ui build
# 启动带合成数据的本地网站预览:http://127.0.0.1:4319
node dashboard-ui/test/mock-api-server.mjs \
--dist dashboard-ui/build \
--data dashboard-ui/test/mock-showcase.json \
--port 4319运行离线类型检查、仓库规范门禁与测试:pnpm typecheck && pnpm ci:hygiene && pnpm test。
自托管部署
本仓库采用 0 文档、配置即真相 约定——没有单独的教程文档,所有可运行配置、服务单元与部署脚本直接位于代码与模板中:
应用配置模板:复制
config.example.json为config.json填入本地测试配置(切勿提交任何真实密钥或 ID)。Linux VPS 主路径:使用
deploy/vps/env.example、deploy/vps/Caddyfile.example、deploy/vps/qqbot-app@.service与deploy/vps/qqbot-connector@.service配合deploy/vps/qqbot-vps-deploy.sh部署。QQ 接入端转发:在运行 NapCat 的主机上使用
connector/host/经单一出站 WebSocket 连接服务端,无需公网入站端口。可选增强组件:无网只读 HTML-to-PNG 卡片沙箱见
deploy/sandbox/;本地回环 Langfuse 观测见deploy/langfuse/;兼容 Cloudflare Workers 部署模板见各子目录wrangler.example.jsonc。线上运维红线:见
.agents/skills/vps-ops/SKILL.md与.agents/skills/release-ops/SKILL.md。
交流群与作者
欢迎加入 QQ 交流群 一群开心快乐的小奶龙(群号:831907794)——夹夹本体(群里叫「副校长」)就在群里,可直接 @ 它体验提问与知识库沉淀流程:
作者个人网站:joyehuang.me · 在线知识库:jiajia.fun
社区、安全与开源协议
CONTRIBUTING.md · CODE_OF_CONDUCT.md · SECURITY.md · AGENTS.md
代码采用 MIT License 开源;
dashboard-ui/src/brand/filo/下的角色插画归原作者保留所有权利,Fork 或第三方部署删除该目录后前端会自动回退为中性占位图标。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search and manage your team's knowledge from MCP clients.
Knowledge Network for AI Agents and creators: Search, rate, and review programming guides via MCP
Knowledge base for AI agents: search, read, tasks; write, correct, report outcomes via /mcp/write.
Shared, peer-validated knowledge archive for AI agents — search, contribute, and validate via MCP
Related MCP Servers
AlicenseNot gradedqualityAmaintenanceEnables AI coding agents to search and access open-source code, documentation, and package information via a local MCP server.2,479 npm147Apache 2.0- AlicenseNot gradedqualityDmaintenanceEnables AI agents to query and manage a document knowledge base via MCP, with RAG-powered search and grounded answers with citations.MIT
- FlicenseAqualityDmaintenanceA read-only MCP server that enables AI clients to search a knowledge base and retrieve complete source documents via narrow search and fetch tools.2-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to query a persistent LightRAG knowledge base through any MCP client, offering both ready-made answers with source links and raw context retrieval for custom response generation.MIT