PluginBench
MCP Server

io.github.marcelo-ochoa/postgres MCP Server

io.github.marcelo-ochoa/postgres

What is the io.github.marcelo-ochoa/postgres MCP server?

MCP server for interacting with PostgreSQL databases

How to install io.github.marcelo-ochoa/postgres

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • POSTGRES_USER

    PostgreSQL user

  • POSTGRES_PASSWORD
    secret

    PostgreSQL password

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-postgres",
        "connectionString"
      ],
      "env": {
        "POSTGRES_USER": "<YOUR_POSTGRES_USER>",
        "POSTGRES_PASSWORD": "<YOUR_POSTGRES_PASSWORD>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-postgres",
        "connectionString"
      ],
      "env": {
        "POSTGRES_USER": "<YOUR_POSTGRES_USER>",
        "POSTGRES_PASSWORD": "<YOUR_POSTGRES_PASSWORD>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-postgres",
        "connectionString"
      ],
      "env": {
        "POSTGRES_USER": "<YOUR_POSTGRES_USER>",
        "POSTGRES_PASSWORD": "<YOUR_POSTGRES_PASSWORD>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "postgres": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-postgres",
        "connectionString"
      ],
      "env": {
        "POSTGRES_USER": "<YOUR_POSTGRES_USER>",
        "POSTGRES_PASSWORD": "<YOUR_POSTGRES_PASSWORD>"
      }
    }
  }
}
Claude Code
claude mcp add postgres --env POSTGRES_USER=<YOUR_POSTGRES_USER> --env POSTGRES_PASSWORD=<YOUR_POSTGRES_PASSWORD> -- npx -y @marcelo-ochoa/server-postgres connectionString

Related MCP servers

MCP server for MikroTik RouterOS API

View repository →

An MCP server for MySQL databases.

View repository →

MCP server for interacting with Oracle databases

View repository →