Neon
Official Neon MCP server for managing Neon projects and Lakebase Postgres databases.
Connector by neon.comOfficial · Domain verified by the MCP Registry
Install
Works with Claude Code, VS Code, Cursor, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install connector/neon-com-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Remote endpoint
https://mcp.neon.tech/mcpRemote (HTTP)
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: database-access, backend-development
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 12 read · 3 write · 5 delete
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- Nothing to install (hosted)
- Runs as
- Hosted (remote endpoint)
Tools by what they do 20
Read from the source code; the running server may list different tools.
Read 12 · Look things up without changing anything.
describe_branchdescribe_table_schemafetchget_connection_stringget_database_tablesget_docget_neon_auth_configinspect_databaselist_organizationslist_slow_queriessearchsearch_docs
Write 3 · Create, change, send or run things.
prepare_database_migrationprepare_query_tuningsend_feedback
Delete 5 · Delete, drop, revoke or wipe things.
complete_database_migrationcomplete_query_tuningexplain_sql_statementrun_sqlrun_sql_transaction
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
Authorization
Other settings (environment variables or headers).
x-read-only
Network hosts it talks to 1
mcp.neon.tech· found in remote endpoint, install command
Tools (20)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
complete_database_migrationComplete Database Migrationcan change or delete dataApply or discard a prepared migration and delete the temporary branch. NEVER run autonomously; always ask the user first. Pass migration_id, migration_sql, database_name, project_id, temporary_branch_id, and parent_branch_id from prepare_database_migration. Set apply_changes false to discard; omitting it applies the migration.
complete_query_tuningComplete Query Tuningcan change or delete dataApply or discard query-tuning changes and delete the temporary branch. NEVER run autonomously. Before calling, apply suggested SQL with run_sql on the temporary branch and re-run explain_sql_statement. Pass the tuning_id from prepare_query_tuning, not the branch id, plus temporary_branch_id. Set apply_changes true to apply; omitting it discards. Call this even when the user rejects the changes. Do not use prepare_database_migration.
describe_branchDescribe Branchread-onlyGet a tree view of all objects in a branch, including databases, schemas, tables, views, and functions. Do not use when you only need table names (use `get_database_tables` instead) or column detail (use `describe_table_schema` instead).
describe_table_schemaDescribe Table Schemaread-onlyGet column definitions, data types, and constraints for a specific table. Do not use when you need all tables in a database (use `get_database_tables` instead).
explain_sql_statementExplain SQL Statementcan change or delete dataGenerate the execution plan for a SQL statement. When `analyze` is true, PostgreSQL executes the statement and any side effects. Use `analyze: false` to inspect a statement without executing it. Never analyze potentially destructive SQL autonomously. Do not use when you need query results (use `run_sql` instead).
fetchFetchread-onlyFetch detailed information about a specific organization, project, or branch using the ID returned by the `search` tool.
get_connection_stringGet Connection Stringread-onlyGet a PostgreSQL connection string for a Neon database. The branch must have a compute endpoint. `create_project` and `create_branch` do not return one; call this after they succeed. Branch, compute, and database are optional and resolved automatically if not specified; `project_id` follows the connection scope. Requires write access: the connection string carries a privileged role password, so it is unavailable in read-only mode. A read-only caller who needs a DATABASE_URL must copy it from https://console.neon.tech manually.
get_database_tablesGet Database Tablesread-onlyList all tables in a Neon database. Do not use when you need column-level detail for a specific table (use `describe_table_schema` instead).
get_docGet Documentation Pageread-onlyFetch one neon.com page as markdown. Pass the slug of a search_docs hit (for example docs/guides/prisma).
get_neon_auth_configGet Neon Auth configurationread-onlyRead Neon Auth config for a branch with OAuth and SMTP secrets redacted as "***redacted***". Requires provision_neon_auth first.
inspect_databaseInspect Databaseread-onlyRun one read-only neon inspect db check (pick `check` from the input schema). Not for arbitrary SQL (`run_sql`), one statement's plan (`explain_sql_statement`), or applying indexes (`prepare_query_tuning`). Omit `database_name` to cover every database; some checks are compute-wide. If a check needs an extension, the tool names `CREATE EXTENSION`; ask before running it.
list_organizationsList Organizationsread-onlyList all organizations the current user belongs to. Supports optional `search` parameter to filter by name or ID.
list_slow_queriesList Slow Queriesread-onlyList queries from pg_stat_statements by execution time, slowest first. For sizes, indexes, locks, cache, bloat, or replication use inspect_database.
prepare_database_migrationPrepare Database MigrationApply a schema change on a temporary branch and return a migration_id. Test with run_sql on that branch, ask the user, then complete_database_migration — even if they reject, so the temporary branch is deleted. Pass every field from the prepare response.
prepare_query_tuningPrepare Query TuningAnalyze a slow query on a temporary branch and return a tuning_id. Apply suggested SQL with run_sql on that branch, re-run explain_sql_statement there, then complete_query_tuning with the tuning_id (not the branch id) — apply_changes true if they accept, omit it or pass false if they reject, so the temporary branch is deleted. Do not use prepare_database_migration.
Show 5 more tools
run_sqlRun SQLcan change or delete dataExecute one SQL statement on a Neon database. If a prior step created a temporary branch, pass that branch_id. NEVER run destructive SQL autonomously; always ask the user first.
run_sql_transactionRun SQL Transactioncan change or delete dataExecute multiple SQL statements as one transaction. If a prior step created a temporary branch, pass that branch_id. NEVER run destructive SQL autonomously; always ask the user first.
searchSearchread-onlySearch across all organizations, projects, and branches by keyword. Returns matching items with id, title, and URL. Query must be at least 3 characters. Do not use when you need all projects (use `list_projects` instead) or to search Neon documentation (use `search_docs`).
search_docsSearch Documentationread-onlySearch neon.com: docs, API reference, PostgreSQL tutorial, guides, FAQs, changelog, and blog. Returns ranked pages with title, URL, the matching section, and a slug; read a full page with get_doc.
send_feedbackSend FeedbackSend anonymous feedback about Neon or this MCP server to the Neon team. Only call this when the user asks to give feedback. Sends only the feedback text, not account, project, or connection details.
Compare and alternatives
Featured in
Signals
- Stars
- 655
- Forks
- 133
- Open issues
- 18
- Contributors
- 25
- Last commit
- Oct 21, 2026 (7 days ago)
- Last release
- Sep 17, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
com.neon/mcp- Version
- 1.0.0
- Auth
- Bearer token
- License
- MIT
- Repository
- github.com/neondatabase/mcp-server-neon
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Cite this page
Neon MCP server. Agent Mart. https://agentmart.dev/connectors/neon-com-mcp (last updated 2026-10-24)