Set up Ragic in Metorial for Claude, ChatGPT and Cursor
Share Ragic with your team in Claude, ChatGPT and Cursor through Metorial: API key or email & password sign-in, 13 tools (6 read-only).
To give your team Ragic in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Ragic integration in a Metorial portal, and each person connects with an API key. Agents can manage records in Ragic database sheets with filters, full-text search, sorting, and pagination. The integration has 13 tools, 6 read-only, 6 write and 1 destructive, plus 1 trigger.
What you'll learn
- How an admin shares Ragic in a portal and how each person connects
- What Ragic asks for when you connect, and where to find it
- How to keep the 6 read-only tools and reject the other 7
Before you start
- A portal with at least one access group
- An API key from Ragic for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| API Key (default) | API token | apiKey |
| Email & Password | Custom credentials | serverDomain, email and password |
The portal and metorial setup use API Key unless someone picks another method.
API Key
To connect, a person enters:
apiKey: Ragic API key. Generate it from Personal Settings > Profile in your Ragic account.
Email & Password
To connect, a person enters these values:
serverDomain: Ragic server domain (e.g., www.ragic.com, na3.ragic.com)email: Your Ragic account email addresspassword: Your Ragic account password
Setup settings
Whichever method you pick, setup also asks for:
serverDomain(optional): Ragic server domain (e.g., www.ragic.com, na3.ragic.com, ap5.ragic.com, eu2.ragic.com). Must match the server where your account resides.accountName: Your Ragic account/database name as it appears in the URL path (e.g., "demo" in https://www.ragic.com/demo/sales/1)
Admin: share Ragic 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 Ragic. 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 Ragic.
Choose who gets it
Add the access groups that should see Ragic. 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 Ragic integration. Once it exists, check which groups have it:
Employee: connect Ragic
In the portal
Open Ragic in the catalog
Sign in to your portal and open Ragic. 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
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 Ragic 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 6 read-only tools, such as get_record and get_file_url, and lose the 6 write tools, such as add_comment or lock_record, and the destructive tool delete_record.
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 13 tools, minus any you rejected. get_file_url needs fileReference, so replace the placeholders.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (6)
list_action_buttons: Retrieve all available action buttons configured on a Ragic sheet. NeedstabFolderandsheetIndex.get_file_url: Prepare a downloadable file or image from a Ragic record and return its provider URL. NeedsfileReference.export_record: Export a single record from a Ragic sheet in various formats: HTML, PDF, Excel, Mail Merge, or Custom Print Report. NeedstabFolder,sheetIndex,recordIdandformat.get_record: Retrieve a single record by its ID from a Ragic sheet. NeedstabFolder,sheetIndexandrecordId.list_records: Query and retrieve records from a Ragic sheet with optional filtering, search, sorting, and pagination. NeedstabFolderandsheetIndex.get_sheet_schema: Discover field IDs, types, and subtables before reading or writing a Ragic sheet.
Write tools (6)
add_comment: Add a comment to a specific record in a Ragic sheet. NeedstabFolder,sheetIndex,recordIdandcomment.lock_record: Lock or unlock a record in a Ragic sheet. NeedstabFolder,sheetIndex,recordIdandlock.create_record: Create a new record in a Ragic sheet. NeedstabFolder,sheetIndexandfields.execute_action_button: Trigger a pre-configured action button on a specific record in a Ragic sheet. NeedstabFolder,sheetIndex,recordIdandbuttonId.update_record: Update an existing record in a Ragic sheet. NeedstabFolder,sheetIndex,recordIdandfields.upload_file: Upload a file or image from an accessible HTTPS URL into a Ragic file/image field.
Destructive tools (1)
delete_record: Permanently delete a record from a Ragic sheet by its record ID. NeedstabFolder,sheetIndexandrecordId.
Triggers
Ragic has 1 trigger, which fire on events in Ragic:
record_changes: Fires when records are created, updated, or deleted in a Ragic sheet.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Ragic there
- Tool permissions: tool filters and what employees see
- Ragic on metorial.com: the integration overview