
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 分