インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Neon をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
AI に Neon のサーバーレス Postgres を管理させます。プロジェクト、ブランチ、コンピュートエンドポイント、データベース、ロール、スキーマ、オペレーション、使用量を扱い、確認のうえでブランチの作成やコンピュートの起動と一時停止を行います。パスワードは返しません。Neon の API キーで接続します。
こう聞いてみよう
Neon のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Neon をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
Neon + ChatGPT
AI に Neon のサーバーレス Postgres を管理させます。プロジェクト、ブランチ、コンピュートエンドポイント、データベース、ロール、スキーマ、オペレーション、使用量を扱い、確認のうえでブランチの作成やコンピュートの起動と一時停止を行います。パスワードは返しません。Neon の API キーで接続します。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
NEON_API_KEY
ステップ 1 — 認証情報を取得
- Neon Console で、個人用キーなら Account settings → API keys(あなたとして、所属するすべての組織で動作します)、その組織のプロジェクトだけに届くキーなら Organization settings → API keys を開きます。プロジェクト単位のキーは 1 つのプロジェクトにしか届きません。
- キーを作成し、すぐにコピーします。Neon はキーを 1 回しか表示しません。
NEON_API_KEYに貼り付けて、コネクタをインストールします。キーは console.neon.tech にのみ送信されます。 neon_list_organizationsで設定を確認します。キーが属する組織がorg_id付きで一覧されます。
対応範囲: Neon API v2 を通じて、組織、プロジェクト、ブランチ、コンピュートエンドポイント、データベース、ロール、データベーススキーマ、オペレーション、使用量を扱います。AI は neon_list_projects から neon_get_project、neon_list_branches、neon_list_endpoints、neon_list_databases、neon_list_roles、neon_get_database_schema へとたどります。neon_get_database_schema はデータベースのテーブル、列、インデックス、制約を表示し、過去の時点の状態も確認できます。個人用キーでは、組織のプロジェクトに org_id が必要です。
変更の前には必ず確認します: neon_create_branch、neon_start_endpoint、neon_suspend_endpoint はプロジェクトを変更するため、AI は何が起きるかを説明し、あなたの同意を待ちます。
- 稼働中のコンピュートはコンピュート時間を消費し、プランの枠から差し引かれるか、有料プランでは課金されます。
neon_start_endpointでそのメーターが動き始めます。コンピュートはサスペンドタイムアウト後に自動でゼロまでスケールします。 neon_suspend_endpointはそのコンピュートへの接続をすべて即座に切断します。neon_create_branchはコピーオンライトのブランチを即座に作成します。過去の時点を起点にすることもできます。プランの枠を超えるブランチは課金される場合があり、ブランチに追加したコンピュートはすぐに起動します。一時的なブランチには有効期限を設定してください。- 変更はすべてバックグラウンドのオペレーションとして実行されます。完了したかどうかは
neon_list_operationsとneon_get_operationで確認できます。
インストール時はオフ: neon_delete_branch はブランチとそのコンピュートを削除します。管理者が意図して有効にします。ルートブランチとデフォルトブランチは削除できません。
使用量と費用: neon_get_consumption はプロジェクトごとのコンピュート時間、ストレージ、ブランチ数、ネットワーク転送量を、時間、日、月単位で返します。org_id が必要で、有料プラン(Launch、Scale、Business、Enterprise)でのみ使え、コンピュートを起こすことはありません。プロジェクトとブランチの詳細にも、当期のコンピュート時間、アクティブ時間、書き込みデータ量、転送量が表示されます。
パスワードなし、SQL なし: ロールのパスワードと接続文字列は一切返さないため、データベースのパスワードが AI に渡ることはありません。このコネクタは SQL も実行しません。Neon の HTTP 経由の SQL には API キーではなく、ロールのパスワードを含む接続文字列が必要だからです。データを照会するには、Neon ホスト上に読み取り専用の専用 Postgres ロールを作り、PostgreSQL コネクタを追加してください(ポート 5432、SSL 必須)。neon_get_database_schema なら、パスワードなしで構造を確認できます。
よくあるエラー: 401: API キーが間違っているか、取り消されています。新しいキーを作成してください。403: キーがそのプロジェクトや組織に届きません(別の場所で使われたプロジェクトキーや組織キー)、またはプランにその機能(使用量の履歴など)が含まれていません。404: プロジェクト、ブランチ、エンドポイントの ID が間違っています。423 Locked: プロジェクトで別のオペレーションが実行中です。終わるのを待ってから再試行してください。429: リクエストが多すぎます。少し待ってから再試行してください。
このコネクタは、プロジェクト、データベース、ロールの作成や削除、パスワードのリセット、Neon Auth、Data API、スナップショット、組織の管理には対応していません。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — ChatGPT にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
ChatGPT では、Web 版の Plugins ページから MCP サーバーをプラグインとして追加します。有料プランで利用でき、開発者モードはもう必要ありません。Business ワークスペースで追加できるのは管理者とオーナーだけです。Enterprise・Edu では、管理者が Create plugins with MCPs 権限を付与できます。
- chatgpt.com/plugins を開き、+ をクリックして Add custom MCP server を選びます。
- 名前を入力します(例: Name:
Neon)。 - Connection の Server URL に
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力し、Authentication は OAuth のままにします。 - I understand and want to continue を選び、Create as a plugin をクリックします。ChatGPT に求められたら AnythingMCP にサインインし、アクセスを許可します。
- 個人用プラグインから新しいプラグインをインストールし、チャットで @ を入力して選択します。
利用可能なツール
| Tool | What it does |
|---|---|
neon_list_organizations | List the Neon organizations the API key belongs to, with org_id, name, handle and plan |
neon_list_projects | List Neon projects with id, name, region, Postgres version, organization, storage size and last compute activity |
neon_get_project | Get one Neon project: region, Postgres version, default compute settings, history retention, and this billing period's compute time, active… |
neon_list_branches | List the branches of a Neon project with id, name, parent, state, default and protected flags, logical size and this period's compute time |
neon_get_branch | Get one Neon branch: name, parent and branch point, state, default and protected flags, expiry, logical size and this period's compute and… |
neon_create_branch | Create a Neon branch (an instant copy-on-write copy of a parent branch, optionally at a point in time) |
neon_delete_branch | Delete a Neon branch and its computes, ending all their connections |
neon_list_endpoints | List the compute endpoints of a Neon project: id, branch, read-write or read-only, state (active, idle), autoscaling range in compute… |
neon_get_endpoint | Get one Neon compute endpoint: state, branch, type, autoscaling range, suspend timeout, last activity, start and suspend times and host name |
neon_start_endpoint | Start (wake) a Neon compute endpoint |
neon_suspend_endpoint | Suspend a Neon compute endpoint now, which stops compute billing but closes every open connection to it |
neon_list_databases | List the Postgres databases of a Neon branch with name and owner role |
neon_list_roles | List the Postgres roles of a Neon branch with name, protected flag and authentication method |
neon_get_database_schema | Get the schema of one database on a Neon branch (tables, columns, types, indexes, constraints, as pg_dump-style SQL), optionally as it was… |
neon_list_operations | List the operations of a Neon project (branch creation, compute start and suspend, config changes), newest first, with status, error and… |
neon_get_operation | Get one Neon operation: action, status (scheduling, running, finished, failed, cancelled), error, retries and duration |
neon_get_consumption | Get Neon consumption per project and period: compute unit seconds, root and child branch storage, instant restore storage, extra branches… |
プロンプトの例
- 「Neon のプロジェクトをすべて、リージョン、Postgres のバージョン、ストレージサイズ付きで一覧にして、今月コンピュートが動いていないものを教えてください。」
- 「本番ブランチにある app データベースのスキーマを見せてください。テーブル、列、インデックスをお願いします。」
- 「main から feature-billing というブランチを 7 日後に期限切れになる設定で作ってください。作る前に、かかりうる費用を教えてください。」
- 「今動いているコンピュートはどれですか?プレビューブランチのものを一時停止してください。ただし先に確認してください。」
- 「先月、各プロジェクトはコンピュート時間とストレージをどれだけ使いましたか?」
FAQ
ChatGPT の無料プランでカスタム MCP サーバーは使えますか? OpenAI がカスタム MCP サーバーを案内しているのは有料プランだけで、Free プランは対象に含まれていません。
次のステップ
このガイドは役に立ちましたか?