Back to directory
AlekseyKapustyanenko/NihFix.Postgres.Mcp

AlekseyKapustyanenko/NihFix.Postgres.Mcp

@AlekseyKapustyanenko0

Lightweight MCP server for PostgreSQL enabling AI agents to interact with databases in real-time

postgresqldatabaseaiagent

Installation & Configuration

{
  "mcpServers": {
    "postgres": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "McpServerOptions__ConnectionString",
        "nihfix/postgres.mcp",
        "--access-mode=unrestricted"
      ],
      "env": {
        "McpServerOptions__ConnectionString": "Host=host.docker.internal;Port=5432;Database=MyDbName;User ID=dbUser;Password=dbUserPassword;"
      }
    }
  }
}

Information

Transport
stdiosse
Language
C#
Created
2025/4/28
Updated
2025/4/28