Set up OneDesk in Metorial for Claude, ChatGPT and Cursor
Share OneDesk with your team in Claude, ChatGPT and Cursor through Metorial: email & password or API key sign-in, 12 tools (7 read-only).
To give your team OneDesk in Claude, ChatGPT, Cursor and other AI clients, an admin shares the OneDesk integration in a Metorial portal, and each person connects with an email & password. Agents can create, update, and search for tickets, tasks, and other work items with custom fields, priorities, and assignments. The integration has 12 tools, 7 read-only, 4 write and 1 destructive, plus 4 triggers.
What you'll learn
- How an admin shares OneDesk in a portal and how each person connects
- What OneDesk asks for when you connect, and where to find it
- How to keep the 7 read-only tools and reject the other 5
Before you start
- A portal with at least one access group
- An email & password from OneDesk 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 |
|---|---|---|
| Email & Password (Legacy) (default) | Custom credentials | email and password |
| API Key | API token | apiKey |
The portal and metorial setup use Email & Password (Legacy) unless someone picks another method.
Email & Password (Legacy)
To connect, a person enters these values:
email: Your OneDesk account email address.password: Your OneDesk account password.
API Key
To connect, a person enters:
apiKey: Your OneDesk Public API key. Generate one in Admin > Integrations > API.
Admin: share OneDesk 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 OneDesk. Under Auth Method, keep Email & Password (Legacy) or pick another. For how members connect, choose Each person connects so everyone enters their own email & password, or Shared connection to enter one email & password for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from OneDesk.
Choose who gets it
Add the access groups that should see OneDesk. 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 OneDesk integration. Once it exists, check which groups have it:
Employee: connect OneDesk
In the portal
Open OneDesk in the catalog
Sign in to your portal and open OneDesk. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your email & password (email and password).
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 Email & Password (Legacy). To connect with API Key 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 OneDesk 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 7 read-only tools, such as get_item and get_project, and lose the 4 write tools, such as create_item or create_user, and the destructive tool update_item.
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 12 tools, minus any you rejected. get_item takes no input.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (7)
search_items: Searches for work items (tickets, tasks, etc.) using filter criteria.get_organization: Retrieves organization profile and policy information from OneDesk.search_projects: Searches for projects using filter criteria.get_item: Retrieves a single work item by its internal ID or external ID.get_project: Retrieve project details by external ID.search_teams: Discover teams and their external IDs with detailed results.search_users: Discover users and their external IDs with detailed results.
Write tools (4)
create_user: Creates a new internal user in OneDesk. Needsemail.create_item: Creates a new work item (ticket, task, or other configurable item type) in OneDesk. Needsname.create_project: Creates a new project in OneDesk. Needsname.create_message: Creates a message or comment on a conversation in OneDesk. NeedsconversationExternalIdandcontent.
Destructive tools (1)
update_item: Updates an existing work item in OneDesk by its numeric internal ID or external ID. NeedsitemId.
Triggers
OneDesk has 4 triggers, which fire on events in OneDesk:
user_created: Triggers when a new user or customer is created in OneDesk.inbound_webhookitem_events: Triggers when a work item (ticket, task, etc.) is created or updated in OneDesk.project_events: Triggers when a project is created or updated in OneDesk.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use OneDesk there
- Tool permissions: tool filters and what employees see
- OneDesk on metorial.com: the integration overview