Set up Refiner in Metorial for Claude, ChatGPT and Cursor
Share Refiner with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 16 tools (9 read-only).
To give your team Refiner in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Refiner integration in a Metorial portal, and each person connects with an API key. Agents can manage customer feedback surveys for web and mobile applications. The integration has 16 tools, 9 read-only, 5 write and 2 destructive, plus 3 triggers.
What you'll learn
- How an admin shares Refiner in a portal and how each person connects
- What Refiner asks for when you connect, and where to find it
- How to keep the 9 read-only tools and reject the other 7
Before you start
- A portal with at least one access group
- An API key from Refiner 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 Key | API token | apiKey |
API Key
To connect, a person enters:
apiKey: Your Refiner API key. Found in the Refiner dashboard under Integrations > REST API.
Admin: share Refiner 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 Refiner. 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 Refiner.
Choose who gets it
Add the access groups that should see Refiner. 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 Refiner integration. Once it exists, check which groups have it:
Employee: connect Refiner
In the portal
Open Refiner in the catalog
Sign in to your portal and open Refiner. 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.
Add it to your AI client
metorial install adds your Refiner 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_account and get_contact, and lose the 5 write tools, such as track_event or tag_response, and the 2 destructive tools, such as manage_survey or delete_contact.
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 16 tools, minus any you rejected. get_account takes no input. It retrieves information about your Refiner account, including subscription plan details, usage metrics (tracked users, events, page views, survey responses), and configured environments.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (9)
list_contacts: List contacts in your Refiner project with optional filtering.get_contact: Retrieve detailed information about a specific contact, including their attributes, segments, and account association.get_reporting: Retrieve aggregated survey reporting data. NeedsreportType.list_segments: Retrieve all segments in your Refiner project, including both data-driven and manual segments.get_account: Retrieve information about your Refiner account, including subscription plan details, usage metrics (tracked users, events, page views, survey responses), and configured environments.list_responses: Retrieve survey responses with filtering by survey, segment, date range, and completion status.list_surveys: Retrieve surveys in your Refiner project.list_survey_history: Retrieve a paginated change log for a Refiner survey.get_current_project: Retrieve the UUID and name of the Refiner environment connected to the current API key.
Write tools (5)
identify_user: Create or update a user record in Refiner with custom traits (attributes).track_event: Track a user event in Refiner. NeedseventName.tag_response: Add tags to a survey response for categorization and analysis. NeedsresponseUuidandresponseTags.manage_segment: Add or remove a user from a manual segment in Refiner. NeedssegmentUuidandaction.store_response: Store a survey response for a user. NeedssurveyUuid.
Destructive tools (2)
delete_contact: Delete a contact from your Refiner project.manage_survey: Perform management actions on a survey: publish, unpublish, duplicate, or archive. NeedssurveyUuidandaction.
Triggers
Refiner has 3 triggers, which fire on events in Refiner:
tag_added: Triggers when a tag is added to a survey response.survey_interaction: Triggers when a user interacts with a survey — completes it, sees it, or dismisses it.segment_entry: Triggers when a user enters a segment.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Refiner there
- Tool permissions: tool filters and what employees see
- Refiner on metorial.com: the integration overview