MetorialDocs

Set up Formbricks in Metorial for Claude, ChatGPT and Cursor

Share Formbricks with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 20 tools (10 read-only).

To give your team Formbricks in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Formbricks integration in a Metorial portal, and each person connects with an API key. Agents can manage draft or published surveys and responses through the Formbricks Management API v1. The integration has 20 tools, 10 read-only, 6 write and 4 destructive, plus 1 trigger.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokenapiKey

API Key

To connect, a person enters:

  • apiKey: Your Formbricks Management API key. Generate one in Settings > API Keys in the Formbricks app.

Setup settings

Setup also asks for:

  • baseUrl (optional): Base URL of the Formbricks instance. Use the default for cloud-hosted, or provide your self-hosted domain.

Admin: share Formbricks 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 Formbricks. 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 Formbricks.

Choose who gets it

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

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

Employee: connect Formbricks

In the portal

Open Formbricks in the catalog

Sign in to your portal and open Formbricks. 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 formbricks
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Formbricks 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 formbricks
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 10 read-only tools, such as get_survey and get_contact, and lose the 6 write tools, such as create_survey or update_survey, and the 4 destructive tools, such as delete_survey or delete_response.

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

metorial tools lists the 20 tools, minus any you rejected. get_account_info takes no input. It retrieves information about the authenticated single-workspace API key, including the project details and environment type.

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

Tools

Read-only tools (10)

  • list_action_classes: List all action classes in the environment.
  • list_attribute_classes: DEPRECATED — use list_contact_attribute_keys for native discovery.
  • list_responses: List all responses for a given survey. Needs surveyId.
  • get_account_info: Retrieve information about the authenticated single-workspace API key, including the project details and environment type.
  • get_survey: Retrieve full details of a specific survey by ID. Needs surveyId.
  • list_surveys: List all surveys in your Formbricks environment.
  • list_contacts: List contacts (people) who have interacted with your surveys.
  • list_contact_attribute_keys: Discover current native contact attribute keys and their workspace, uniqueness, type, and timestamps.
  • get_response: Read one response by its exact ID, including its survey, answers, completion state, and timestamps.
  • get_contact: Read one contact by its exact ID.

Write tools (6)

  • create_attribute_class: DEPRECATED — the historical route is absent from the current v1 API. Needs environmentId, name and type.
  • update_survey: Update an existing survey's properties. Needs surveyId.
  • create_survey: Create a new survey in Formbricks. Needs environmentId, name, type and questions.
  • create_action_class: Create a new action class to define a user behavior that can trigger surveys. Needs environmentId, name and type.
  • update_response: Answer keys merge with existing answers. Needs responseId.
  • create_response: Create a new response for a survey. Needs surveyId and answers.

Destructive tools (4)

  • delete_survey: Permanently delete a survey and all its associated data. Needs surveyId.
  • delete_response: Permanently delete a survey response. Needs responseId.
  • delete_action_class: Delete an action class. Needs actionClassId.
  • delete_attribute_class: DEPRECATED — the historical route is absent from the current v1 API. Needs attributeClassId.

Triggers

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

  • response_event: Triggers when a survey response is created, updated, or completed.

Next steps