MEC Postgres
Type: server
Author: Pratye Aggarwal
Language: JavaScript
Tags: postgresql, postgres, database
Description: A Model Context Protocol server that provides read and write access to PostgreSQL databases. This server enables LLMs to inspect database schemas and execute read and write queries.

Tools:
Server configuration:
{
  "mcpServers": {
    "postgres": {
      "command": "docker",
      "args": [
        "run", 
        "-i", 
        "--rm", 
        "mcp/postgres", 
        "postgresql://host.docker.internal:5432/mydb"]
    }
  }
}