MCP Server Studio

Midplane MCP server

A gateway between AI agents and Postgres: table access, masking at the source, approvals and audit.

Registry name: ai.midplane/midplane

Publisher
midplane.ai
Runs
Runs locally
Package
npm
Version
0.26.3
Category
AI & agents
Updated
2026-11-18

Source code on GitHub

Set up Midplane (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "midplane": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]",
        "--config",
        "<value>"
      ],
      "env": {
        "MIDPLANE_TOKEN": "<MIDPLANE_TOKEN>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add midplane -e MIDPLANE_TOKEN='<MIDPLANE_TOKEN>' -- npx -y [email protected] --config '<value>'

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "midplane": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]",
        "--config",
        "<value>"
      ],
      "env": {
        "MIDPLANE_TOKEN": "<MIDPLANE_TOKEN>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "midplane": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]",
        "--config",
        "<value>"
      ],
      "env": {
        "MIDPLANE_TOKEN": "<MIDPLANE_TOKEN>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "midplane": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]",
        "--config",
        "<value>"
      ],
      "env": {
        "MIDPLANE_TOKEN": "<MIDPLANE_TOKEN>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
MIDPLANE_TOKENYesA 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.

More ai & agents MCP servers