# How to connect Neon to Grok Bot

```json
{
  "title": "How to connect Neon to Grok Bot",
  "toolkit": "Neon MCP",
  "toolkit_slug": "neon_mcp",
  "framework": "Grok Bot",
  "framework_slug": "grok-bot",
  "url": "https://composio.dev/toolkits/neon_mcp/framework/grok-bot",
  "markdown_url": "https://composio.dev/toolkits/neon_mcp/framework/grok-bot.md",
  "updated_at": "2026-12-02T07:07:41.857Z"
}
```

## Introduction

Grok is xAI's assistant, and its bot builder lets you create a personal agent that holds context, runs skills, and connects to the apps you already use through plugins.
This guide explains how to connect Neon to a Grok bot using Composio Connect, which handles OAuth, token refresh, and reliability so you do not have to. You add Composio as a plugin, authenticate once, then ask your bot to work with Neon in plain language.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/neon_mcp).

## Also integrate Neon MCP with

- [ChatGPT](https://composio.dev/toolkits/neon_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/neon_mcp/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/neon_mcp/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/neon_mcp/framework/atomic-agent)

## TL;DR

Composio exposes 2,000+ apps to your Grok bot through a single connection, so you get:
- Connect to 2,000+ apps with on-demand tool loading, so you do not fill your context window with unnecessary tool definitions.
- Use programmatic tool calling through a remote workbench, letting the model write its own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
- Handle large tool responses outside the model context to keep conversations lean.

## Connect Neon MCP to Grok Bot

### Connecting Neon to Grok Bot
Once Grok Bot is set up, you connect Neon entirely from its interface, and the whole flow takes under a minute.
### Set up Grok Bot
Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from [x.ai/bot](https://x.ai/bot) and sign in. An iPhone companion app is also available, and your bots sync across devices.
Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.
### Connect Neon
### 1. Add the Composio plugin
Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.
[Add to Grok Bot](https://x.ai/bot/plugin/32661537)
Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.
### 2. Authenticate
Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.
Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.
### 3. Connect your Neon account
Back in the chat, ask your bot to connect to Neon or give it any Neon task.
For example, ask it to:
- "Create a new Neon project and database"
- "Deploy branch to staging and run migrations"
- "List all databases and their branches"
It will prompt you to authenticate and authorize access.
That's it. Composio's tools are now available in your Grok bot, and your Neon account is ready to use.

## What is Grok Bot?

Grok is xAI's assistant, available as a chat interface and a bot builder for creating personal agents that run skills and connect to external apps.
With Composio Connect, your Grok bot can securely access apps like Neon through MCP without you sharing account credentials directly with the agent.

## What is the Neon MCP server, and what's possible with it?

The Neon MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Neon account. It provides structured and secure access to your Neon projects, branches, databases, authentication, functions, and storage, so your agent can create projects and branches, manage PostgreSQL resources, inspect schemas, analyze queries, and create snapshots on your behalf.
- Project and branch management: Have your agent create, inspect, or delete Neon projects and branches, and retrieve branch settings and usage details.
- PostgreSQL resource administration: Let the agent create or delete databases, compute resources, and Postgres roles, or retrieve a database connection string.
- Schema inspection and query analysis: Direct your agent to explore branch objects, review table columns and constraints, compare database schemas, or analyze SQL execution plans.
- Snapshots and development workflows: Instruct your agent to create or delete snapshots, finalize branch restores, and apply or discard prepared migration and query tuning changes.
- Authentication, functions, and storage: Have your agent manage Neon Auth users, OAuth providers, and trusted domains, deploy or delete functions, and create or remove storage buckets and objects.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `NEON_MCP_ADD_AUTH_OAUTH_PROVIDER` | Add auth oauth provider | Adds an OAuth provider configuration to the specified branch's Neon Auth integration. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_ADD_AUTH_TRUSTED_DOMAIN` | Add auth trusted domain | Adds a domain to the redirect URI whitelist for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_COMPARE_DATABASE_SCHEMA` | Compare database schema | Compare one database's SQL schema on a branch to another. `database_name` is required. Omit `base_branch_id` to compare against the parent; it is a branch id (`br-...`), not a name. Pass `lsn`, `timestamp`, `base_lsn`, or `base_timestamp` only for a point-in-time comparison. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_COMPLETE_DATABASE_MIGRATION` | Complete database migration | Apply or discard a prepared migration and delete the temporary branch. NEVER run autonomously; always ask the user first. Pass migration_id, migration_sql, database_name, project_id, temporary_branch_id, and parent_branch_id from prepare_database_migration. Set apply_changes false to discard; omitting it applies the migration. |
| `NEON_MCP_COMPLETE_QUERY_TUNING` | Complete query tuning | Apply or discard query-tuning changes and delete the temporary branch. NEVER run autonomously. Before calling, apply suggested SQL with run_sql on the temporary branch and re-run explain_sql_statement. Pass the tuning_id from prepare_query_tuning, not the branch id, plus temporary_branch_id. Set apply_changes true to apply; omitting it discards. Call this even when the user rejects the changes. Do not use prepare_database_migration. |
| `NEON_MCP_CREATE_AUTH_USER` | Create auth user | Creates a new user in the Neon Auth user directory for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_CREATE_BRANCH` | Create branch | Creates a branch with a read-write compute and waits until it is ready. Pass `no_compute: true` to skip the endpoint. Does not return a connection string; call `get_connection_string` with the project and branch id. Copies the parent at HEAD; point-in-time restore is `restore_snapshot`. |
| `NEON_MCP_CREATE_POSTGRES_DATABASE` | Create postgres database | Creates a database in the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_CREATE_POSTGRES_ENDPOINT` | Create postgres endpoint | Creates a compute endpoint on a branch. Does not return a connection string; call `get_connection_string`. |
| `NEON_MCP_CREATE_POSTGRES_ROLE` | Create postgres role | Creates a Postgres role in the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_CREATE_PROJECT` | Create project | Creates a Neon project and waits until the default compute is ready. Pass `org_id` with a personal API key. Does not return a connection string; call `get_connection_string` with the project id. |
| `NEON_MCP_CREATE_SNAPSHOT` | Create snapshot | Creates a snapshot from the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_CREATE_STORAGE_BUCKET` | Create storage bucket | Creates a new branchable object storage bucket on the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_DELETE_AUTH_OAUTH_PROVIDER` | Delete auth oauth provider | Deletes an OAuth provider from the specified project. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_DELETE_AUTH_TRUSTED_DOMAIN` | Delete auth trusted domain | Removes a domain from the redirect URI whitelist for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_DELETE_AUTH_USER` | Delete auth user | Deletes the specified user from the Neon Auth user directory for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_DELETE_BRANCH` | Delete branch | Delete a branch and all its data. NEVER run autonomously; always ask the user first. For the whole project, use `delete_project`. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_DELETE_DATA_API` | Delete data api | Deletes the Neon Data API for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_DELETE_FUNCTION` | Delete function | Deletes the function identified by its slug. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_DELETE_FUNCTIONS_CUSTOM_DOMAIN` | Delete functions custom domain | Removes a custom domain registered on the branch and stops routing it. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_DELETE_POSTGRES_DATABASE` | Delete postgres database | Deletes the specified database from the branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_DELETE_POSTGRES_ENDPOINT` | Delete postgres endpoint | Deletes the specified compute endpoint. |
| `NEON_MCP_DELETE_POSTGRES_ROLE` | Delete postgres role | Deletes the specified Postgres role from the branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_DELETE_PROJECT` | Delete project | Delete a Neon project and all its data. NEVER run autonomously; always ask the user first. For a single branch, use `delete_branch`. |
| `NEON_MCP_DELETE_SNAPSHOT` | Delete snapshot | Deletes the specified snapshot. |
| `NEON_MCP_DELETE_STORAGE_BUCKET` | Delete storage bucket | Deletes the named bucket from the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_DELETE_STORAGE_OBJECT` | Delete storage object | Deletes the named object from the bucket on the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_DELETE_STORAGE_OBJECTS_BY_PREFIX` | Delete storage objects by prefix | Soft-deletes every object on the specified branch whose key starts with `prefix`, in a single call. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_DEPLOY_FUNCTION` | Deploy function | Creates a deployment for the function. Supply at least one of `zip`, `environment`, or `runtime`; omitted fields inherit the latest version. The first deployment must include `zip`. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_DESCRIBE_BRANCH` | Describe branch | Get a tree view of all objects in a branch, including databases, schemas, tables, views, and functions. Do not use when you only need table names (use `get_database_tables` instead) or column detail (use `describe_table_schema` instead). |
| `NEON_MCP_DESCRIBE_PROJECT` | Describe project | Retrieves the project record (settings, compute, usage). Call `list_branches` for branches. |
| `NEON_MCP_DESCRIBE_TABLE_SCHEMA` | Describe table schema | Get column definitions, data types, and constraints for a specific table. Do not use when you need all tables in a database (use `get_database_tables` instead). |
| `NEON_MCP_DISABLE_AUTH` | Disable auth | Disables the Neon Auth integration for the specified branch, removing the connection to the authentication provider. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_EXPLAIN_SQL_STATEMENT` | Explain sql statement | Analyze the query execution plan for a SQL statement using EXPLAIN ANALYZE. Do not use when you need to execute the query for results (use `run_sql` instead). |
| `NEON_MCP_FETCH` | Fetch | Fetch detailed information about a specific organization, project, or branch using the ID returned by the `search` tool. |
| `NEON_MCP_FINALIZE_BRANCH_RESTORE` | Finalize branch restore | Finalize a branch created with `restore_snapshot` and `finalize: false`: reassign computes (this restarts them) and swap names so it replaces the original branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_GET_AI_GATEWAY` | Get ai gateway | Returns the AI Gateway endpoint host for the specified branch, used to render code-snippet base URLs. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_GET_AUTH` | Get auth | Retrieves the Neon Auth integration details for the specified branch, including the auth provider type and integration status. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_GET_BRANCH` | Get branch | Retrieves information about the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_GET_CONNECTION_STRING` | Get connection string | Get a PostgreSQL connection string for a Neon database. The branch must have a compute endpoint. `create_project` and `create_branch` do not return one; call this after they succeed. All parameters are optional; the tool resolves the project, branch, and database automatically if not specified. Requires write access: the connection string carries a privileged role password, so it is unavailable in read-only mode. A read-only caller who needs a DATABASE_URL must copy it from https://console.neon.tech manually. |
| `NEON_MCP_GET_DATABASE_TABLES` | Get database tables | List all tables in a Neon database. Do not use when you need column-level detail for a specific table (use `describe_table_schema` instead). |
| `NEON_MCP_GET_DATA_API` | Get data api | Retrieves the Neon Data API configuration for the specified branch, including endpoint URL, enabled state, and database settings. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_GET_DEFAULT_BRANCH` | Get default branch | Resolve the project's default branch by the default flag, not by name. |
| `NEON_MCP_GET_DOC_RESOURCE` | Get doc resource | Fetch one Neon documentation page as markdown. Pass a slug from list_docs_resources (for example docs/guides/prisma.md). |
| `NEON_MCP_GET_FUNCTION` | Get function | Returns the function identified by its slug. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_GET_NEON_AUTH_CONFIG` | Get neon auth config | Read Neon Auth config for a branch with OAuth and SMTP secrets redacted as "***redacted***". Requires provision_neon_auth first. |
| `NEON_MCP_GET_OPERATION` | Get operation | Retrieves details for the specified operation. |
| `NEON_MCP_GET_POSTGRES_DATABASE` | Get postgres database | Retrieves information about the specified database. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_GET_POSTGRES_ENDPOINT` | Get postgres endpoint | Retrieves information about the specified compute endpoint. |
| `NEON_MCP_GET_POSTGRES_ROLE` | Get postgres role | Retrieves details about the specified role. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_GET_SNAPSHOT_SCHEDULE` | Get snapshot schedule | Returns the backup schedule for the specified branch, including the configured snapshot frequencies. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_GET_STORAGE` | Get storage | Returns whether branchable object storage is usable for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_INSPECT_DATABASE` | Inspect database | Run one read-only neon inspect db check (pick `check` from the input schema). Not for arbitrary SQL (`run_sql`), one statement's plan (`explain_sql_statement`), or applying indexes (`prepare_query_tuning`). Omit `database_name` to cover every database; some checks are compute-wide. If a check needs an extension, the tool names `CREATE EXTENSION`; ask before running it. |
| `NEON_MCP_LIST_AUTH_OAUTH_PROVIDERS` | List auth oauth providers | Lists the OAuth providers configured for the specified branch's Neon Auth integration. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_LIST_AUTH_TRUSTED_DOMAINS` | List auth trusted domains | Lists the trusted domains in the redirect URI whitelist for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_LIST_BRANCHES` | List branches | Retrieves a list of branches for the specified project. Returns every page. Pass limit to cap how many. |
| `NEON_MCP_LIST_BRANCH_COMPUTES` | List branch computes | Retrieves a list of compute endpoints for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_LIST_DOCS_RESOURCES` | List docs resources | List Neon documentation page slugs from neon.com/docs/llms.txt. Call this before get_doc_resource; do not guess slugs. |
| `NEON_MCP_LIST_FUNCTIONS` | List functions | Lists functions on the specified branch. Returns every page. Pass limit to cap how many. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_LIST_FUNCTIONS_CUSTOM_DOMAINS` | List functions custom domains | Lists all custom domains registered on the branch, across every target entity. Returns every page. Pass limit to cap how many. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_LIST_LOG_FIELDS` | List log fields | Lists the low-cardinality log fields observed on this branch. Call `list_log_field_values` with `field_name` to list distinct values. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_LIST_LOG_FIELD_VALUES` | List log field values | Lists distinct values for a low-cardinality log field. Call `list_log_fields` first for `field_name`; a field the branch has never emitted returns `unknown_field`. Pass `since` or `start_time`, not both; default is the previous six hours, max seven days. Private beta. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_LIST_OPERATIONS` | List operations | Lists operations for a project. Omitting `limit` returns every remaining page. There is no `cursor` argument. |
| `NEON_MCP_LIST_ORGANIZATIONS` | List organizations | List all organizations the current user belongs to. Supports optional `search` parameter to filter by name or ID. |
| `NEON_MCP_LIST_POSTGRES_DATABASES` | List postgres databases | Retrieves a list of databases for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_LIST_POSTGRES_ENDPOINTS` | List postgres endpoints | Retrieves a list of compute endpoints for the specified project. |
| `NEON_MCP_LIST_POSTGRES_ROLES` | List postgres roles | Retrieves a list of Postgres roles from the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_LIST_PROJECTS` | List projects | List Neon projects you own. Returns every page. Pass limit to cap how many. There is no `cursor` argument. Pass `org_id` with a personal API key to list that org's projects. |
| `NEON_MCP_LIST_PROJECT_MEMBERS` | List project members | Lists organization members and their per-project roles for an org-owned project. Returns every page. Pass limit to cap how many. |
| `NEON_MCP_LIST_PROJECT_PERMISSIONS` | List project permissions | Retrieves details about users who have access to the project, including the permission `id`, the granted-to email address, and the date project access was granted. |
| `NEON_MCP_LIST_REGIONS` | List regions | Lists Neon regions available to the authenticated account. |
| `NEON_MCP_LIST_SLOW_QUERIES` | List slow queries | List queries from pg_stat_statements by execution time, slowest first. For sizes, indexes, locks, cache, bloat, or replication use inspect_database. |
| `NEON_MCP_LIST_SNAPSHOTS` | List snapshots | Lists the snapshots for the specified project. |
| `NEON_MCP_LIST_STORAGE_BUCKETS` | List storage buckets | Lists branchable object storage buckets visible on the specified branch, including those inherited from ancestor branches. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_LIST_STORAGE_OBJECTS` | List storage objects | Lists objects visible in the named bucket on the specified branch, including those inherited from ancestor branches. Returns every page. Pass limit to cap how many. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_PREPARE_DATABASE_MIGRATION` | Prepare database migration | Apply a schema change on a temporary branch and return a migration_id. Test with run_sql on that branch, ask the user, then complete_database_migration — even if they reject, so the temporary branch is deleted. Pass every field from the prepare response. |
| `NEON_MCP_PREPARE_QUERY_TUNING` | Prepare query tuning | Analyze a slow query on a temporary branch and return a tuning_id. Apply suggested SQL with run_sql on that branch, re-run explain_sql_statement there, then complete_query_tuning with the tuning_id (not the branch id) — apply_changes true if they accept, omit it or pass false if they reject, so the temporary branch is deleted. Do not use prepare_database_migration. |
| `NEON_MCP_PRESIGN_STORAGE_OBJECT` | Presign storage object | Returns a presigned URL that transfers bytes directly to or from the object's bucket on the specified branch, without the caller ever handling S3 credentials. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_PROVISION_NEON_AUTH` | Provision neon auth | Enables Neon Auth for the specified branch by connecting it to an authentication provider. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_PROVISION_NEON_DATA_API` | Provision neon data api | Creates a new instance of Neon Data API in the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_QUERY_LOGS` | Query logs | Returns logs for a branch. Pass `limit` to cap how many. There is no `cursor` argument. Filters combine with AND. Pass `logql` instead of structured filters, not with them. Give the window as `since` or `start_time`, not both; default is the previous hour, max seven days; `end_time` is exclusive. Private beta; a branch without logs access returns HTTP 404 with reason "telemetry_not_enabled". branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_RECOVER_PROJECT` | Recover project | Recovers a deleted project within the 7-day deletion recovery period. |
| `NEON_MCP_REGISTER_FUNCTIONS_CUSTOM_DOMAIN` | Register functions custom domain | Registers a hostname on the branch and routes it to a function. Pass `entity_type: "function"` and `entity_id` as the slug from `list_functions`. Point a CNAME at the returned `cname_target`. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_RESET_FROM_PARENT` | Reset from parent | Reset a branch to its parent's current HEAD. Discards every change the branch has written since it diverged. NEVER run autonomously; always ask the user first. `preserve_under_name` saves the current state first and is required when the branch has children; those children move to the new branch. Point-in-time restore is `restore_snapshot`. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_RESET_POSTGRES_ROLE_PASSWORD` | Reset postgres role password | Resets the password for the specified Postgres role. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_RESTART_POSTGRES_ENDPOINT` | Restart postgres endpoint | Restarts the specified compute endpoint by immediately suspending it and then starting it again. |
| `NEON_MCP_RESTORE_SNAPSHOT` | Restore snapshot | Restore a snapshot onto a new or existing branch. The call waits until the branch is ready. Pass `target_branch_id` to restore onto an existing branch; omit it to create one. Pass `finalize: false` then call `finalize_branch_restore` to swap names later. |
| `NEON_MCP_RUN_SQL` | Run sql | Execute one SQL statement on a Neon database. If a prior step created a temporary branch, pass that branch_id. NEVER run destructive SQL autonomously; always ask the user first. |
| `NEON_MCP_RUN_SQL_TRANSACTION` | Run sql transaction | Execute multiple SQL statements as one transaction. If a prior step created a temporary branch, pass that branch_id. NEVER run destructive SQL autonomously; always ask the user first. |
| `NEON_MCP_SEARCH` | Search | Search across all organizations, projects, and branches by keyword. Returns matching items with id, title, and URL. Query must be at least 3 characters. Do not use when you need all projects (use `list_projects` instead). |
| `NEON_MCP_SET_DEFAULT_BRANCH` | Set default branch | Sets the specified branch as the project's default branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_SET_SNAPSHOT_SCHEDULE` | Set snapshot schedule | Replace a branch's automatic snapshot schedule. Frequency must be daily, weekly, or monthly. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_START_POSTGRES_ENDPOINT` | Start postgres endpoint | Starts a compute endpoint. |
| `NEON_MCP_SUSPEND_POSTGRES_ENDPOINT` | Suspend postgres endpoint | Suspends the specified compute endpoint. |
| `NEON_MCP_UPDATE_AUTH_CONFIG` | Update auth config | Updates the auth configuration for the branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_UPDATE_AUTH_OAUTH_PROVIDER` | Update auth oauth provider | Updates an OAuth provider for the specified project. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_UPDATE_AUTH_USER_ROLE` | Update auth user role | Updates the role of a user in the Neon Auth user directory for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_UPDATE_BRANCH` | Update branch | Updates the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_UPDATE_DATA_API` | Update data api | Updates the Neon Data API configuration for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_UPDATE_FUNCTION` | Update function | Updates the function's mutable metadata — currently only the display `name`. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_UPDATE_POSTGRES_DATABASE` | Update postgres database | Updates the specified database in the branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name. |
| `NEON_MCP_UPDATE_POSTGRES_ENDPOINT` | Update postgres endpoint | Updates the specified compute endpoint. |
| `NEON_MCP_UPDATE_PROJECT` | Update project | Updates the specified project. |
| `NEON_MCP_UPDATE_SNAPSHOT` | Update snapshot | Updates the specified snapshot. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, your Grok bot can access the Neon MCP server through Composio to run the actions you authorize, using plain language in the chat.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Neon is connected, extend your setup by connecting the other apps you already use every day, so your Grok bot can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single connection, your bot can coordinate multiple tools safely and reliably in one conversation.

## How to build Neon MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/neon_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/neon_mcp/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/neon_mcp/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/neon_mcp/framework/atomic-agent)

## Related Toolkits

- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
- [GitHub](https://composio.dev/toolkits/github) - GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
- [21st MCP](https://composio.dev/toolkits/21st_mcp) - 21st MCP is a hosted design resource service for React/shadcn components, themes, templates, and SVG logos. It gives teams a fast way to discover, organize, and reuse polished interface assets.
- [Agent37](https://composio.dev/toolkits/agent37) - Agent37 is a control API for managed agent sandboxes, templates, networking, and execution. It gives teams built-in scheduling, observability, budgets, and workspace administration.
- [Aikido Security](https://composio.dev/toolkits/aikido) - Aikido Security is a security platform for workspace, code, cloud, and application protection. It helps teams find vulnerabilities, manage compliance, and reduce security risk.
- [Alchemy](https://composio.dev/toolkits/alchemy) - Alchemy is a blockchain development platform offering APIs and tools for Ethereum apps. It simplifies building and scaling Web3 projects with robust infrastructure.
- [Algolia](https://composio.dev/toolkits/algolia) - Algolia is a hosted search API that powers lightning-fast, relevant search experiences for web and mobile apps. It helps developers deliver instant, typo-tolerant, and scalable search without complex infrastructure.
- [Alpic MCP](https://composio.dev/toolkits/alpic_mcp) - Alpic MCP is a hosted MCP server platform for inspecting projects, deployments, analytics, and feedback. It gives teams a structured way to monitor and manage MCP server activity.
- [Anakin](https://composio.dev/toolkits/anakin_io) - Anakin is a web automation platform offering scraping, crawling, search, and browser automation. Use it to extract structured data, automate site tasks, and monitor web changes reliably.
- [Anchor browser](https://composio.dev/toolkits/anchor_browser) - Anchor browser is a developer platform for AI-powered web automation. It transforms complex browser actions into easy API endpoints for streamlined web interaction.
- [Anchor Browser MCP](https://composio.dev/toolkits/anchor_browser_mcp) - Anchor Browser MCP is a hosted browser automation service for running cloud browser sessions and web tasks. It provides secure, reusable browser identities and managed authentication for reliable agent workflows.
- [AnyAPI](https://composio.dev/toolkits/anyapi) - AnyAPI is a marketplace of utility APIs for validation, currency conversion, holidays, documents, and web data. It brings common application workflows together through one practical API platform.
- [Apiflash](https://composio.dev/toolkits/apiflash) - Apiflash is a website screenshot API for programmatically capturing web pages. It delivers high-quality screenshots on demand for automation, monitoring, or reporting.
- [Apiverve](https://composio.dev/toolkits/apiverve) - Apiverve delivers a suite of powerful APIs that simplify integration for developers. It's designed for reliability and scalability so you can build faster, smarter applications without the integration headache.
- [APIVerve MCP](https://composio.dev/toolkits/apiverve_mcp) - APIVerve MCP is a hosted utility API server for lookups, validation, conversion, and data enrichment. It gives developers one MCP connection to access APIVerve's utility APIs.
- [Appcircle](https://composio.dev/toolkits/appcircle) - Appcircle is an enterprise-grade mobile CI/CD platform for building, testing, and publishing mobile apps. It streamlines mobile DevOps so teams ship faster and with more confidence.
- [Appdrag](https://composio.dev/toolkits/appdrag) - Appdrag is a cloud platform for building websites, APIs, and databases with drag-and-drop tools and code editing. It accelerates development and iteration by combining hosting, database management, and low-code features in one place.
- [Appveyor](https://composio.dev/toolkits/appveyor) - AppVeyor is a cloud-based continuous integration service for building, testing, and deploying applications. It helps developers automate and streamline their software delivery pipelines.
- [Appwrite MCP](https://composio.dev/toolkits/appwrite_mcp) - Appwrite MCP is Appwrite's hosted MCP server for managing projects and platform APIs. It gives AI agents a secure, natural-language way to work with Appwrite services.
- [Arcjet MCP](https://composio.dev/toolkits/arcjet_mcp) - Arcjet MCP is a hosted security management server for inspecting Arcjet teams, sites, requests, and rules. It centralizes application security data and controls for faster investigation.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Neon MCP?

With a standalone Neon MCP server, the agents and LLMs can only access a fixed set of Neon tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Neon and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Grok Bot?

Yes, you can. Grok Bot fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Neon tools.

### Can I manage the permissions and scopes for Neon while using Tool Router?

Yes, absolutely. You can configure which Neon scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Neon data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
