Query and write to your Neon serverless PostgreSQL database — select, insert, update, delete, and run raw SQL from any AI agent.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"neon": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-neon",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the _ping tool to verify database connectivity by running select 1. used internally by aerostack to validate credentials”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
Query and write to your Neon serverless PostgreSQL database from any AI agent.
Neon is a serverless Postgres platform with branching, autoscaling, and a native HTTP SQL API. This MCP server gives your AI agents direct read/write access to your Neon database: selecting rows, inserting records, updating data, deleting rows, and running raw parameterized SQL — all through natural language.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-neon
| Tool | Description |
|---|---|
list_tables | List all tables with column names and types |
select | Query rows with optional WHERE, ORDER BY, LIMIT |
insert | Insert one or more rows, returns inserted records |
update | Update rows matching a WHERE condition |
delete | Delete rows matching a WHERE condition |
run_sql | Execute any parameterized SQL query |
| Variable | Required | Description | How to Get |
|---|---|---|---|
DATABASE_URL | Yes | Neon PostgreSQL connection string | console.neon.tech → Your Project → Connection Details → copy Connection string |
Connection string format: postgresql://user:pass@ep-xxx.region.aws.neon.tech/dbname?sslmode=require
DATABASE_URL under Project → SecretsOnce added, every AI agent in your workspace can query your Neon database automatically.
"List all tables in my database and describe their columns"
"Select the last 10 customers who signed up, ordered by created_at"
"Insert a new support ticket for customer_id 42 with subject 'Login issue'"
"Update the status to closed for all tickets older than 30 days"
"How many active users do I have?"
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-neon \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-DATABASE-URL: postgresql://user:pass@ep-xxx.neon.tech/dbname' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_tables","arguments":{}}}'
DATABASE_URL is injected at the Aerostack gateway layer — never stored in this worker's codeupdate and delete tools always require a where clause — full-table mutations are blockedrun_sql supports parameterized queries ($1, $2, ...) — use params array to prevent SQL injectionMIT
Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-neon
Sub-50ms globally · Zero cold start
@aerostack
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
The Neon MCP gives Claude 6 tools covering tables, sqls. Claude can read, create, update, and manage Neon data directly from a conversation.
Yes. The Neon MCP includes tools to list and retrieve tables from your Neon account. Claude can filter, sort, and summarize tables based on your instructions.
Yes. The Neon MCP uses the open Model Context Protocol standard, so it works in Claude, Cursor, Windsurf, and any other MCP-compatible AI tool. All 6 Neon tools are available everywhere you connect it — install once on Aerostack.
Yes. The Neon MCP includes run and trigger tools that let Claude execute Neon actions on demand. This is useful for automating repetitive Neon tasks directly from a Claude or Cursor session.