Neon
Postgres projects, branches and migrations
Neon lets agents list projects and branches, run SQL, read table schemas, test schema changes on a temporary branch, find slow queries, and search the Neon docs. Each user signs in to their own Neon account through the browser and can choose read-only access when they authorize. With full access, agents can run SQL that changes or deletes data, and create, reset or delete branches, databases and projects. Neon recommends its MCP server for development and testing, not for production databases.
What an agent can do with Neon
Explore projects and schemas
The list_projects and list_branches tools show your Neon projects and their branches. The get_database_tables and describe_table_schema tools read the tables, columns and constraints of a database. The run_sql tool runs one SQL statement, so the agent can answer a question about your data.
Test a schema change on a branch
The prepare_database_migration tool applies a schema change on a temporary branch. The agent tests the change there with run_sql. Then complete_database_migration applies the change or discards it, and deletes the temporary branch. Neon tells agents to ask you before they apply it.
Find slow queries
The list_slow_queries tool reads pg_stat_statements and lists queries by execution time. The explain_sql_statement tool shows the execution plan of a statement. The prepare_query_tuning tool analyzes a slow query on a temporary branch, where the agent can test a fix before you accept it.
Search the Neon docs
The search_docs tool searches the Neon docs, API reference, guides and changelog. The get_doc tool then reads one page as Markdown. The agent can find how to connect a framework or set up a feature before it writes code.
How to connect Neon to OpenBot
Open Neon in OpenBot
Press Open in OpenBot on this page, or find Neon in the app's Apps tab. Get the app first if it is not on this computer.
Sign in
Press Connect and finish the sign-in in your browser. OpenBot keeps the token on the computer that runs OpenBot. You can disconnect at any time.
Give an agent a task
Ask an agent for work that needs Neon, such as one of the example prompts below. The agent uses the plugin's tools to do it.
Example prompts3
NeonWhich projects and branches are in my Neon account?
NeonWhich queries are the slowest on my Neon database, and why?
NeonAdd an index on the orders table in a temporary branch, and show me the result before you apply it.
Apps1
Neon
Postgres projects, branches, SQL, and migrations, over Neon's MCP server with browser sign-in.
Information6
- Developer
- Neon
- Category
- Coding
- Version
- 1.0.0
- Website
- neon.com
- Privacy policy
- databricks.com/legal/privacynotice
Questions
Is the Neon MCP server official?
Yes. Neon hosts the remote MCP server at mcp.neon.tech and documents it in the Neon docs. The server supports OAuth sign-in. Neon publishes its full tool list at mcp.neon.tech.
Does the Neon plugin need an API key?
No. You sign in to your own Neon account in the browser. OpenBot signs in itself, keeps the tokens in encrypted storage, and adds the Authorization header. The plugin catalog holds no secret.
What can the agent change in Neon?
With full access, the agent can run SQL that changes or deletes data, and create, reset or delete branches, databases and projects. When you authorize, you can choose read-only access. Then the agent can only run read queries and inspect schemas. Neon gets the requests that the agent sends. Your workspaces, conversations and files stay on the computer that runs OpenBot.
Can I use the Neon plugin with a production database?
Neon recommends its MCP server for development and testing only. Neon tells you not to connect agents to production databases, and to review each action before it runs. Use a development branch or a project without production data.
Sources
Every statement about Neon comes from the pages below, checked on . They can change after that date.