MetorialDocs

Set up Rocketadmin in Metorial for Claude, ChatGPT and Cursor

Share Rocketadmin with your team in Claude, ChatGPT and Cursor through Metorial: API key or email & password sign-in, 17 tools (7 read-only).

To give your team Rocketadmin in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Rocketadmin integration in a Metorial portal, and each person connects with an API key. Agents can manage Rocketadmin database connections, discover tables and schemas, read and modify rows, download CSV exports, manage groups and company users, configure dashboards and saved queries, maintain action rules and table settings, and inspect audit logs. The integration has 17 tools, 7 read-only, 8 write and 2 destructive, plus 2 triggers.

What you'll learn

  • How an admin shares Rocketadmin in a portal and how each person connects
  • What Rocketadmin asks for when you connect, and where to find it
  • How to keep the 7 read-only tools and reject the other 10

Before you start

Sign-in methods

MethodTypeWhat a person provides
API Key (default)API tokenapiKey
Email & PasswordCustom credentialsemail, password and companyId

The portal and metorial setup use API Key unless someone picks another method.

API Key

To connect, a person enters:

  • apiKey: Rocketadmin API key generated from Account Settings in the Rocketadmin dashboard

Email & Password

To connect, a person enters these values:

  • email: Rocketadmin account email address
  • password: Rocketadmin account password
  • companyId (optional): Company ID to log in to (optional)

Setup settings

Whichever method you pick, setup also asks for:

  • baseUrl (optional): Rocketadmin instance URL. Use the default for cloud-hosted or your self-hosted URL.

Admin: share Rocketadmin in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Rocketadmin. Under Auth Method, keep API Key or pick another. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Rocketadmin.

Choose who gets it

Add the access groups that should see Rocketadmin. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Rocketadmin integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search rocketadmin

Employee: connect Rocketadmin

In the portal

Open Rocketadmin in the catalog

Sign in to your portal and open Rocketadmin. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (apiKey).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search rocketadmin
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses API Key. To connect with Email & Password instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Rocketadmin connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list rocketadmin
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 7 read-only tools, such as get_rows and export_csv, and lose the 8 write tools, such as add_row or update_row, and the 2 destructive tools, such as delete_row or manage_connection.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list rocketadmin
metorial tools <integration-id>
metorial call <integration-id> list_connections -d '{}'

metorial tools lists the 17 tools, minus any you rejected. list_connections takes no input. It retrieves all database connections configured in your Rocketadmin account.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (7)

  • get_audit_logs: Retrieve activity logs for a database connection.
  • list_tables: List all tables in a database connection and optionally get the structure (columns, types, constraints) of a specific table. Needs connectionId.
  • get_rows: Retrieve rows from a database table. Needs connectionId and tableName.
  • export_csv: Export all data from a database table as CSV format. Needs connectionId and tableName.
  • list_connections: Retrieve all database connections configured in your Rocketadmin account.
  • get_current_user: Get the signed-in Rocketadmin user, including their ID, email, role, and current company.
  • get_my_company: Discover the signed-in Rocketadmin company ID and its details, connections, and invitations available to your role.

Write tools (8)

  • manage_action_rules: List, create, update, or delete action rules for a table. Needs action and connectionId.
  • update_row: Update an existing row in a database table by its primary key. Needs connectionId, tableName and rowData.
  • manage_groups: List, create, or delete groups within a database connection. Needs action and connectionId.
  • manage_company_users: Manage users within a Rocketadmin company (organization). Needs action and companyId.
  • add_row: Insert a new row into a database table. Needs connectionId, tableName and rowData.
  • manage_dashboards: List, create, update, or delete dashboards for a database connection. Needs action.
  • manage_table_settings: Get, create, update, or delete display settings for a table. Needs action, connectionId and tableName.
  • manage_saved_queries: Create, list, execute, update, or delete saved database queries. Needs action.

Destructive tools (2)

  • delete_row: Delete one or more rows from a database table by primary key. Needs connectionId and tableName.
  • manage_connection: Get, create, update, test, or delete a database connection. Needs action.

Triggers

Rocketadmin has 2 triggers, which fire on events in Rocketadmin:

  • inbound_webhook
  • table_row_changes: Triggers when rows are created, updated, or deleted in a database table.

Next steps