A gateway between AI agents and Postgres: table access, masking at the source, approvals and audit.
registry version 0.23.0
npm
npx -y midplanenpm
npx -y midplane@0.23.0
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"midplane": {
"command": "npx",
"args": [
"-y",
"midplane"
],
"env": {
"MIDPLANE_TOKEN": "<YOUR_MIDPLANE_TOKEN>"
}
}
}
}{
"mcpServers": {
"midplane": {
"command": "npx",
"args": [
"-y",
"midplane@0.23.0"
],
"env": {
"MIDPLANE_TOKEN": "<YOUR_MIDPLANE_TOKEN>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env MIDPLANE_TOKEN=<YOUR_MIDPLANE_TOKEN> midplane -- npx -y midplane
claude mcp add --env MIDPLANE_TOKEN=<YOUR_MIDPLANE_TOKEN> midplane -- npx -y midplane@0.23.0
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"midplane": {
"command": "npx",
"args": [
"-y",
"midplane"
],
"env": {
"MIDPLANE_TOKEN": "<YOUR_MIDPLANE_TOKEN>"
}
}
}
}{
"mcpServers": {
"midplane": {
"command": "npx",
"args": [
"-y",
"midplane@0.23.0"
],
"env": {
"MIDPLANE_TOKEN": "<YOUR_MIDPLANE_TOKEN>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"midplane": {
"command": "npx",
"args": [
"-y",
"midplane"
],
"env": {
"MIDPLANE_TOKEN": "<YOUR_MIDPLANE_TOKEN>"
}
}
}
}{
"servers": {
"midplane": {
"command": "npx",
"args": [
"-y",
"midplane@0.23.0"
],
"env": {
"MIDPLANE_TOKEN": "<YOUR_MIDPLANE_TOKEN>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"midplane": {
"command": "npx",
"args": [
"-y",
"midplane"
],
"env": {
"MIDPLANE_TOKEN": "<YOUR_MIDPLANE_TOKEN>"
}
}
}
}{
"mcpServers": {
"midplane": {
"command": "npx",
"args": [
"-y",
"midplane@0.23.0"
],
"env": {
"MIDPLANE_TOKEN": "<YOUR_MIDPLANE_TOKEN>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
MIDPLANE_TOKEN required secret — A token from `midplane token`, verified at start and on every call. It stays in this entry, so give it a --ttl (seconds) as long as the entry should work: the default is an hour.⭐ 5 stars · 最近更新于 25 天前 · MIT license
A gateway between AI agents and your Postgres databas…
Summary from the project README — github.com/midplaneai/midplane
Distributed as npm, listed under Databases. Review our MCP security guide before granting access to real data.
A gateway between AI agents and your Postgres databas
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/midplaneai/midplane. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/midplane/)
HTML
<a href="https://mcpnav.net/server/midplane/"><img src="https://mcpnav.net/badge/midplane.svg" alt="Listed on MCPNav" height="20"></a>