Neon CLI

Manage Neon serverless Postgres — projects, branches, databases, roles, and connection strings. Use when an agent needs to create database branches, manage Neon projects, or get connection strings for serverless Postgres.

Composio HQ Updated 79.5k repo stars

File contents

Neon CLI

Manage Neon projects, branches, databases, roles, and connection strings.

Installation

npm i -g neonctl
neonctl auth

Key Commands

neonctl projects list
neonctl branches list --project-id <id>
neonctl branches create --project-id <id> --name feature-branch
neonctl databases list --branch <branch-id>
neonctl connection-string --project-id <id>
neonctl roles list --project-id <id>

Agent-Friendly Features

  • --output json for structured output
  • API key auth via NEON_API_KEY
  • Database branching for preview environments

ComposioHQ/awesome-agent-clis commit 270c1c82af

Frequently asked questions

npx get-skill add composiohq/neon-cli