Skip to main content
Connect your Neon account to let CloudThinker agents inspect Neon projects, review database schemas, analyze slow queries, and assist with approved database operations through Neon’s hosted MCP server. Neon uses OAuth, so you do not need to create a Neon API key or paste credentials into CloudThinker.

Prerequisites

  • A Neon account with access to the projects you want CloudThinker to inspect.
  • Permission to authorize CloudThinker through Neon’s OAuth flow.
  • A CloudThinker workspace where Neon is not already connected.
CloudThinker supports one Neon connection per workspace. To switch accounts, remove the existing Neon connection and reconnect.

Setup

1

Open CloudThinker

Navigate to Connections → Neon in your CloudThinker workspace.
2

Start the OAuth flow

Click Connect to open Neon’s authorization page.
3

Authorize CloudThinker

Sign in to the Neon account that owns or can access the projects you want CloudThinker to use, then approve access.
4

Return to CloudThinker

After authorization, CloudThinker stores the OAuth tokens and shows a Connected status.

Connection details

Neon uses OAuth — there are no connection fields to enter manually. CloudThinker stores the OAuth access and refresh tokens automatically after the authorization flow completes.

Required permissions

CloudThinker inherits the Neon access granted during OAuth.
  • Read operations include listing projects, inspecting schemas, reviewing metadata, and analyzing slow queries.
  • Write operations such as SQL execution, branch changes, migrations, Neon Auth changes, and Data API provisioning require matching Neon access and explicit approval in CloudThinker.

Agent capabilities

Once connected, agents can:

Verify the connection

Example prompts


Troubleshooting

You may be signed in to the wrong Neon account, or your browser session may not be signed in to Neon. Sign in to the intended Neon account and retry the CloudThinker Neon connection flow.
Only one OAuth Neon connection is allowed per workspace. Use the existing Neon connection or remove it before reconnecting.
The OAuth flow may have been completed with a Neon account that lacks access to those projects. Reconnect using the Neon account that owns or has access to the projects.

Security

  • Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
  • Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
  • Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
  • Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
  • Approval for writes — keep SQL, branches, migrations, Auth, and Data API changes approval-gated in CloudThinker
  • Reconnect carefully — remove the existing workspace connection before switching Neon accounts

MCP Connection

Connect custom tools and services with MCP

Tony Agent

Database analysis and optimization