mcpdirectory.dev
9,129 servers · updated 23 Sept

Ainative Postgres MCP server

official from AINative Studio Active last commit 53 d
{
  "mcpServers": {
    "ainative-studio-ainative-postgres": {
      "command": "npx",
      "args": [
        "-y",
        "ainative-postgres-mcp@latest"
      ],
      "env": {
        "DATABASE_URL": "postgresql://user:password@host:5432/db",
        "ZERODB_API_KEY": "<zerodb_api_key>",
        "ZERODB_PROJECT_ID": "<zerodb_project_id>",
        "ZERODB_API_URL": "https://..."
      }
    }
  }
}
file .mcp.json (in your project root)install npx -y ainative-postgres-mcpversion 1.0.1

What it does

A PostgreSQL MCP server that auto-provisions a managed Postgres instance with pgvector on first run, requiring no configuration or existing database. It replaces the standard server-postgres with zero-config setup and includes write operations like table creation and row insertion.

  • Start using PostgreSQL with an AI agent instantly without setting up your own database or connection string.
  • Run SQL queries and manage table schemas through MCP tools in Claude, Cursor, or Windsurf.
  • Store and search vector embeddings in PostgreSQL using the auto-enabled pgvector extension.

Tools this server exposes

ToolDoes
queryExecute read-only SQL queries within a READ ONLY transaction.
list_tablesList all tables with schema, name, and type information.
describe_tableGet full table schema including columns, types, constraints, and indexes.
create_tableCreate a new table using SQL DDL.
insertInsert rows into a table and return the inserted rows.

Before you enable it

An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.