Set up Gleap in Metorial for Claude, ChatGPT and Cursor
Share Gleap with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 22 tools (11 read-only).
To give your team Gleap in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Gleap integration in a Metorial portal, and each person connects with an API key. Agents can manage customer feedback, bug reports, and support tickets. The integration has 22 tools, 11 read-only, 5 write and 6 destructive, plus 2 triggers.
What you'll learn
- How an admin shares Gleap in a portal and how each person connects
- What Gleap asks for when you connect, and where to find it
- How to keep the 11 read-only tools and reject the other 11
Before you start
- A portal with at least one access group
- An API key from Gleap 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 | token and projectId |
API Key
To connect, a person enters these values:
token: API key from Gleap dashboard (Project > Settings > Security)projectId: Project ID from Gleap dashboard (Project > Settings > Security)
Admin: share Gleap 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 Gleap. 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 Gleap.
Choose who gets it
Add the access groups that should see Gleap. 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 Gleap integration. Once it exists, check which groups have it:
Employee: connect Gleap
In the portal
Open Gleap in the catalog
Sign in to your portal and open Gleap. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API key (token and projectId).
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 Gleap 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 11 read-only tools, such as get_ticket and get_article, and lose the 5 write tools, such as send_message or create_ticket, and the 6 destructive tools, such as manage_team or delete_ticket.
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 22 tools, minus any you rejected. list_collections takes no input. It retrieves all help center collections (categories) for the project.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (11)
list_collections: Retrieve all help center collections (categories) for the project.list_articles: Retrieve all articles within a help center collection, or search articles across all collections by keyword.get_messages: Retrieve messages and comments for a specific ticket. NeedsticketId.get_session: Retrieve a session (contact/user) by session ID or by user ID.list_sessions: Retrieve sessions (contacts/users) from Gleap.get_ticket: Retrieve a single support ticket by its ID, including all metadata, status, priority, assignment, and content. NeedsticketId.list_tickets: Query and retrieve support tickets from Gleap.list_engagements: List engagement campaigns of a specific type. NeedsengagementType.list_project_users: List teammates who can access the connected project, including project and organization members.get_current_user: Retrieve the authenticated Gleap teammate or service account identity.get_article: Retrieve a help center article and its stored content.
Write tools (5)
send_message: Add a message or comment to a ticket. NeedsticketIdandtext.create_session: Create a new session (contact/user) in Gleap.update_session: Update a session (contact/user) in Gleap. NeedssessionId.create_ticket: Create a new support ticket in Gleap.update_ticket: Update an existing support ticket. NeedsticketId.
Destructive tools (6)
manage_engagement: Create, update, or delete engagement campaigns in Gleap. NeedsactionandengagementType.manage_collection: Create, update, or delete a help center collection (category). Needsaction.manage_team: Create, update, or delete teams within a project. Needsaction.manage_article: Create, update, or delete a help center article within a collection. NeedsactionandcollectionId.manage_ai_content: Create, update, retrieve, or delete AI content that powers Gleap's AI assistant (Kai). Needsaction.delete_ticket: Permanently delete a support ticket by its ID. NeedsticketId.
Triggers
Gleap has 2 triggers, which fire on events in Gleap:
feedback_event: Triggers when feedback is created, updated, or deleted in Gleap.ticket_updated: [Polling fallback] Polls for recently updated tickets.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Gleap there
- Tool permissions: tool filters and what employees see
- Gleap on metorial.com: the integration overview