cosmic-mcp

All servers

Postgres MCP

io.github.edelciomolina/postgres-mcp ยท version 1.7.0

Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.

PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.

https://github.com/edelciomolina/postgres-mcp

Quick facts

  • Listing: Community
  • Published Jun 11, 15:12 UTC
  • Transport: stdio
  • Package: npm @edelciomolina/postgres-mcp 1.7.0
  • Listed by cosmic-mcp: Nov 9, 04:26 UTC

Databases

Setup snippets

Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.

Run it locally (npm)

npx -y '@edelciomolina/[email protected]'

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "postgres-mcp": {
      "args": [
        "-y",
        "@edelciomolina/[email protected]"
      ],
      "command": "npx",
      "env": {
        "MCP_KEY_HOST": "<your mcp key host>",
        "MCP_KEY_NAME": "<your mcp key name>",
        "MCP_KEY_PASS": "<your mcp key pass>",
        "MCP_KEY_PORT": "<your mcp key port>",
        "MCP_KEY_SSLMODE": "<your mcp key sslmode>",
        "MCP_KEY_USER": "<your mcp key user>"
      }
    }
  }
}

Claude Code

claude mcp add 'postgres-mcp' -- npx -y '@edelciomolina/[email protected]'

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "postgres-mcp": {
      "args": [
        "-y",
        "@edelciomolina/[email protected]"
      ],
      "command": "npx",
      "env": {
        "MCP_KEY_HOST": "<your mcp key host>",
        "MCP_KEY_NAME": "<your mcp key name>",
        "MCP_KEY_PASS": "<your mcp key pass>",
        "MCP_KEY_PORT": "<your mcp key port>",
        "MCP_KEY_SSLMODE": "<your mcp key sslmode>",
        "MCP_KEY_USER": "<your mcp key user>"
      }
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "postgres-mcp": {
      "args": [
        "-y",
        "@edelciomolina/[email protected]"
      ],
      "command": "npx",
      "env": {
        "MCP_KEY_HOST": "<your mcp key host>",
        "MCP_KEY_NAME": "<your mcp key name>",
        "MCP_KEY_PASS": "<your mcp key pass>",
        "MCP_KEY_PORT": "<your mcp key port>",
        "MCP_KEY_SSLMODE": "<your mcp key sslmode>",
        "MCP_KEY_USER": "<your mcp key user>"
      },
      "type": "stdio"
    }
  }
}

Related servers

  • spotdb Verified domain
    Ephemeral data sandbox for AI workflows with guardrails and security
  • Reasonbook Verified domain
    Reasonbook: decisions that survive the session, in a local record AI agents keep.
  • AI for Database Verified domain
    Ask your databases questions in plain English, run read-only SQL and set up data alerts.
  • AI2SQL Verified domain
    Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
  • AICasePredict Verified domain
    Search a large legal database of 325M+ US court records: cases, attorneys, judges and courts.
  • APC Security Reference Server
    Reference MCP server for synthetic APC action-security evaluation and local SQLite sandbox testin...