Neon
Let your AI manage Neon serverless Postgres: projects, branches, compute endpoints, databases, roles, schemas, operations and consumption. It can create branches and start or suspend computes after your confirmation. Never returns passwords. With a Neon API key.
7 æ¥éç¡æ · ã¯ã¬ãžããã«ãŒãäžèŠ Â· EU ãã¹ã
Neon ã«äœã§ãèãã
AnythingMCP çµç±ã§ Neon ã«å®éã®ããã³ããã詊ãã â Claude ãããŒã«ãåŒã³åºããåçããŸããããªãã®ã¡ãã»ãŒãžã§ Enter ãæŒããš Cloud ã«ã€ã³ã¹ããŒã«ããŸãã
Neon ã Cloud ã«ã€ã³ã¹ããŒã«Claude 㯠AI ã®ãã誀ãããšããããŸããåçãã確èªãã ããã
2 åã§ã»ããã¢ãã
- 1cloud.anythingmcp.com ã§ç¡æãã©ã€ã¢ã«éå§ã
- 2ã³ãã¯ã¿ãŒã¹ãã¢ã§ Neon ãã¯ãªãã¯ãè³æ Œæ å ±ã貌ãä»ãã
- 3MCP API ããŒãçºè¡ããAI ã¯ã©ã€ã¢ã³ãã MCP URL ã«åããã
Neon ã®ã¬ã€ã
äž»èŠ AI ã¯ã©ã€ã¢ã³ãåãã®ã¹ããããã€ã¹ãããã»ããã¢ããã
Neon ã®ã»ããã¢ãã
ã³ãã¯ã¿å®çŸ©ãã®ãã®ããïŒèªèšŒæ å ±ã®å ¥æå ãå¿ èŠãªæš©éããã®ã¢ããã¿ãåŒã³åºã APIã ã³ãã¯ã¿äœè ã«ããè±èªã§æäŸãããŠããŸãã
Neon
This connector manages Neon serverless Postgres through the Neon API v2 (https://console.neon.tech/api/v2) with an API key: organizations, projects, branches, compute endpoints (start and suspend), databases, roles, database schemas, operations and consumption. It does not run SQL (see below).
Setup (about 2 minutes)
- In the Neon Console open Account settings â API keys (personal key: acts as you, in every organization you belong to) or Organization settings â API keys (organization key: only that organization's projects; a project-scoped key: only one project).
- Create the key, copy it at once (Neon shows it only once) and paste it into
NEON_API_KEY. - Install and run
neon_list_organizations.
Write tools need confirmation. Before neon_create_branch, neon_start_endpoint or neon_suspend_endpoint, tell the user what will happen and wait for a clear yes.
- A running compute uses compute hours (CU-hours), which count against the plan's allowance or are billed on paid plans;
neon_start_endpointstarts that meter. Computes scale to zero by themselves after the suspend timeout. neon_suspend_endpointcloses every open connection to that compute at once.neon_create_branchcreates a copy-on-write branch (instant, no data copied). Branches beyond the plan's allowance and their storage changes can be billed; adding an endpoint also starts a compute. Setexpires_atfor temporary branches.- Switched off at install:
neon_delete_branch(deletes the branch and its computes; the root and default branch cannot be deleted).
Finding things
neon_list_organizationsgives theorg_ids. With a personal API key,neon_list_projectsneedsorg_idfor organization projects; with an organization key it is inferred.neon_list_projectsâneon_get_project(settings and this period's usage) âneon_list_branches/neon_get_branch(the default branch hasdefault: true) âneon_list_databases/neon_list_roles/neon_get_database_schema. Ids: projects likeshiny-wind-028834, branchesbr-..., computesep-....neon_list_endpoints(orneon_get_endpointfor one) shows each compute's state (active,idle), size range in CU and the host name.- Every change runs as asynchronous operations: the answer lists them, and
neon_get_operationshows when they finish (finished,failed). - Lists page with
cursor: passpagination.next(branches) orpagination.cursor(projects, operations) from the previous answer.
Usage and cost: neon_get_consumption returns compute unit seconds, storage, branch counts and network transfer per project and period (hourly for the last 7 days, daily for 60 days, monthly for a year). It needs org_id and is available on paid plans only (Launch, Scale, Business, Enterprise). It does not wake computes. Project and branch details also show compute_time_seconds, active_time_seconds, written_data_bytes and data_transfer_bytes for the current period.
Passwords and connection strings are never returned. Role passwords, connection URIs and the reveal-password call are left out on purpose, so no database password reaches the AI.
Running SQL is not part of this connector. Neon's SQL over HTTP endpoint (https://<endpoint host>/sql) authenticates with a full Postgres connection string including the role's password, not with the API key, so it would put a database password in front of the AI. To query data, use the PostgreSQL connector with a dedicated read-only Postgres role on the Neon host (<endpoint host>, port 5432, SSL required). neon_get_database_schema still shows the tables and columns without a password.
Common errors
- 401
supplied credentials do not pass authentication: wrong or revoked API key. Neon answers 401 on every URL for a bad key. - 403: the key may not access that project or organization (a project-scoped or organization key used elsewhere), or the plan does not include the feature (consumption history).
- 404: wrong project, branch or endpoint id. 423
Locked: another operation is running on the project; wait for it (neon_list_operations) and retry. - 429: too many requests; wait a little and retry.
Out of scope here: SQL, creating or deleting projects, databases and roles, resetting role passwords, Neon Auth, the Data API, snapshots and organization administration.
ããªãã® AI 㯠Neon ãã 2 ã¯ãªãã¯å ã
ã³ãã¯ã¿ãŒãã€ã³ã¹ããŒã«ãè³æ Œæ å ±ã貌ãä»ããAI ã«è³ªåã7 æ¥éç¡æãã¯ã¬ãžããã«ãŒãäžèŠã