Base de Conhecimento

io.github.mcp-dir由 GitHub 帳號 mcp-dir 發布v0.1.0更新於 Oct 24, 2026

Your private knowledge base: upload documents (.md, .txt, .docx, PDF, images), the platform indexes

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取檔案與儲存知識與記憶

概覽

AI 產生的概覽

讓助理在私有託管知識庫中搜尋、列出、新增與刪除文件,並進行語意索引。

可以做什麼
將助理連接到託管的私有知識庫,對上傳的文件(.md、.txt、.docx、PDF、圖片)進行語意索引。提供七個工具:kb_search 用於語意搜尋,kb_list_documents 與 kb_get_document 用於列出與檢視文件中繼資料與狀態,kb_add_text 將貼上的文字新增為可索引文件,kb_ingest_url 從 URL 下載檔案並索引,kb_remove_document 刪除文件,kb_list_accounts 列出已連接的知識庫。每個知識庫彼此隔離,內容在平台上加密儲存。
適用情境
適合讓助理根據你自己的文件集合(例如合約條款或內部筆記)回答問題,而不是依賴一般網路知識。適合希望使用託管、依知識庫隔離的文件儲存,並可從任何支援 MCP over HTTP 的用戶端存取的小型辦公室或團隊。
執行需求
遠端 HTTP MCP 端點,不需要本機執行環境或安裝套件。透過 magic-link 登入(無密碼),清單未宣告任何 API 金鑰、環境變數或標頭。需要支援的 MCP 用戶端,例如 Claude、Cursor、VS Code、ChatGPT 或其他支援 MCP over HTTP 的用戶端。依儲存用量計費。
安裝前請注意
此伺服器為專有託管服務,文件儲存在供應商平台上。工具回傳的資料會傳送給你選擇的 LLM 主機,其被列為不受供應商控制的子處理者;建議使用可關閉訓練的方案。kb_add_text、kb_ingest_url 與 kb_remove_document 會寫入或刪除知識庫內容,kb_remove_document 會刪除原始檔案、分塊與索引項目。登入使用 magic link,因此關聯電子郵件帳戶的存取權限很重要。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Base de Conhecimento,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.mcp-dir%2Fkb-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "base-de-conhecimento": {
      "type": "http",
      "url": "https://api.mcp.ai/p_kb"
    }
  }
}

README

該儲存庫沒有 README。

工具

13

kb_list_documents

Lista os documentos da base (id, nome, status, tamanho, nº de chunks).

輸入參數account

kb_get_document

Metadados + status de um documento específico (sem o texto cru). Bulk support: accepts document_ids for batched execution.

輸入參數accountdocument_id必填document_ids

kb_add_text

Adiciona um texto colado à base (vira um documento indexado e buscável). Útil pra notas, trechos, anotações.

輸入參數text必填title必填account

kb_ingest_url

Baixa um arquivo de uma URL (.md/.txt/.docx) e o indexa na base. Bom pra ingerir um documento remoto sem upload manual.

輸入參數url必填accountfilename

kb_remove_document

Remove um ou mais documentos da base (apaga o original, os chunks e o índice). Aceita uma lista de ids.

輸入參數accountdocument_ids必填

kb_list_accounts

Lista as bases de conhecimento conectadas neste install. Retorna cada base com id, rótulo e um flag is_default (true quando só há uma — não precisa passar `account` nas outras tools). Com várias bases, toda kb_* aceita um `account` opcional (id ou rótulo).

無需輸入參數。

show_version

Show Version

Show the current MCP platform and adapter versions.

無需輸入參數。

report_bug

Report Bug

Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.

輸入參數contextmessage必填conversation

connect

Connection Status

Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.

無需輸入參數。

toolkit_info

Toolkit Info

Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.

無需輸入參數。

marketplace

Marketplace

The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.

輸入參數limitqueryactionmcp_idmessagetool_idargumentsimmediatetier_slugprompt_bodyprompt_slugprompt_tool另有 11 個

authenticate

Authenticate

MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.

輸入參數token

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。