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
- A portal with at least one access group
- An API token from NocoDB for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Token | API token | token |
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:
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
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.
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 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. NeedstableIdandrecordId.list_records: Query and list records from a NocoDB table with optional filtering, sorting, field selection, and pagination. NeedstableId.get_table: Retrieve detailed metadata for a specific table, including its full schema with all fields/columns, their types, and configuration. NeedstableId.list_tables: List all tables within a NocoDB base. NeedsbaseId.list_bases: List bases accessible in the NocoDB instance.list_views: List all views for a NocoDB table. NeedstableId.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. NeedstableIdandrecords.create_table: Create a new table in a NocoDB base. NeedsbaseIdandtableName.update_records: Update one or more existing records in a NocoDB table. NeedstableIdandrecords.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. Needsaction.manage_webhook: Create, update, delete, or list webhooks on a NocoDB table. Needsaction.link_records: Manage linked records between tables. Needsaction,tableId,linkFieldIdandrecordId.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. NeedstableIdandrecordIds.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
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use NocoDB there
- Tool permissions: tool filters and what employees see
- NocoDB on metorial.com: the integration overview