• CLONE
  • ACCESS
  • MANAGE
  • HUMAN

How to create isolated database branches with your agent

Connect Neon to your AI client to spin up ephemeral database environments for testing. Once connected, your agent handles the heavy lifting of cloning and connection management.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I use my AI to branch my Neon database?

Tell your agent to create a new branch from a specific Neon project. It will clone your data into a new, isolated environment and provide the connection string you need to start testing immediately.

The outcomes

What you get from your agent

Your agent manages the lifecycle of your testing environments.

CLONE

Instant data copies

Your agent creates a new branch that mirrors your existing data. You get a clean slate for testing without any risk to your main database.

ACCESS

Ready to use URIs

Your agent pulls the connection details for the new branch. You can plug these straight into your local dev environment or application config.

MANAGE

Project oversight

Your agent can look through your existing Neon projects to find the right source for a branch. It keeps track of what you have active.

HUMAN

Manual cleanup

Your agent creates the branches, but you decide when they are no longer needed. You'll need to manually delete branches in the Neon console once testing is done.

The workflow

What your agent does when you ask for a branch.

Your agent moves from identifying your data to handing you a live connection.

  1. Locate your project

    Your agent scans your Neon account to find the specific database you want to copy.

    list_projectsget_project
  2. Spawn the branch

    Your agent instructs Neon to create a new, isolated branch from your chosen project.

    create_branch
  3. Verify the branch

    Your agent checks that the new branch was created successfully and is ready for traffic.

    get_branch
  4. Provide access

    Your agent retrieves the connection string so you can point your code to the new environment.

    get_connection_uri

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Neon tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to trigger the Neon workflow.

Starting points

Replace the project names and branch names with your actual Neon identifiers.

Neon Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_e3C6GSP7rcg3FCPCbSglmhApwE4Mzt5VNYrUY3zB/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Neon capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "neon-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_e3C6GSP7rcg3FCPCbSglmhApwE4Mzt5VNYrUY3zB/mcp"
    }
  }
}
Copy into chat04
  • 01

    List my Neon projects so I can pick one to branch.

  • 02

    Create a new branch named 'feature-test-v2' from my 'production-db' project.

  • 03

    Get the connection URI for the branch I created.

  • 04

    Find the project called 'user-service-db' and tell me its ID.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Neon once, then ask.

Link your Neon account to Vinkius in one click. Your credentials stay encrypted and secure, and you can start branching via chat immediately.

Connect Neon to your agent

FAQ

How the Neon Connector behaves

  • 01

    Can your agent delete my production database?

    No. The available tools only allow for listing projects, getting project details, creating branches, getting branch details, and retrieving connection URIs. There is no tool to delete projects or branches.

  • 02

    Does branching change my main database?

    No. Creating a branch creates a copy. Your original database remains untouched and isolated from any changes you make in the new branch.

  • 03

    Can your agent change my database schema?

    No. Your agent can create the environment and give you the connection string, but it cannot run SQL commands or modify your schema directly.

  • 04

    How do I know which project to branch?

    You can ask your agent to list your projects first to see exactly what is available in your Neon account.

  • 05

    Will your agent automatically delete branches when I'm done?

    No. Your agent does not have a tool to delete branches. You must manage the removal of old branches yourself through the Neon dashboard.

  • More questions about Neon? The Connector page answers them. See everything the Neon Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Neon to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Neon plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Neon to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.