MetorialDocs

Set up Botpress in Metorial for Claude, ChatGPT and Cursor

Share Botpress with your team in Claude, ChatGPT and Cursor through Metorial: personal access token sign-in, 18 tools (8 read-only).

To give your team Botpress in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Botpress integration in a Metorial portal, and each person connects with a personal access token. Agents can manage Botpress bots, conversations, participants, messages, users, structured tables, and knowledge files. The integration has 18 tools, 8 read-only, 3 write and 7 destructive, plus 3 triggers.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
Personal Access TokenAPI tokentoken

Personal Access Token

To connect, a person enters:

  • token: Personal Access Token from Botpress Profile Settings

Setup settings

Setup also asks for:

  • workspaceId (optional): Default workspace ID for admin operations
  • botId (optional): Default bot ID for runtime, tables, and files operations

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

Limit the tools

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

Choose who gets it

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

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

Employee: connect Botpress

In the portal

Open Botpress in the catalog

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

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your personal access 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 botpress
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Botpress 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 botpress
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 8 read-only tools, such as list_bots and get_account, and lose the 3 write tools, such as create_event or manage_state, and the 7 destructive tools, such as manage_bot or manage_user.

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

metorial tools lists the 18 tools, minus any you rejected. list_bots takes no input. It lists all bots in a Botpress workspace.

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

Tools

Read-only tools (8)

  • list_bots: List all bots in a Botpress workspace.
  • list_bot_issues: List or retrieve issues reported for a bot.
  • list_messages: List messages in a bot's conversations.
  • get_bot_analytics: Retrieve analytics data for a bot including conversation counts, message volumes, and user engagement metrics.
  • list_integrations: List available integrations in a Botpress workspace.
  • get_bot_logs: Retrieve activity logs for a bot.
  • list_workspaces: Discover workspaces accessible to the connected account.
  • get_account: Get the account identity associated with the connected Personal Access Token.

Write tools (3)

  • manage_state: Get or set persistent state for a bot. Needs action, stateType, resourceId and stateName.
  • send_message: Send a message to a conversation via the Runtime API. Needs conversationId, userId, messageType and payload.
  • create_event: Send an event to a bot for asynchronous processing. Needs eventType and payload.

Destructive tools (7)

  • manage_files: List, retrieve, download, delete, or search files in a bot's file storage. Needs action.
  • manage_table_rows: Create, read, update, delete, upsert, or search rows in a Botpress table. Needs action and tableId.
  • manage_bot: Create, retrieve, update, or delete a Botpress bot. Needs action.
  • manage_table: Create, retrieve, update, delete, or list tables in a bot's structured data store. Needs action.
  • manage_user: Create, retrieve, update, delete, or list bot users via the Runtime API. Needs action.
  • manage_conversation: Create, get, update, delete, or list bot conversations and manage their participants. Needs action.
  • manage_message: Get an existing message or delete it.

Triggers

Botpress has 3 triggers, which fire on events in Botpress:

  • bot_event: Triggers when new events are received by a bot, including messages, custom events, and system events.
  • new_message: Triggers when new messages are sent or received in bot conversations.
  • inbound_webhook

Next steps