
Midplane
ai.midplane由 midplane.ai 發布v0.26.1更新於 Oct 30, 2026
A gateway between AI agents and Postgres: table access, masking at the source, approvals and audit.
概覽
本機 MCP 閘道,位於 AI 代理與 Postgres 之間,提供資料表存取、來源端遮罩、寫入審核與稽核記錄。
- 可以做什麼
- 讓助理依授權存取 Postgres 資料表,並對指定欄位進行遮罩。
- 將代理的寫入操作暫緩,等待人工核准後才執行。
- 在執行前解析、依政策檢查並記錄代理送出的每一道語句。
- 在代理讀取不受信任的內容後對其加以隔離限制。
- 匯出並驗證存放在閘道磁碟上的雜湊鏈稽核記錄。
- 適用情境
- 當你希望 AI 助理查詢或修改 Postgres 資料,但需要欄位遮罩、寫入人工核准與可驗證的稽核軌跡時使用。適合將政策放在本機 YAML 檔案或透過 Midplane Cloud 集中管理的團隊。
- 執行需求
- 透過 npx 以 stdio 在本機執行(需 Node 24.16 或更新版本),部署在資料庫旁邊。需要由 midplane token 指令產生的權杖,放入 MIDPLANE_TOKEN,建議設定較短的 TTL。本機模式使用 YAML 政策檔;連結模式需要 Midplane Cloud,並在初始化時輸入資料庫連線字串。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Midplane,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
midplane
The Midplane gateway: an MCP server that sits between AI agents and your Postgres databases. Every statement an agent sends is parsed, checked against a policy and recorded before it runs. Agents get table access you grant, masked columns, writes held for a person's approval, and containment once they read untrusted content. It runs next to your databases; nothing connects in to it but agents.
Node 24.16 or newer.
- Local mode (
midplane local): the policy lives in a YAML file and tokens come frommidplane token. Try it with the quickstart. - Linked mode (
midplane gateway): policy, identities, approvals and a query log come from Midplane Cloud, over a link the gateway opens.midplane setupmakes one: it asks for each database's connection string, tests it, writes the gateway's folder, enrolls and starts it. - The audit log stays on the gateway's disk, hash-chained:
midplane audit exportandmidplane audit verify.
Documentation: https://midplane.ai/docs.
The image: ghcr.io/midplaneai/midplane. Both are signed: see
verifying a release.
MIT licensed.
來源:apps/gateway/README.md,提交 cd30f5e
工具
0版本歷史
2- v0.26.1最新Oct 29, 2026
- v0.20.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分