
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 分