MetorialDocs

Set up NocoDB in Metorial for Claude, ChatGPT and Cursor

Share NocoDB with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 21 tools (9 read-only).

To give your team NocoDB in Claude, ChatGPT, Cursor and other AI clients, an admin shares the NocoDB integration in a Metorial portal, and each person connects with an API token. Agents can manage databases through a spreadsheet-like no-code platform. The integration has 21 tools, 9 read-only, 9 write and 3 destructive, plus 1 trigger.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
API TokenAPI tokentoken

API Token

To connect, a person enters:

  • token: NocoDB API Token. Generate from Account Settings > Tokens in NocoDB.

Setup settings

Setup also asks for:

  • baseUrl: The host URL of the NocoDB instance, e.g. https://app.nocodb.com or http://localhost:8080

Admin: share NocoDB 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 NocoDB. For how members connect, choose Each person connects so everyone enters their own API token, or Shared connection to enter one API token for everyone.

Limit the tools

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

Choose who gets it

Add the access groups that should see NocoDB. 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 NocoDB integration. Once it exists, check which groups have it:

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

Employee: connect NocoDB

In the portal

Open NocoDB in the catalog

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

Authenticate

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

Confirm

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

With the CLI

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

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your NocoDB 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 nocodb
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 9 read-only tools, such as get_base and get_field, and lose the 9 write tools, such as create_base or update_base, and the 3 destructive tools, such as delete_base or delete_table.

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 nocodb
metorial tools <integration-id>
metorial call <integration-id> list_bases -d '{}'

metorial tools lists the 21 tools, minus any you rejected. list_bases takes no input. It lists bases accessible in the NocoDB instance.

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

Tools

Read-only tools (9)

  • get_record: Retrieve a single record by its row ID from a NocoDB table. Needs tableId and recordId.
  • list_records: Query and list records from a NocoDB table with optional filtering, sorting, field selection, and pagination. Needs tableId.
  • get_table: Retrieve detailed metadata for a specific table, including its full schema with all fields/columns, their types, and configuration. Needs tableId.
  • list_tables: List all tables within a NocoDB base. Needs baseId.
  • list_bases: List bases accessible in the NocoDB instance.
  • list_views: List all views for a NocoDB table. Needs tableId.
  • count_records: Count records in a table or view, optionally applying a where filter without retrieving every record.
  • get_field: Read a field definition and all provider options.
  • get_base: Read base metadata, including its data source IDs.

Write tools (9)

  • create_records: Create one or more records in a NocoDB table. Needs tableId and records.
  • create_table: Create a new table in a NocoDB base. Needs baseId and tableName.
  • update_records: Update one or more existing records in a NocoDB table. Needs tableId and records.
  • manage_field: Create, update, or delete a field (column) on a NocoDB table. - **create**: Add a new field to a table by specifying tableId and field properties. - **update**: Modify an existing field by specifying fieldId and the properties to change. - **delete**: Remove a field by specifying its fieldId. Needs action.
  • manage_webhook: Create, update, delete, or list webhooks on a NocoDB table. Needs action.
  • link_records: Manage linked records between tables. Needs action, tableId, linkFieldId and recordId.
  • update_base: Update a base title, description, color, or metadata.
  • create_base: Create a NocoDB base.
  • update_table: Update a NocoDB table title or metadata.

Destructive tools (3)

  • delete_records: Delete one or more records from a NocoDB table by their row IDs. Needs tableId and recordIds.
  • delete_base: Delete a NocoDB base and its resources.
  • delete_table: Delete a table and its records.

Triggers

NocoDB has 1 trigger, which fire on events in NocoDB:

  • record_event: Triggers when a record is inserted, updated, or deleted in a NocoDB table via webhook.

Next steps