Neon provides several ways to integrate with AI tools and agents, from natural language database control to autonomous agent frameworks. Choose the tools that fit your workflow.

Quick setup

The fastest way to get started with Neon and AI:

npx neonctl@latest init

This authenticates via OAuth, creates an API key, configures your editor (Cursor, VS Code, or Claude Code), and installs agent skills. Then restart and ask your AI assistant "Get started with Neon".

MCP integration

The Model Context Protocol (MCP) is a standardized way for AI tools to interact with Neon databases using natural language, providing secure and contextual access to your data and infrastructure.

Claude Code plugin

If you're using Claude Code, install the Neon plugin to get Skills, MCP integration, and all the context rules in one package.

GitHub Copilot agents

Custom agents for GitHub Copilot that bring Neon's branching workflow directly into VS Code for safe migrations and query optimization.

AI rules

For other AI tools like Cursor, use these individual .mdc context rule files. Copy them to your AI tool's custom rules directory — the format is tool-agnostic and works with any AI assistant that supports context rules.

Build AI agents

Create autonomous agents that can manage and interact with your Neon databases programmatically. Build with our terse JavaScript client or the Neon API.

Agent frameworks

Build AI agents using popular frameworks that integrate with Neon.