npx neonctl@latest init gives your agent two things: Neon-specific context from agent skills, and tools to act on your Neon account through the MCP server. The result is an agent that can connect your app to Neon and help you use Neon features as you build. For Cursor and VS Code, it also installs the Neon Local Connect extension for in-editor schema browsing.
For a full app walkthrough, see Build a full backend.
Before you start
You'll need:
- Node.js 18+
- A supported AI coding assistant, such as Cursor, VS Code with GitHub Copilot, Claude Code, Codex, Zed, Gemini CLI, Cline, OpenCode, or another client supported by add-mcp
Run the init command
From your project root, run:
npx neonctl@latest initThe wizard asks which editor to configure, then:
- Signs you in to Neon (or signs you up for free)
- Creates a Neon API key
- Installs agent skills
- Configures the Neon MCP server
- For Cursor and VS Code, installs the Neon Local Connect extension
Run this from your project root so the skills are installed in the right place. For details and manual setup, see the
neonctl initreference.Tell your agent
In your editor's AI chat, send:
Get started with NeonYour agent reads the installed skill and uses the MCP server to walk you through setup. It can:
- Create a Neon project
- Configure your app
- Write your
DATABASE_URLto.env - Suggest a Postgres driver and starter query
The exact flow depends on your project. Your agent can scaffold a new connection or help with a migration.
What's next
- About branching
- Neon Auth
- Data API
- Browse your schema with Neon Local Connect
neonctl initreference
Need help?
Join our Discord Server to ask questions or see what others are doing with Neon. For paid plan support options, see Support.








