# How to connect Maintainx to Grok Bot

```json
{
  "title": "How to connect Maintainx to Grok Bot",
  "toolkit": "Maintainx",
  "toolkit_slug": "maintainx",
  "framework": "Grok Bot",
  "framework_slug": "grok-bot",
  "url": "https://composio.dev/toolkits/maintainx/framework/grok-bot",
  "markdown_url": "https://composio.dev/toolkits/maintainx/framework/grok-bot.md",
  "updated_at": "2026-10-31T06:00:41.190Z"
}
```

## Introduction

Grok is xAI's assistant, and its bot builder lets you create a personal agent that holds context, runs skills, and connects to the apps you already use through plugins.
This guide explains how to connect Maintainx to a Grok bot using Composio Connect, which handles OAuth, token refresh, and reliability so you do not have to. You add Composio as a plugin, authenticate once, then ask your bot to work with Maintainx in plain language.

## Also integrate Maintainx with

- [Claude Code](https://composio.dev/toolkits/maintainx/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/maintainx/framework/claude-cowork)
- [OpenAI Agents SDK](https://composio.dev/toolkits/maintainx/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/maintainx/framework/claude-agents-sdk)
- [Codex](https://composio.dev/toolkits/maintainx/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/maintainx/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/maintainx/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/maintainx/framework/atomic-agent)
- [Google ADK](https://composio.dev/toolkits/maintainx/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/maintainx/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/maintainx/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/maintainx/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/maintainx/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/maintainx/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/maintainx/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/maintainx/framework/autogen)

## TL;DR

Composio exposes 1,500+ apps to your Grok bot through a single connection, so you get:
- Connect to 1,500+ apps with on-demand tool loading, so you do not fill your context window with unnecessary tool definitions.
- Use programmatic tool calling through a remote workbench, letting the model write its own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
- Handle large tool responses outside the model context to keep conversations lean.

## Connect Maintainx to Grok Bot

### Connecting Maintainx to Grok Bot
Once Grok Bot is set up, you connect Maintainx entirely from its interface, and the whole flow takes under a minute.
### Set up Grok Bot
Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from [x.ai/bot](https://x.ai/bot) and sign in. An iPhone companion app is also available, and your bots sync across devices.
Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.
### Connect Maintainx
### 1. Add the Composio plugin
Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.
[Add to Grok Bot](https://x.ai/bot/plugin/32661537)
Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.
### 2. Authenticate
Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.
Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.
### 3. Connect your Maintainx account
Back in the chat, ask your bot to connect to Maintainx or give it any Maintainx task.
For example, ask it to:
- "Create a new urgent work order for HVAC"
- "List all open work orders at warehouse"
- "Add comment to work order 12345"
It will prompt you to authenticate and authorize access.
That's it. Composio's tools are now available in your Grok bot, and your Maintainx account is ready to use.

## What is Grok Bot?

Grok is xAI's assistant, available as a chat interface and a bot builder for creating personal agents that run skills and connect to external apps.
With Composio Connect, your Grok bot can securely access apps like Maintainx through MCP without you sharing account credentials directly with the agent.

## What is the Maintainx MCP server, and what's possible with it?

The Maintainx MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Maintainx account. It provides structured and secure access to your maintenance operations, so your agent can create work orders, update existing tasks, manage assets, and keep your teams aligned—automatically and on your behalf.
- Work order creation and management: Instantly have your agent create new work orders, add detailed descriptions, set priorities, and assign them to the right teams or users.
- Automated work order updates and comments: Let your agent update existing work orders or add comments for documentation and real-time communication between team members.
- Asset and location tracking: Effortlessly list and retrieve all assets and locations across your organization, helping you keep maintenance data organized and accessible.
- Category and team organization: Enable your agent to fetch and manage categories or teams, ensuring work orders and assets are classified and assigned correctly.
- Smart work request portals: Have your agent generate custom work request portals so stakeholders can submit maintenance requests easily and securely.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `MAINTAINX_CREATE_CATEGORY` | Create Category | Tool to create a new category in MaintainX for organizing work orders, assets, and other items. Use when you need to add a new category to the organization's classification system. |
| `MAINTAINX_CREATE_LOCATION` | Create Location | Tool to create a new location in MaintainX. Use when you need to add a new physical location where assets are stored or work is performed. Locations can be organized hierarchically using the parentId parameter. |
| `MAINTAINX_CREATE_PROCEDURE_TEMPLATE` | Create Procedure Template | Tool to create a new procedure template in MaintainX with checklist items for work orders. Use when you need to create a standardized procedure that can be attached to work orders. The template can include various field types like text, checkboxes, signatures, and multiple choice options. |
| `MAINTAINX_CREATE_WORK_ORDER` | Create Work Order | This tool creates a new work order in MaintainX. It uses the POST /api/v1/workorders endpoint. The tool requires a 'title' for the work order and offers several optional parameters including description, priority, dueDate, startDate, userIds, teamIds, procedureTemplateId, locationId, assetId, and categories. |
| `MAINTAINX_CREATE_WORK_ORDER_COMMENT` | Create Work Order Comment | This tool creates a new comment on an existing work order in MaintainX. It allows users to add comments for documentation, updates, or communication purposes within a specific work order. It requires a workOrderId and the text content of the comment to create a new comment on the work order, providing capabilities to update maintenance work order records. |
| `MAINTAINX_CREATE_WORK_REQUEST` | Create Work Request | Tool to create a new work request in MaintainX. Use when you need to submit a request for work that can later be converted to a work order. Work requests are typically used to initiate maintenance or service requests that require approval before becoming work orders. |
| `MAINTAINX_CREATE_WORK_REQUEST_PORTAL` | Create Work Request Portal | Creates a new work request portal in MaintainX. A work request portal allows users to submit work requests through a dedicated URL. The portal can be customized with a title, welcome text, and description placeholder. It can be associated with a specific location and asset, and can be configured to require email contact information. |
| `MAINTAINX_DELETE_ASSETS` | Delete Assets | Tool to delete an asset from MaintainX by its ID. Use when you need to permanently remove an asset from the system. Returns a success confirmation upon successful deletion (HTTP 204). |
| `MAINTAINX_DELETE_CATEGORY` | Delete Category | Tool to delete a category in MaintainX. Use when you need to remove a category from the system. Returns success status upon deletion (HTTP 204). |
| `MAINTAINX_FIND_ENTITY` | Find Entity | A tool to search and find specific entities within MaintainX by specified fields. This tool allows users to search for different types of entities including work orders, users, and locations. |
| `MAINTAINX_GET_CATEGORY` | Get Category | Tool to retrieve detailed information about a specific category by its ID. Use when you need to get the label, description, update time, or work order count for a category. |
| `MAINTAINX_GET_LOCATION` | Get Location | Tool to retrieve detailed information about a specific location by its ID. Use when you need to get comprehensive details including address, attachments, child locations, and custom fields for a location. |
| `MAINTAINX_GET_USER` | Get User | Tool to retrieve detailed information about a specific user by their ID. Use when you need to get user data including name, email, role, hourly rate, and custom fields. |
| `MAINTAINX_GET_VENDOR` | Get Vendor | Tool to retrieve detailed information about a specific vendor by its ID. Use when you need to get comprehensive details about a vendor including contact information, attachments, and custom fields. |
| `MAINTAINX_GET_WORKORDERS_COSTS` | Get Work Order Costs | Tool to retrieve costs information for a specific work order by its ID. Use when you need to get detailed cost breakdown including total costs and individual cost rows for a work order. |
| `MAINTAINX_LIST_ASSET_CRITICALITIES` | List Asset Criticalities | Tool to retrieve a list of asset criticalities from MaintainX. Use when you need to get all available asset criticality levels in the organization, optionally filtered by label or level. |
| `MAINTAINX_LIST_ASSETS` | List Assets | This tool allows users to retrieve a list of all assets in their organization. |
| `MAINTAINX_LIST_CATEGORIES` | List Categories | This tool retrieves a list of all categories in your MaintainX organization. Categories are used to organize and classify work orders, assets, and other items in the system. It supports listing the categories with pagination and provides details such as category_id, name, description, and timestamps for creation and update. |
| `MAINTAINX_LIST_LOCATIONS` | List Locations | This tool retrieves a list of all available locations in the organization's MaintainX account. The locations can be physical places where assets are located, work is performed, or maintenance is needed. |
| `MAINTAINX_LIST_METERS` | List Meters | Tool to list all meters in your organization. Use this to retrieve meter information including measurement types, units, and readings. |
| `MAINTAINX_LIST_PARTS` | List Parts | Tool to list parts/inventory items with pagination and filtering. Use when you need to retrieve available parts from the organization's inventory. |
| `MAINTAINX_LIST_PROCEDURE_TEMPLATES` | List Procedure Templates | Tool to list procedure templates from MaintainX. Use when you need to retrieve available procedure templates that can be used in work orders. |
| `MAINTAINX_LIST_TEAMS` | List Teams | This tool retrieves a list of all teams in your MaintainX organization. |
| `MAINTAINX_LIST_WORK_ORDERS` | List Work Orders | Action to list work orders from MaintainX. |
| `MAINTAINX_LIST_WORK_REQUEST_PORTALS` | List Work Request Portals | Tool to list all work request portals in your MaintainX organization. Use when you need to retrieve available work request portals for managing external work requests. |
| `MAINTAINX_LIST_WORK_REQUESTS` | List Work Requests | Tool to retrieve a list of work requests from MaintainX. Use when you need to view all work requests. Supports pagination for large result sets using cursor and limit parameters. |
| `MAINTAINX_UPDATE_VENDORS_ATTACHMENT` | Update Vendor Attachment | Tool to update a vendor attachment in MaintainX. Use when you need to upload or replace a file attachment for a specific vendor. The file is uploaded as binary data. |
| `MAINTAINX_UPDATE_WORK_ORDER` | Update Work Order | This tool allows users to update an existing work order in MaintainX by modifying specific attributes without affecting other unchanged fields. It requires the workorder_id and at least one of the optional parameters (title, description, or priority) to perform the update. |
| `MAINTAINX_UPDATE_WORK_ORDER_STATUS` | Update Work Order Status | This tool allows users to update the status of a specific work order in MaintainX. It is focused specifically on status updates, making it more streamlined than the comprehensive 'Update Work Order' action which allows updating multiple fields. |
| `MAINTAINX_UPDATE_WORK_REQUEST_PORTAL` | Update Work Request Portal | Updates an existing work request portal in MaintainX. Tool to update work request portal information such as title, welcome text, contact information, and notification settings. Use when modifying an existing portal's configuration. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, your Grok bot can access the Maintainx MCP server through Composio to run the actions you authorize, using plain language in the chat.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Maintainx is connected, extend your setup by connecting the other apps you already use every day, so your Grok bot can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single connection, your bot can coordinate multiple tools safely and reliably in one conversation.

## How to build Maintainx MCP Agent with another framework

- [Claude Code](https://composio.dev/toolkits/maintainx/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/maintainx/framework/claude-cowork)
- [OpenAI Agents SDK](https://composio.dev/toolkits/maintainx/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/maintainx/framework/claude-agents-sdk)
- [Codex](https://composio.dev/toolkits/maintainx/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/maintainx/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/maintainx/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/maintainx/framework/atomic-agent)
- [Google ADK](https://composio.dev/toolkits/maintainx/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/maintainx/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/maintainx/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/maintainx/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/maintainx/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/maintainx/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/maintainx/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/maintainx/framework/autogen)

## Related Toolkits

- [0CodeKit](https://composio.dev/toolkits/0codekit) - 0CodeKit is a utility API platform for AI, document, image, and data workflows. Use it to convert, validate, generate, store, and automate data without custom backend code.
- [Airtop](https://composio.dev/toolkits/airtop) - Airtop is a cloud browser platform for AI-powered web automation. Use it to navigate sites, extract data, and run reusable browser workflows.
- [Apify MCP](https://composio.dev/toolkits/apify_mcp) - Apify MCP is the official MCP server for Apify's web scraping and browser automation platform. Use it to run actors, collect structured web data, and automate crawling workflows.
- [Apilio](https://composio.dev/toolkits/apilio) - Apilio is a home automation platform that lets you connect and control smart devices from different brands. It helps you build flexible automations with complex conditions, schedules, and integrations.
- [Basin](https://composio.dev/toolkits/basin) - Basin is a no-code form backend for quickly setting up reliable contact forms. It lets you collect and manage form submissions without writing any server-side code.
- [Bika.ai](https://composio.dev/toolkits/bika) - Bika.ai is an AI automation database platform for managing spaces, teams, records, automations, and outgoing webhooks. It helps teams organize structured data and automate database-driven workflows in one place.
- [Botster](https://composio.dev/toolkits/botster) - Botster is a web automation service for running configurable data collection bots. Use it to collect structured web data without building and maintaining scrapers yourself.
- [Bouncer](https://composio.dev/toolkits/bouncer) - Bouncer is an email validation platform that verifies the authenticity of email addresses in real-time and batch. It helps boost deliverability and reduce bounce rates for your communications.
- [BrowserAct](https://composio.dev/toolkits/browseract) - BrowserAct is a hosted browser-automation service for running web workflows. Use it to execute repeatable browser tasks with templates, proxies, and APIs.
- [Celigo](https://composio.dev/toolkits/celigo) - Celigo is an integration platform as a service for connecting apps, data, and business workflows. It helps teams automate cross-system processes without building every integration from scratch.
- [CheckFlow](https://composio.dev/toolkits/checkflow) - CheckFlow is a workflow and checklist platform for repeatable processes, tasks, templates, teams, data sets, and automation. Use it to standardize operations, track process execution, and keep teams aligned.
- [Conveyor](https://composio.dev/toolkits/conveyor) - Conveyor is a platform that automates security reviews with a Trust Center and AI-driven questionnaire automation. It streamlines compliance and vendor security processes for faster, hassle-free reviews.
- [CrewAI](https://composio.dev/toolkits/crew_ai) - CrewAI is a platform for running deployed automations and managing AMP control-plane resources. Use it to automate workflows and centrally control SaaS automation resources.
- [Cronfree Time Scheduler](https://composio.dev/toolkits/cronfree_time_scheduler) - Cronfree Time Scheduler is an API-based scheduler for recurring webhook calls. Use it to create and remove timezone-aware schedules without running cron.
- [Crowdin](https://composio.dev/toolkits/crowdin) - Crowdin is a localization management platform that streamlines translation workflows and collaboration. It helps teams centralize multilingual content, boost productivity, and automate translation processes.
- [Databox](https://composio.dev/toolkits/databox) - Databox is a business analytics platform that connects your data from any tool and device. It helps you track KPIs, build dashboards, and discover actionable insights.
- [Detrack](https://composio.dev/toolkits/detrack) - Detrack is a delivery management platform for real-time tracking and proof of delivery. It helps businesses automate notifications and keep customers updated every step of the way.
- [Dify](https://composio.dev/toolkits/dify) - Dify is a platform for running and managing published workflow apps via a Service API. Use it to execute workflows and inspect configuration and run history quickly.
- [Digital Humani](https://composio.dev/toolkits/digital_humani) - Digital Humani is a reforestation API for browsing planting projects, submitting tree requests, and tracking planted trees. It helps teams connect climate action directly to products, campaigns, and customer experiences.
- [Dnsfilter](https://composio.dev/toolkits/dnsfilter) - Dnsfilter is a cloud-based DNS security and content filtering solution. It helps organizations block online threats and manage safe internet access with ease.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Maintainx MCP?

With a standalone Maintainx MCP server, the agents and LLMs can only access a fixed set of Maintainx tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Maintainx and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Grok Bot?

Yes, you can. Grok Bot fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Maintainx tools.

### Can I manage the permissions and scopes for Maintainx while using Tool Router?

Yes, absolutely. You can configure which Maintainx scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Maintainx data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
