Set up MaintainX in Metorial for Claude, ChatGPT and Cursor
Share MaintainX with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 28 tools (15 read-only).
To give your team MaintainX in Claude, ChatGPT, Cursor and other AI clients, an admin shares the MaintainX integration in a Metorial portal, and each person connects with an API key. Agents can create, update, and track work orders and work requests. The integration has 28 tools, 15 read-only, 9 write and 4 destructive, plus 4 triggers.
What you'll learn
- How an admin shares MaintainX in a portal and how each person connects
- What MaintainX asks for when you connect, and where to find it
- How to keep the 15 read-only tools and reject the other 13
Before you start
- A portal with at least one access group
- An API key from MaintainX 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 |
API Key
To connect, a person enters:
token: MaintainX API Key. Generate one from Settings > Integrations > New Key in your MaintainX account.
Setup settings
Setup also asks for:
organizationId(optional): MaintainX Organization ID. Required when using a Multi-Organization Token.
Admin: share MaintainX 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 MaintainX. 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 MaintainX.
Choose who gets it
Add the access groups that should see MaintainX. 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 MaintainX integration. Once it exists, check which groups have it:
Employee: connect MaintainX
In the portal
Open MaintainX in the catalog
Sign in to your portal and open MaintainX. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API key (token).
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 MaintainX 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 15 read-only tools, such as get_asset and list_parts, and lose the 9 write tools, such as create_part or create_asset, and the 4 destructive tools, such as delete_asset or update_asset.
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 28 tools, minus any you rejected. list_parts takes no input.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (15)
list_vendors: Lists vendors in MaintainX.list_purchase_orders: Lists purchase orders from MaintainX.list_work_orders: Lists work orders from MaintainX with optional filtering by status, priority, and date ranges.list_meters: Lists meters from MaintainX, optionally filtered by asset.list_assets: Lists assets from MaintainX with optional filtering by location.get_asset: Retrieves detailed information about a specific asset by ID, including its name, description, serial number, manufacturer, model, location, status, and custom fields. NeedsassetId.list_locations: Lists all locations configured in MaintainX.list_users: Lists users in the MaintainX organization.get_work_order: Retrieves detailed information about a specific work order by its ID, including title, description, status, priority, assignees, asset, location, and dates. NeedsworkOrderId.list_categories: Lists work order categories from MaintainX.list_parts: Lists parts from MaintainX inventory.list_teams: Lists teams in the MaintainX organization.list_conversations: Lists MaintainX conversations and their IDs for send_message.list_organizations: Lists organizations accessible to the MaintainX API key.list_work_requests: Lists MaintainX work requests with optional title, status, and priority filters.
Write tools (9)
create_asset: Creates a new asset in MaintainX. Needsname.create_vendor: Creates a new vendor in MaintainX. Needsname.create_part: Creates a new part in MaintainX inventory. Needsname.create_work_order: Creates a new work order in MaintainX. Needstitle.send_message: Sends a message to a MaintainX conversation. NeedsconversationIdandcontent.create_location: Creates a new location in MaintainX. Needsname.create_purchase_order: Creates a new purchase order in MaintainX.create_work_request: Creates a new work request in MaintainX. Needstitle.create_meter_reading: Records a new meter reading in MaintainX. NeedsmeterIdandvalue.
Destructive tools (4)
update_asset: Updates an existing asset in MaintainX. NeedsassetId.update_work_order: Updates an existing work order in MaintainX. NeedsworkOrderId.delete_asset: Permanently deletes an asset from MaintainX. NeedsassetId.set_asset_status: Sets the operational status of an asset in MaintainX (Online, Offline, or Ignore). NeedsassetIdandstatus.
Triggers
MaintainX has 4 triggers, which fire on events in MaintainX:
inbound_webhooknew_work_request: Triggers when a new work request is created in MaintainX.new_work_order: Triggers when a new work order is created in MaintainX.work_order_status_changed: Triggers when a work order status is updated in MaintainX (e.g., moved to IN_PROGRESS, ON_HOLD, or DONE).
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use MaintainX there
- Tool permissions: tool filters and what employees see
- MaintainX on metorial.com: the integration overview