Skip to main content
Use Neon through Corsair: one client, typed API calls, local DB sync. Neon exposes project, branch, database, role, compute endpoint, auth, organization, and infrastructure workflows for serverless Postgres. Use Corsair permissions for destructive actions such as deleting projects, dropping branches or databases, revoking API keys, or removing VPC endpoints. What you get:
  • 110 typed API operations
  • 8 synced entities (apiKeys, branches, computeEndpoints, databases, organizations, projects, and 2 more) for fast .search() / .list()

Setup

1

Install

2

Add the plugin

corsair.ts
Multi-tenancy is the default — scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

apiKeys.listApiKeys
apiKeys.createApiKey
See the full list on the API page.

Query synced data

Synced entities support tenant.neon.db.<entity>.search() and .list(): apiKeys, branches, computeEndpoints, databases, organizations, projects, roles, snapshots. See Database for filters and operators.

What’s next

API reference

Every neon.api.* operation with input and output types.

Database

Synced entities, search filters, and operators.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.