Community研究&データ分析github.com

ComposioHQ/Neon-Automation

NeonサーバーレスPostgresの運用を自動化 – Composio MCP統合経由でプロジェクト、ブランチ、データベース、ロール、接続URIを管理します。

Neon-Automation とは?

Neon Automationスキルは、NeonのサーバーレスPostgresデータベース運用を効率的に自動化するためのツールセットです。ComposioのMCP(Model Context Protocol)サーバーを介して、Neon APIと直接連携し、プロジェクトの一覧取得、ブランチ管理、データベースの確認、接続URIの取得、ロール管理といった主要な操作をAIエージェントから実行できます。 このスキルは主にClaude CodeやCursor、CodexなどのMCP対応クライアントで利用可能で、`NEON_RETRIEVE_PROJECTS_LIST` や `NEON_GET_PROJECT_CONNECTION_URI` などの整形されたツールを提供します。特に、個人APIキー使用時に必須となる `org_id` の取得や、ページネーション処理、レート制限への対応など、実際の運用で発生する落とし穴を回避するためのガイダンスも含まれています。 接続URIには認証情報が含まれるため、機密情報として適切に扱う必要があります。このスキルにより、開発者は手動操作を減らし、Neonデータベース関連のタスクを自動化パイプラインに組み込むことが可能になります。

対応~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/ComposioHQ/awesome-codex-skills/tree/main/composio-skills/neon-automation

Installed? Explore more 研究&データ分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Neon Automation

NeonのサーバーレスPostgresワークフローを自動化 – プロジェクトやブランチの一覧表示、データベースの確認、接続URIの取得、ロール管理、およびNeonデータベース操作をクロスアプリパイプラインに統合します。

ツールキットドキュメント: composio.dev/toolkits/neon


セットアップ

  1. Composio MCPサーバーをクライアントに追加: https://rube.app/mcp
  2. プロンプトに従ってNeonアカウントを接続(APIキー認証)
  3. 以下のワークフローを使い始める

コアワークフロー

1. プロジェクト一覧の取得

NEON_RETRIEVE_PROJECTS_LIST を使用して、認証されたユーザーに関連するすべてのプロジェクトを検出します。

Tool: NEON_RETRIEVE_PROJECTS_LIST
Inputs:
  - org_id: string (必須 – 個人APIキー使用時)
  - limit: integer (1-400、デフォルト10)
  - cursor: string (前回のレスポンスからのページネーションカーソル)
  - search: string (プロジェクト名またはIDで検索、部分一致対応)
  - timeout: integer (ミリ秒; タイムアウト時に部分結果を返す)

重要: 個人APIキーを使用する場合、org_id は必須です。最初に NEON_GET_USER_ORGANIZATIONS で取得してください。

2. プロジェクト詳細の取得

NEON_ACCESS_PROJECT_DETAILS_BY_ID を使用して、プロジェクト設定、所有者情報、消費メトリクスを確認します。

Tool: NEON_ACCESS_PROJECT_DETAILS_BY_ID
Inputs:
  - project_id: string (必須) -- 形式: "形容詞-名詞-数字"、例 "dry-smoke-26258271"

3. プロジェクトのブランチ一覧

NEON_GET_BRANCHES_FOR_PROJECT を使用して、プロジェクト内のブランチ(開発ステージ)を列挙します。

Tool: NEON_GET_BRANCHES_FOR_PROJECT
Inputs:
  - project_id: string (必須)
  - search: string (オプション、ブランチ名またはIDで検索)

4. ブランチ上のデータベース一覧

NEON_FETCH_DATABASE_FOR_BRANCH を使用して、特定のプロジェクトとブランチ内のデータベースを一覧表示します。

Tool: NEON_FETCH_DATABASE_FOR_BRANCH
Inputs:
  - project_id: string (必須)
  - branch_id: string (必須)

5. 接続URIの取得

NEON_GET_PROJECT_CONNECTION_URI を使用して、プロジェクト/ブランチ/データベースのPostgres接続文字列を取得します。

Tool: NEON_GET_PROJECT_CONNECTION_URI
Inputs:
  - project_id: string (必須)
  - database_name: string (必須) -- 例 "neondb"
  - role_name: string (必須) -- 例 "neondb_owner"
  - branch_id: string (オプション、デフォルトはプロジェクトのデフォルトブランチ)
  - endpoint_id: string (オプション、デフォルトは読み書きエンドポイント)
  - pooled: boolean (オプション、追加で -pooler を使用してコネクションプーリング)

セキュリティ: 返されるURIには認証情報が含まれています。機密情報として扱い、ログや共有は絶対に行わないでください。

6. データベース詳細とロールの確認

NEON_RETRIEVE_BRANCH_DATABASE_DETAILS を使用してデータベースの接続前確認を行い、NEON_GET_BRANCH_ROLES_FOR_PROJECT で利用可能なロールを一覧表示します。

Tool: NEON_RETRIEVE_BRANCH_DATABASE_DETAILS
Inputs:
  - project_id: string (必須)
  - branch_id: string (必須)
  - database_name: string (必須)

Tool: NEON_GET_BRANCH_ROLES_FOR_PROJECT
Inputs:
  - project_id: string (必須)
  - branch_id: string (必須)

既知の落とし穴

落とし穴詳細
org_id 必須個人APIキー使用時に NEON_RETRIEVE_PROJECTS_LIST を実行するとHTTP 400「org_id is required」が返ります。最初に NEON_GET_USER_ORGANIZATIONS を呼び出してください。
ページネーション不完全ページネーションを行わないとプロジェクト一覧が不完全になる場合があります。cursor が空になるまで繰り返し実行してください。
レート制限NEON_RETRIEVE_PROJECTS_LIST はバースト的な一覧取得時にHTTP 429を返すことがあります。重複呼び出しを避け、リトライ前にバックオフを行ってください。
無効なロール/データベースの組み合わせNEON_GET_PROJECT_CONNECTION_URI は、database_name と role_name の組み合わせが無効な場合に401/403を返します。NEON_GET_BRANCH_ROLES_FOR_PROJECT を使用して許可されたロールを選択してください。
接続URIは機密情報返されるURIには認証情報が含まれます。プレーンテキストでのログ、表示、共有は絶対に行わないでください。

クイックリファレンス

ツールスラッグ説明
NEON_RETRIEVE_PROJECTS_LISTすべてのNeonプロジェクトをページネーションと検索付きで一覧表示
NEON_ACCESS_PROJECT_DETAILS_BY_IDプロジェクト設定と消費メトリクスを取得
NEON_GET_BRANCHES_FOR_PROJECTプロジェクト内のブランチを一覧表示
NEON_FETCH_DATABASE_FOR_BRANCH特定のブランチ上のデータベースを一覧表示
NEON_GET_PROJECT_CONNECTION_URIPostgres接続URI(認証情報含む)を取得
NEON_RETRIEVE_BRANCH_DATABASE_DETAILSデータベースのメタデータと設定を確認
NEON_GET_USER_ORGANIZATIONS認証されたユーザーの組織を一覧表示
NEON_CREATE_API_KEY_FOR_ORGANIZATION組織用の新しいAPIキーを作成
NEON_GET_BRANCH_ROLES_FOR_PROJECTブランチで利用可能なロールを一覧表示

Powered by Composio

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ComposioHQ/-21risk-automation

Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/-2chat-automation

Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agent-deep-links

Build, validate, and troubleshoot deep links for Codex, Cursor, VS Code, Visual Studio, and similar tools. Use when users ask for clickable links (especially in Slack) that open threads, files, folders, or app settings.

関連スキル