Skip to main content
Build your agent on Neon and provision backends you fully control. See how Ideavo does it
/Agents/Cursor

Set up Neon in Cursor

Install the Neon plugin for agent skills and the Neon MCP Server

View as Markdown

The Neon plugin gives Cursor Neon's agent skills, so it knows how to build on Neon, and the Neon MCP Server, so it can act on your Neon account.

Install the plugin

In Cursor chat, run:

/add-plugin neon-postgres

Or install it from cursor.com/marketplace/neon, or from a terminal:

npx neon@latest plugins --agent cursor

When Cursor first uses a Neon MCP tool, follow the prompts to sign in to Neon.

To set up the plugin and link a Neon project in one step, run npx neon@latest init instead.

Check that it works

Ask Cursor:

Get started with Neon

Other ways to install

MCP Server only

Add Neon MCP Server to Cursor

Click the button to add the Neon MCP Server with OAuth. For a Neon API key instead, run npx neon@latest mcp --agent cursor, which mints one. The config generator also builds an API key config, with read-only mode and other access controls.

Skills only

npx neon@latest skills --agent cursor

For an end-to-end example, see Get started with Cursor and the Neon MCP Server. If something isn't working, see MCP troubleshooting.

Need help?

Join our Discord Server to ask questions or see what others are doing with Neon. For paid plan support options, see Support.

Was this page helpful?
Edit on GitHub