Zum Inhalt springen
Kitbay
Einreichen
MCP-Server

postgres-mcp

Läuft lokalMITAktualisiert am 21. März 202633GitHub-SterneKann Daten ändernBraucht einen API-Key

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

Was er kann

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.

Funktionen

  • 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