TOOL API

get_connection_string

Get a PostgreSQL connection string for a Neon database with all parameters being optional

devOAuth1 credits

Call information

Tool slug
mcp-server-neon.get_connection_string
Provider
Neon
Average response
0 ms
Calls in 7 days
0

Input parameters

project_id

The ID of the project. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.

branch_id

The ID or name of the branch. If not provided, the default branch will be used.

compute_id

The ID of the compute/endpoint. If not provided, the read-write compute associated with the branch will be used.

database_name

The name of the database. If not provided, the default neondb or first available database is used.

role_name

The name of the role to connect with. If not provided, the database owner name will be used.