
Connapse
io.github.Destrayon由 GitHub 账号 Destrayon 发布v0.3.2更新于 Nov 3, 2026
Self-hosted knowledge backend for AI agents with hybrid search and MCP tools
概览
自托管知识后端,通过向量与关键词混合检索,为 AI 助手提供持久、可搜索的文档记忆。
- 可以做什么
- 以向量与关键词混合检索(可选重排序)查询知识库,返回带来源引用的答案
- 上传文件、读取文档,让智能体自行积累研究语料
- 使用代码类与记忆类工具,在会话之间保留上下文
- 通过通用工具访问其余 REST API,与 21 个具名工具并存
- 按容器隔离组织资料,每个容器有独立的文件与向量索引
- 适用场景
- 适合希望助手跨会话记住过往研究、并能查询自有文档,且愿意自行部署服务而非依赖托管知识库产品的场景。
- 运行要求
- 以本地 Docker 部署运行(需 Docker 与 Compose 插件,端口 5001 空闲),包含 PostgreSQL/pgvector、MinIO 和可选的 Ollama;需在网页界面创建所有者账户,并通过 X-Api-Key 请求头传入智能体 API 密钥。可配置 Ollama、OpenAI、Azure OpenAI 或 Anthropic 等嵌入提供方。
安装
在 SourceWeft 中
- 打开 控制台中的 Connapse,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Stop losing context between AI sessions. Give your agents persistent, searchable memory.
[License: MIT] [.NET] [Build] [Tests] [PRs Welcome] [GitHub Issues] [GitHub Stars] [Connapse MCP server] [Docker]
Your AI agents forget everything between sessions. Connapse fixes that.
Every time you start a new conversation, your AI agent starts from zero — no memory of past research, no access to your documents, no accumulated knowledge. Connapse is an open-source knowledge backend that gives agents persistent, searchable memory. Upload documents or point it at your existing Amazon S3 buckets or local filesystems. Agents query and build their own research corpus through the MCP server, the REST API, or the CLI. Container-isolated, hybrid search (vector + keyword), self-hosted and private. Deploy in 60 seconds with Docker. Built on .NET 10.
🤖 AI Agent Integration — Claude queries and builds your knowledge base via MCP
AI agents query your knowledge base through the MCP server, receiving structured answers with source citations from your documents.
🎛️ Your Knowledge, Your Rules — Runtime configuration without restarting
Switch embedding providers, tune chunking parameters, and configure search — all at runtime, without restarting.
📦 Quick Start
You need Docker with the Compose plugin and port 5001 free.
Open http://localhost:5001 and create the owner account. The full walk-through, from upload to a cited search result, is the Quickstart.
🤖 Connect an agent
Create an agent key at Agents → API Keys, then add Connapse to your MCP client. For Claude Code:
Agents get 21 named tools, such as search_knowledge, upload_file, get_document, the code_* tools and the memory_* tools, plus 3 generic tools that reach the rest of the API. Other clients are in Connect an MCP client, and every tool is in MCP tools.
🚀 Features
- 🗂️ Containers — Each project gets its own files, vector index and optional settings, with nothing shared between containers.
- 🔍 Hybrid search — Vector and keyword search fused together, with optional cross-encoder reranking.
- 🧠 Your choice of models — Ollama, OpenAI, Azure OpenAI and Anthropic, changed at runtime without a restart.
- 🔌 Index what you already have — Uploads, local folders and SFTP, Amazon S3, Azure Blob Storage, GitHub, Confluence and Jira, and your own systems through a custom source server. Files stay where they are.
- 🔐 Per-user permissions — Search results from AWS, Azure, GitHub, Atlassian and custom sources are trimmed to what each person can open in the source system, and fail closed.
- 🤖 Every surface — Web UI, REST API, MCP server and the connapse CLI.
- 🐳 Self-hosted — Docker Compose with PostgreSQL and pgvector, MinIO and optional Ollama. With Ollama, nothing leaves your machine.
📚 Documentation
The full documentation is in docs/.
- Get started — run Connapse and search your first document
- Self-host — install, production, backups, upgrades and troubleshooting
- Connect your data — sources from S3, Azure, GitHub, Atlassian, folders and your own systems
- Guides — users, tokens, agents, the API and search tuning
- Concepts — how Connapse, search, ingestion and permissions work
- Reference — REST API, MCP tools, configuration, roles and scopes, file types and error types
- Security policy
💬 Support
- 🐛 Bugs: GitHub Issues
- 💡 Ideas and questions: GitHub Discussions
- 🔒 Security issues: see SECURITY.md
🤝 Contributing
Contributions are welcome. Start with CONTRIBUTING.md and Development, and look for issues labeled good-first-issue.
📄 License
MIT.
来源:README.md,提交 8dd7a27
工具
0版本历史
1- v0.3.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分