Koskamo

Postgres MCP

A read-only Postgres MCP server that serves as a drop-in replacement for the archived reference server. It provides schema context, business definitions, and safety features like read-only enforcement and multi-statement rejection to allow agents to query databases safely.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Postgres MCP logo, by ContextfloCommunity listingLocal stdioSource reviewed; not executedPublished by Contextflo
Vendor documentation

What you can do with it

  • Run read-only SQL queries
  • List readable tables with descriptions
  • Get table context including columns and keys
  • Add table context notes for the agent

Source and maintenance

Community listingRegistry 0.1.4
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@contextflo/postgres-mcp 0.1.4

npm
@contextflo/postgres-mcp package definition
{
  "version": "0.1.4",
  "transport": "stdio",
  "identifier": "@contextflo/postgres-mcp",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "DATABASE_URL",
      "format": "string",
      "isRequired": true,
      "description": "Postgres connection string. Use a read-only role."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "postgres-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@contextflo/postgres-mcp@0.1.4"
      ],
      "env": {
        "DATABASE_URL": "<YOUR_DATABASE_URL>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "postgres-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@contextflo/postgres-mcp@0.1.4"
      ],
      "env": {
        "DATABASE_URL": "<YOUR_DATABASE_URL>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "postgres-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@contextflo/postgres-mcp@0.1.4"
      ],
      "env": {
        "DATABASE_URL": "<YOUR_DATABASE_URL>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "postgres-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@contextflo/postgres-mcp@0.1.4"
      ],
      "env": {
        "DATABASE_URL": "<YOUR_DATABASE_URL>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Postgres MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.