{"data":{"slug":"github-composiohq-awesome-claude-skills-composio-skills-neon-automation-f2b406dc1a62","title":"Automate Neon Serverless Postgres Operations with Composio","summary":"Manage Neon projects, branches, databases, roles, and connection URIs via the Composio MCP integration. Retrieve connection URIs, inspect database details, and manage projects programmatically.","url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-neon-automation-f2b406dc1a62","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-composiohq-awesome-claude-skills-composio-skills-neon-automation-f2b406dc1a62","markdown_url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-neon-automation-f2b406dc1a62.md","download_url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-neon-automation-f2b406dc1a62\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"When using a personal API key, `org_id` is required. Retrieve it first via `NEON_GET_USER_ORGANIZATIONS`. The returned URI includes credentials and must be treated as a secret.","instructions":"---\nname: Neon Automation\ndescription: \"Automate Neon serverless Postgres operations -- manage projects, branches, databases, roles, and connection URIs via the Composio MCP integration.\"\nrequires:\n  mcp:\n    - rube\n---\n\n# Neon Automation\n\nAutomate your Neon serverless Postgres workflows -- list projects and branches, inspect databases, retrieve connection URIs, manage roles, and integrate Neon database operations into cross-app pipelines.\n\n**Toolkit docs:** [composio.dev\/toolkits\/neon](https:\/\/composio.dev\/toolkits\/neon)\n\n---\n\n## Setup\n\n1. Add the Composio MCP server to your client: `https:\/\/rube.app\/mcp`\n2. Connect your Neon account when prompted (API key authentication)\n3. Start using the workflows below\n\n---\n\n## Core Workflows\n\n### 1. List Projects\n\nUse `NEON_RETRIEVE_PROJECTS_LIST` to discover all projects associated with the authenticated user.\n\n```\nTool: NEON_RETRIEVE_PROJECTS_LIST\nInputs:\n  - org_id: string (REQUIRED when using a personal API key)\n  - limit: integer (1-400, default 10)\n  - cursor: string (pagination cursor from previous response)\n  - search: string (search by project name or ID, supports partial match)\n  - timeout: integer (milliseconds; returns partial results on timeout)\n```\n\n**Important:** When using a personal API key, `org_id` is required. Retrieve it first via `NEON_GET_USER_ORGANIZATIONS`.\n\n### 2. Get Project Details\n\nUse `NEON_ACCESS_PROJECT_DETAILS_BY_ID` to inspect project configuration, owner info, and consumption metrics.\n\n```\nTool: NEON_ACCESS_PROJECT_DETAILS_BY_ID\nInputs:\n  - project_id: string (required) -- format: \"adjective-noun-number\", e.g., \"dry-smoke-26258271\"\n```\n\n### 3. List Branches for a Project\n\nUse `NEON_GET_BRANCHES_FOR_PROJECT` to enumerate branches (development stages) within a project.\n\n```\nTool: NEON_GET_BRANCHES_FOR_PROJECT\nInputs:\n  - project_id: string (required)\n  - search: string (optional, search by branch name or ID)\n```\n\n### 4. List Databases on a Branch\n\nUse `NEON_FETCH_DATABASE_FOR_BRANCH` to inventory databases within a specific project and branch.\n\n```\nTool: NEON_FETCH_DATABASE_FOR_BRANCH\nInputs:\n  - project_id: string (required)\n  - branch_id: string (required)\n```\n\n### 5. Get Connection URI\n\nUse `NEON_GET_PROJECT_CONNECTION_URI` to obtain a Postgres connection string for a project\/branch\/database.\n\n```\nTool: NEON_GET_PROJECT_CONNECTION_URI\nInputs:\n  - project_id: string (required)\n  - database_name: string (required) -- e.g., \"neondb\"\n  - role_name: string (required) -- e.g., \"neondb_owner\"\n  - branch_id: string (optional, defaults to project default branch)\n  - endpoint_id: string (optional, defaults to read-write endpoint)\n  - pooled: boolean (optional, adds -pooler for connection pooling)\n```\n\n**Security:** The returned URI includes credentials. Treat it as a secret -- do not log or share it.\n\n### 6. Inspect Database Details and Roles\n\nUse `NEON_RETRIEVE_BRANCH_DATABASE_DETAILS` to verify a database before connecting, and `NEON_GET_BRANCH_ROLES_FOR_PROJECT` to list available roles.\n\n```\nTool: NEON_RETRIEVE_BRANCH_DATABASE_DETAILS\nInputs:\n  - project_id: string (required)\n  - branch_id: string (required)\n  - database_name: string (required)\n\nTool: NEON_GET_BRANCH_ROLES_FOR_PROJECT\nInputs:\n  - project_id: string (required)\n  - branch_id: string (required)\n```\n\n---\n\n## Known Pitfalls\n\n| Pitfall | Detail |\n|---------|--------|\n| org_id required | `NEON_RETRIEVE_PROJECTS_LIST` returns HTTP 400 \"org_id is required\" when using a personal API key. Call `NEON_GET_USER_ORGANIZATIONS` first. |\n| Incomplete pagination | Project lists may be incomplete without pagination. Iterate using `cursor` until it is empty. |\n| Rate limiting | `NEON_RETRIEVE_PROJECTS_LIST` returns HTTP 429 on bursty listing. Avoid redundant calls and back off before retrying. |\n| Invalid role\/database pairing | `NEON_GET_PROJECT_CONNECTION_URI` returns 401\/403 when the database_name\/role_name pairing is invalid. Use `NEON_GET_BRANCH_ROLES_FOR_PROJECT` to select an allowed role. |\n| Connection URI is a secret | The returned URI includes credentials. Never log, display, or share it in plain text. |\n\n---\n\n## Quick Reference\n\n| Tool Slug | Description |\n|-----------|-------------|\n| `NEON_RETRIEVE_PROJECTS_LIST` | List all Neon projects with pagination and search |\n| `NEON_ACCESS_PROJECT_DETAILS_BY_ID` | Get project configuration and consumption metrics |\n| `NEON_GET_BRANCHES_FOR_PROJECT` | List branches within a project |\n| `NEON_FETCH_DATABASE_FOR_BRANCH` | List databases on a specific branch |\n| `NEON_GET_PROJECT_CONNECTION_URI` | Get a Postgres connection URI (with credentials) |\n| `NEON_RETRIEVE_BRANCH_DATABASE_DETAILS` | Inspect database metadata and settings |\n| `NEON_GET_USER_ORGANIZATIONS` | List organizations for the authenticated user |\n| `NEON_CREATE_API_KEY_FOR_ORGANIZATION` | Create a new API key for an organization |\n| `NEON_GET_BRANCH_ROLES_FOR_PROJECT` | List roles available on a branch |\n\n---\n\n*Powered by [Composio](https:\/\/composio.dev)*\n","use_cases":["List all Neon projects with pagination and search","Retrieve connection URIs for Postgres databases","Inspect database details and available roles","Manage Neon projects and branches programmatically"],"limitations":[],"compatibility":[],"setup_tip":"1. Add the Composio MCP server to your client: `https:\/\/rube.app\/mcp`\n2. Connect your Neon account when prompted (API key authentication)\n3. Start using the workflows below\n\n---","sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/ComposioHQ\/awesome-claude-skills\/blob\/be2a406907dbc61b73e6827ded415c96139d13a2\/composio-skills\/neon-automation\/SKILL.md","source_commit":"be2a406907dbc61b73e6827ded415c96139d13a2","license":null,"version":null,"listing_approved_at":"2026-11-20","created_at":"2026-11-20T08:49:12.000000Z","updated_at":"2026-11-20T20:16:02.000000Z","seo_title":"Automate Neon Postgres Operations with Composio","seo_description":"Streamline Neon serverless Postgres workflows with Composio MCP integration for projects, branches, databases, and connection URIs.","seo_keywords":["Neon Postgres automation","Composio MCP Neon integration","Neon database connection URI","Neon project management","Neon branch management"]}}