How to Connect Neon Remote MCP to Cline
Add Neon's remote MCP server to Cline in about a minute.
Step-by-step
- Open Cline MCP settingsCline sidebar โ MCP Servers โ Configure MCP Servers โ this opens
cline_mcp_settings.json. - Paste the configAdd the
mcpServersentry shown above (Streamable HTTPurl+ optionalheaders). - AuthorizeOn first use your client opens a Neon OAuth consent screen โ approve it and tools become available.
- VerifyVerify in the browser: paste
https://mcp.neon.tech/mcpinto remotemcp.net/inspector and run initialize + tools/list.
Troubleshooting OAuth / 401
- A
401 Unauthorizedon first connect is normal โ the endpoint is OAuth-protected; let Cline finish the browser consent flow. - If the consent window never opens, remove and re-add the server, then retry.
- Check the exact challenge at our OAuth debugger.
- Run the live endpoint through the online inspector to see the raw JSON-RPC exchange.
Or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"neon": {
"url": "https://mcp.neon.tech/mcp"
}
}
}claude mcp add --transport http neon https://mcp.neon.tech/mcp
Or add to .vscode/mcp.json:
{
"servers": {
"neon": {
"type": "http",
"url": "https://mcp.neon.tech/mcp"
}
}
}- Open Settings โ Connectors (Integrations) โ Add Custom Connector.
- Paste the endpoint URL:
https://mcp.neon.tech/mcp - Complete the browser OAuth 2.1 login flow when prompted.
Bridge the remote endpoint into stdio with mcp-remote in claude_desktop_config.json:
{
"mcpServers": {
"neon": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.neon.tech/mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"neon": {
"serverUrl": "https://mcp.neon.tech/mcp"
}
}
}Add to ~/.kiro/settings/mcp.json (or .kiro/settings/mcp.json in your workspace), then reopen Kiro's Agent panel to pick up the server:
{
"mcpServers": {
"neon": {
"url": "https://mcp.neon.tech/mcp"
}
}
}Add to ~/.codex/config.toml โ Codex reads remote HTTP servers from [mcp_servers.*] tables:
[mcp_servers.neon] url = "https://mcp.neon.tech/mcp"
Add to cline_mcp_settings.json (Cline โ MCP Servers โ Configure), or paste it via Cline's MCP marketplace file:
{
"mcpServers": {
"neon": {
"type": "streamableHttp",
"url": "https://mcp.neon.tech/mcp"
}
}
}Add to ~/.gemini/settings.json under mcpServers โ httpUrl for Streamable HTTP, url for legacy SSE:
{
"mcpServers": {
"neon": {
"httpUrl": "https://mcp.neon.tech/mcp"
}
}
}Tools exposed by Neon MCP (23)
| Tool | Safety | Description | Parameters |
|---|---|---|---|
| list_projects ~27 tok | ๐ข Read | List Neon projects. | โ |
| list_shared_projects ~32 tok | ๐ข Read | List projects shared with you. | โ |
| create_project ~28 tok | ๐ Write | Create a Neon project. | โ |
| delete_project ~28 tok | ๐ด Destructive | Delete a Neon project. | โ |
| describe_project ~29 tok | ๐ข Read | Describe a Neon project. | โ |
| get_connection_string ~33 tok | ๐ข Read | Get a Postgres connection string. | โ |
| run_sql ~31 tok | ๐ Write | Run a SQL statement in a Neon database. | โ |
| run_sql_transaction ~36 tok | ๐ Write | Run multiple SQL statements in one transaction. | โ |
| describe_table_schema ~31 tok | ๐ข Read | Describe a table's schema. | โ |
| get_database_tables ~32 tok | ๐ข Read | List tables in a Neon database. | โ |
| create_branch ~28 tok | ๐ Write | Create a Neon branch. | โ |
| describe_branch ~29 tok | ๐ข Read | Describe a Neon branch. | โ |
| delete_branch ~28 tok | ๐ด Destructive | Delete a Neon branch. | โ |
| prepare_database_migration ~36 tok | ๐ Write | Prepare a schema migration on a branch. | โ |
| complete_database_migration ~34 tok | ๐ด Destructive | Complete a prepared migration. | โ |
| explain_sql_statement ~35 tok | ๐ข Read | Get the execution plan of a SQL statement. | โ |
| prepare_query_tuning ~34 tok | ๐ข Read | Prepare query tuning recommendations. | โ |
| complete_query_tuning ~32 tok | ๐ Write | Apply prepared query tuning. | โ |
| list_slow_queries ~31 tok | ๐ข Read | List slow queries in a project. | โ |
| provision_neon_auth ~33 tok | ๐ Write | Provision Neon Auth for a project. | โ |
| get_project_id_from_uri ~34 tok | ๐ข Read | Resolve a project ID from a Neon URI. | โ |
| list_organizations ~30 tok | ๐ข Read | List Neon organizations. | โ |
| list_branch_computes ~31 tok | ๐ข Read | List computes of a branch. | โ |
Connect Neon MCP to another client
Other servers for Cline
GitHub's official remote MCP server hosted at api.githubcopilot.com. Gives AI agents first-party access to repositories, issues, pull requests and code search.
Notion's official hosted MCP server. Agents can search your workspace, read and create pages, and query databases over Streamable HTTP or SSE.
Linear's official remote MCP server. Agents can search, create and update issues and query your team's workflow over Streamable HTTP or SSE.
Figma's official remote MCP server. Agents can pull design context, variables, Code Connect mappings and screenshots from your Figma files.
AWS Knowledge's hosted remote MCP server. AWS's fully-managed public knowledge MCP gives agents access to the latest AWS documentation, API references, What's New posts and architectural guidance across all AWS services. It is public and unauthenticated โ connect and call tools immediately.
Stripe's official remote MCP server at mcp.stripe.com. Agents can query customers, payment intents and subscriptions and invoke Stripe API operations with OAuth.