Model Context Protocol · Agent-Native BaaS
The PostgreSQL MCP server built for European backends.
Give Cursor, Claude Code, Antigravity, and Windsurf direct, audited access to your dedicated PostgreSQL 18 schema, RLS policies, Auth, S3 Storage, Edge Functions, and RAG pipelines.
- 86
- Total MCP tools
- 82
- Project-key tools
- 37
- Read-only mode
mcp.json · Cursor / Antigravity / Windsurf
{
"mcpServers": {
"aurabase": {
"command": "npx",
"args": [
"-y", "-p", "@aurabase/mcp-server", "aurabase-mcp",
"--url", "https://<slug>.aurabase.cloud",
"--project-id", "<project-id>",
"--service-role-key", "aura_sk_..."
]
}
}
}Quickstart
Start the server in one command
Run the published npm package directly over stdio. Add --read-only when connecting an agent to a production project so only the 37 inspection tools are exposed.
npx -y -p @aurabase/mcp-server aurabase-mcp --url https://<slug>.aurabase.cloud --project-id <project-id> --service-role-key aura_sk_...Tool surface
What your AI coding agent can automate
01
PostgreSQL 18 & Migrations
Schema inspection, SQL execution, RLS policies, indexes, extensions, pgvector search, database branching
02
Auth & Security Audits
Users, roles, OAuth 2.1 providers, MFA policies, Security Advisor checks, audit log queries
03
Storage S3 & Edge Functions
Bucket creation, signed URLs, object listing, Deno/WASM Edge Function deployment and env secrets
04
AI Gateway, RAG & Observability
Document indexing, semantic vector search, AST-verified NL2SQL, ClickHouse slow-query and log analysis
Ecosystem
Step-by-step client & AI builder guides
FAQ
PostgreSQL MCP server questions
How many tools does the official Aurabase PostgreSQL MCP server expose?+
How does Aurabase MCP protect production PostgreSQL databases from unsafe agent queries?+
Which AI coding assistants work with @aurabase/mcp-server?+
Does using the Aurabase MCP server send database records to US cloud servers?+
Can the MCP server generate and run SQL migrations automatically with rollback capability?+
How does the MCP server handle token context limits when querying large schemas or tables?+
Can I configure granular role-based permissions or restrict MCP access to specific tables?+
Does the Aurabase MCP server support multi-project management and local development switching?+
BUILT FOR AI CODING AGENTS
Connect your agent in 30 seconds.
Free tier includes dedicated PostgreSQL 18 and full @aurabase/mcp-server access.
No credit card required · 500 MB free · 50,000 MAU