Skip to content
Kitbay
Submit
MCP server

postgres-mcp

Runs locallyMITUpdated on Mar 21, 202633GitHub starsCan change dataNeeds an API key

A PostgreSQL MCP server written in Rust and installed with cargo.

What it does

A PostgreSQL MCP server written in Rust and installed with cargo. An agent registers one or more database connections by connection string, each pooled and given an ID, and can then run select queries, insert, update and delete records, create and drop tables and indexes, describe tables and list the tables in a schema. Statements are checked by a built-in SQL parser so that only the expected kind of operation runs for each command. It runs locally over stdio, or as an SSE server on a local port; the README shows it working in Cursor.

Capabilities

  • Register and unregister PostgreSQL connections
  • Run select queries
  • Insert, update and delete records
  • Create and drop tables and indexes
  • Describe tables and list tables in a schema