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 the Neon connection as ready for your agents.
There are no environment fields to fill out for the Neon connection.

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:
  • Discover Neon projects, shared projects, organizations, computes, and tables.
  • Inspect schemas and table metadata.
  • Review slow queries and suggest optimizations.
  • Run SQL or transactions only after explicit user approval.
  • Manage branches, migrations, query tuning, Neon Auth, and Neon Data API provisioning only after explicit user approval.

Example Prompt

@tony Please list my Neon projects and summarize their schemas. Do not create branches, run SQL, change settings, or provision anything.

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 Best Practices

  • Least-privilege account - Authorize with only the Neon project access CloudThinker needs
  • Approval for writes - Keep SQL, branches, migrations, Auth, and Data API changes approval-gated
  • Read before writing - Start with project and schema inspection prompts
  • Reconnect carefully - Remove the existing workspace connection before switching Neon accounts

https://mintcdn.com/cloudthinker/aLd-ttc-SCW-aFky/images/icons/mcp.svg?fit=max&auto=format&n=aLd-ttc-SCW-aFky&q=85&s=c89b6087a9d233901dea5e354452eff6

MCP Connection

Connect custom tools and services with MCP

Tony Agent

Database analysis and optimization