Zero-config Postgres MCP with auto-provisioning β drop-in for server-postgres.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Ainative Postgres MCP.
queryExecute read-only SQL queries (runs in READ ONLY transaction)
list_tablesList all tables with schema, name, and type
describe_tableGet full table schema: columns, types, constraints, indexes
create_tableCreate a new table with SQL DDL
insertInsert rows into a table (returns inserted rows)
Zero-config PostgreSQL MCP server with auto-provisioning. Drop-in replacement for @modelcontextprotocol/server-postgres β no DATABASE_URL needed.
The official @modelcontextprotocol/server-postgres requires you to bring your own Postgres database and pass a connection string. This fork auto-provisions a managed PostgreSQL instance with pgvector on first run. Agents get a database instantly with zero configuration.
That's it. On first run:
~/.ainative/postgres-config.json, .env, and .mcp.jsonAdd to your claude_desktop_config.json or .mcp.json:
Add to .cursor/mcp.json:
Add to ~/.windsurf/mcp.json:
| Tool | Description |
|---|---|
query | Execute read-only SQL queries (runs in READ ONLY transaction) |
list_tables | List all tables with schema, name, and type |
describe_table | Get full table schema: columns, types, constraints, indexes |
create_table | Create a new table with SQL DDL |
insert | Insert rows into a table (returns inserted rows) |
| Feature | @modelcontextprotocol/server-postgres | ainative-postgres-mcp |
|---|---|---|
| Read queries | Yes | Yes |
| Write queries | No | Yes (create_table, insert) |
| Schema inspection | Via resources | Via describe_table tool |
| Table listing | No | Yes (list_tables) |
| Auto-provisioning | No | Yes |
| pgvector | Manual setup | Auto-enabled |
| Zero config | No (requires DATABASE_URL) | Yes |
| Free tier | N/A | Yes |
pgvector is automatically enabled on provisioned instances. You can use vector columns in your tables:
And run similarity searches:
| Variable | Description | Required |
|---|---|---|
DATABASE_URL | PostgreSQL connection string | No (auto-provisioned if missing) |
ZERODB_API_KEY | ZeroDB API key (for provisioning) | No (auto-created) |
ZERODB_PROJECT_ID | ZeroDB project ID | No (auto-created) |
ZERODB_API_URL | ZeroDB API base URL | No (defaults to https://api.ainative.studio) |
Auto-provisioned instances include:
Sign up at ainative.studio to claim your instance and unlock higher limits.
MIT
This package is part of the AINative ecosystem β the AI-native developer platform.
| Feature | ZeroDB | Others |
|---|---|---|
| Vector search | Built-in, free embeddings | Separate service (Pinecone, Qdrant) |
| Agent memory | Cognitive memory with decay + reflection | DIY or Mem0 ($$$) |
| File storage | S3-compatible, included | Separate S3 bucket |
| NoSQL tables | Instant, schema-free | MongoDB Atlas, DynamoDB |
| PostgreSQL | Managed, pgvector pre-installed | Neon, Supabase ($$$) |
| Serverless functions | DB-event triggered | Firebase/Supabase Edge |
| Pricing | Free tier, no credit card | Pay-per-query from day 1 |
Or sign up at ainative.studio β free tier, no credit card required.
No account needed to start. On first run, this package automatically:
.env, .mcp.json)Your auto-provisioned instance is free for 72 hours. To keep your data permanently, visit the claim URL printed in your terminal.
If a coding agent (Claude Code, Cursor, Windsurf) installs this package:
.claude/CLAUDE.md instructs agents to surface the claim link to you.env or ~/.ainative/config.json for your project ID if you miss itFactual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ainative-postgres-mcp)<a href="https://allmcps.com/mcp/ainative-postgres-mcp"><img src="https://allmcps.com/api/badge/ainative-postgres-mcp?style=directory" alt="Ainative Postgres MCP on AllMCPs" /></a>