Expand description
PostgreSQL MCP Server
A Model Context Protocol (MCP) server for PostgreSQL databases, built with rmcp. Provides tools for querying, inserting, updating, deleting data, and inspecting schemas.
§Example
use rmcp_postgres::PostgresServer;
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let server = PostgresServer::new("host=localhost user=postgres dbname=mydb");
// Use with rmcp ServiceExt trait
Ok(())
}