Back to directory
alekseykapustyanenko/nihfix.postgres.mcp

alekseykapustyanenko/nihfix.postgres.mcp

@AlekseyKapustyanenko

A lightweight and efficient Model Context Protocol (MCP) server for PostgreSQL, built to allow AI agents to interact with databases easily and in real-time.

postgresdatabasemcpai-agentdockerssestdiopostgresql

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
2026/6/13
Updated
2026/6/13