# How to connect Kernel to Grok Bot

```json
{
  "title": "How to connect Kernel to Grok Bot",
  "toolkit": "Kernel",
  "toolkit_slug": "kernel",
  "framework": "Grok Bot",
  "framework_slug": "grok-bot",
  "url": "https://composio.dev/toolkits/kernel/framework/grok-bot",
  "markdown_url": "https://composio.dev/toolkits/kernel/framework/grok-bot.md",
  "updated_at": "2026-12-03T07:05:45.686Z"
}
```

## 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 Kernel 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 Kernel in plain language.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/kernel).

## Also integrate Kernel with

- [ChatGPT](https://composio.dev/toolkits/kernel/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/kernel/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/kernel/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/kernel/framework/atomic-agent)

## TL;DR

Composio exposes 2,000+ apps to your Grok bot through a single connection, so you get:
- Connect to 2,000+ 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 Kernel to Grok Bot

### Connecting Kernel to Grok Bot
Once Grok Bot is set up, you connect Kernel 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 Kernel
### 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 Kernel account
Back in the chat, ask your bot to connect to Kernel or give it any Kernel task.
For example, ask it to:
- "Launch a cloud browser for checkout testing"
- "Run Playwright checks on a web app"
- "Review a browser session replay"
It will prompt you to authenticate and authorize access.
That's it. Composio's tools are now available in your Grok bot, and your Kernel 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 Kernel through MCP without you sharing account credentials directly with the agent.

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

The Kernel MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Kernel account. It provides structured and secure access to cloud browsers, persistent profiles, computer controls, Playwright execution, browser network requests, screenshots, and session replays, so your agent can create browser sessions, interact with websites, run Playwright workflows, preserve browser state, and record sessions on your behalf.
- Cloud browser control: Have your agent create, update, inspect, and delete browser sessions, then click, scroll, type text, press keys, move the mouse, and capture screenshots.
- Playwright browser automation: Direct your agent to run JavaScript or TypeScript with Playwright to navigate pages, interact with forms, submit actions, and automate browser workflows.
- Persistent browser profiles: Let the agent create, save, download, rename, list, and delete browser profiles so browser state can be reused across sessions.
- Authenticated browser requests: Instruct your agent to send read-only or state-changing HTTP requests through a browser while using its cookies, headers, TLS fingerprint, and proxy settings.
- Session recording and extensions: Have your agent start and stop browser replays, list and retrieve recordings, and upload unpacked Chromium extensions to a running browser.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `KERNEL_BATCH_COMPUTER_ACTIONS` | Batch Computer Actions | Execute 1-100 computer actions sequentially in a Kernel browser, stopping on the first error. Actions can click, type, press keys, and submit forms or cause other irreversible external effects. |
| `KERNEL_BROWSER_CURL` | Browser Curl | Send a read-only GET, HEAD, or OPTIONS request through a Kernel browser's network stack, inheriting its cookies, TLS fingerprint, proxy settings, and default headers. For POST, PUT, PATCH, or DELETE, use Browser HTTP Request. |
| `KERNEL_BROWSER_HTTP_REQUEST` | Browser HTTP Request | Send a state-changing POST, PUT, PATCH, or DELETE request through a Kernel browser's network stack, inheriting its cookies, TLS fingerprint, proxy settings, and default headers. The target may change external systems irreversibly. For GET, HEAD, or OPTIONS, use Browser Curl. |
| `KERNEL_CLICK` | Click | Click at browser viewport coordinates with an optional mouse button, click phase, modifiers, and repetition count. A click can submit forms, place orders, or cause other irreversible external effects. |
| `KERNEL_CREATE_BROWSER` | Create Browser | Create a Kernel browser session; defaults to a headless browser with a 60-second inactivity timeout. On Instant accounts timeout_seconds is required and charged up front (no refund on early delete), and each user may hold at most 3 active browsers so one user cannot take the shared account's concurrency slots. |
| `KERNEL_CREATE_PROFILE` | Create Profile | Create an empty persistent browser profile, optionally with a unique name, for reuse by later browser sessions. |
| `KERNEL_DELETE_BROWSER` | Delete Browser | Permanently end and delete a Kernel browser session by ID or name. |
| `KERNEL_DELETE_PLAYWRIGHT_EXECUTOR` | Delete Playwright Executor | Stop and permanently delete a named, non-default Playwright executor from a Kernel browser. Its running call fails, its name can be reused, and close_tab controls whether its tab is also closed. To restart the reserved default executor, use Restart Default Playwright Executor. |
| `KERNEL_DELETE_PROFILE` | Delete Profile | Permanently delete a browser profile by ID or name. |
| `KERNEL_DOWNLOAD_PROFILE` | Download Profile | Download a profile's stored browser state. Current profiles return the requested tar.zst or uncompressed tar format; legacy profiles may return JSON regardless of the requested format. The profile must have captured state from a browser session. |
| `KERNEL_DRAG_MOUSE` | Drag Mouse | Drag a mouse button through an ordered path of browser viewport coordinates, with optional timing, linear-step, and modifier controls. A drag can move items, submit controls, or cause other irreversible external effects. |
| `KERNEL_EXECUTE_PLAYWRIGHT` | Execute Playwright | Execute arbitrary TypeScript or JavaScript with Playwright access to the browser; the code may navigate, mutate pages, submit forms, or cause irreversible external effects. |
| `KERNEL_GET_BROWSER` | Get Browser | Get safe operational details for one browser session by ID or name, optionally including a deleted session. |
| `KERNEL_GET_MOUSE_POSITION` | Get Mouse Position | Get the current mouse cursor coordinates in a Kernel browser session. |
| `KERNEL_GET_PROFILE` | Get Profile | Get one browser profile by its ID or exact name. |
| `KERNEL_GET_REPLAY` | Get Replay | Download a completed browser replay as MP4. If the replay is still processing, the action asks the caller to retry later. |
| `KERNEL_LIST_BROWSERS` | List Browsers | List browser sessions, optionally filtered by lifecycle state, search text, tags, or region, one offset page at a time. |
| `KERNEL_LIST_PLAYWRIGHT_EXECUTORS` | List Playwright Executors | List the default and named Playwright executors for a Kernel browser, including whether each is busy and its owned tab when available. |
| `KERNEL_LIST_PROFILES` | List Profiles | List browser profiles, optionally filtered by substring or exact name, one offset page at a time. |
| `KERNEL_LIST_REPLAYS` | List Replays | List replay recordings for a headful browser session without returning signed viewer URLs. |
| `KERNEL_MOVE_MOUSE` | Move Mouse | Move the cursor to browser viewport coordinates, optionally using a timed human-like path and held modifier keys. |
| `KERNEL_PRESS_KEY` | Press Key | Press an ordered sequence of X11 keys or key chords in a browser, optionally holding modifiers or holding the sequence for a duration. Key presses may submit forms, activate controls, or trigger other irreversible external effects. |
| `KERNEL_READ_CLIPBOARD` | Read Clipboard | Read the current text from a Kernel browser session's clipboard. |
| `KERNEL_RENAME_PROFILE` | Rename Profile | Rename a Kernel browser profile by ID or exact name. Rename profiles only when they are not in use because sessions referencing the old name may fail to save their changes. |
| `KERNEL_RESTART_DEFAULT_PLAYWRIGHT_EXECUTOR` | Restart Default Playwright Executor | Restart a Kernel browser's reserved default Playwright executor. Its process is stopped and any running call fails irreversibly; queued and later calls run on the new process. This does not delete a named executor or close a tab. |
| `KERNEL_SAVE_BROWSER_PROFILE` | Save Browser Profile | Save a running browser's current state to exactly one destination profile ID or name, creating a named profile when needed and overwriting an existing destination. This restarts the browser, closes all active connections, reloads pages, and loses in-memory page state; reconnect after completion. It does not attach the profile or enable save_changes. |
| `KERNEL_SCROLL` | Scroll | Scroll horizontally or vertically at browser viewport coordinates, optionally while holding modifier keys. |
| `KERNEL_SET_CURSOR_VISIBILITY` | Set Cursor Visibility | Hide or show the cursor in a Kernel browser session. |
| `KERNEL_START_REPLAY` | Start Replay | Start recording a headful Kernel browser session and return its replay identifier and recording metadata without exposing its signed viewer URL. |
| `KERNEL_STOP_REPLAY` | Stop Replay | Stop an active replay recording for a Kernel browser identified by ID or name. |
| `KERNEL_TAKE_SCREENSHOT` | Take Screenshot | Capture the full browser viewport or a rectangular region as a PNG download. |
| `KERNEL_TYPE_TEXT` | Type Text | Type text into the currently focused browser element with an optional per-keystroke delay. |
| `KERNEL_UPDATE_BROWSER` | Update Browser | Update mutable settings on an existing Kernel browser session. |
| `KERNEL_UPLOAD_BROWSER_EXTENSIONS` | Upload Browser Extensions | Upload and activate one or more unpacked Chromium extension ZIP archives in an existing running browser. This ad-hoc operation does not add extensions to Kernel's reusable extension catalog. Chromium may restart, disrupting active browser connections. |
| `KERNEL_WRITE_CLIPBOARD` | Write Clipboard | Write text to the system clipboard of a Kernel browser session. |

## Supported Triggers

None listed.

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

Once connected, your Grok bot can access the Kernel 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 Kernel 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 Kernel MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/kernel/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/kernel/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/kernel/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/kernel/framework/atomic-agent)

## Related Toolkits

- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
- [GitHub](https://composio.dev/toolkits/github) - GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
- [21st MCP](https://composio.dev/toolkits/21st_mcp) - 21st MCP is a hosted design resource service for React/shadcn components, themes, templates, and SVG logos. It gives teams a fast way to discover, organize, and reuse polished interface assets.
- [Agent37](https://composio.dev/toolkits/agent37) - Agent37 is a control API for managed agent sandboxes, templates, networking, and execution. It gives teams built-in scheduling, observability, budgets, and workspace administration.
- [Aikido Security](https://composio.dev/toolkits/aikido) - Aikido Security is a security platform for workspace, code, cloud, and application protection. It helps teams find vulnerabilities, manage compliance, and reduce security risk.
- [Alchemy](https://composio.dev/toolkits/alchemy) - Alchemy is a blockchain development platform offering APIs and tools for Ethereum apps. It simplifies building and scaling Web3 projects with robust infrastructure.
- [Algolia](https://composio.dev/toolkits/algolia) - Algolia is a hosted search API that powers lightning-fast, relevant search experiences for web and mobile apps. It helps developers deliver instant, typo-tolerant, and scalable search without complex infrastructure.
- [Alpic MCP](https://composio.dev/toolkits/alpic_mcp) - Alpic MCP is a hosted MCP server platform for inspecting projects, deployments, analytics, and feedback. It gives teams a structured way to monitor and manage MCP server activity.
- [Anakin](https://composio.dev/toolkits/anakin_io) - Anakin is a web automation platform offering scraping, crawling, search, and browser automation. Use it to extract structured data, automate site tasks, and monitor web changes reliably.
- [Anchor browser](https://composio.dev/toolkits/anchor_browser) - Anchor browser is a developer platform for AI-powered web automation. It transforms complex browser actions into easy API endpoints for streamlined web interaction.
- [Anchor Browser MCP](https://composio.dev/toolkits/anchor_browser_mcp) - Anchor Browser MCP is a hosted browser automation service for running cloud browser sessions and web tasks. It provides secure, reusable browser identities and managed authentication for reliable agent workflows.
- [AnyAPI](https://composio.dev/toolkits/anyapi) - AnyAPI is a marketplace of utility APIs for validation, currency conversion, holidays, documents, and web data. It brings common application workflows together through one practical API platform.
- [Apiflash](https://composio.dev/toolkits/apiflash) - Apiflash is a website screenshot API for programmatically capturing web pages. It delivers high-quality screenshots on demand for automation, monitoring, or reporting.
- [Apiverve](https://composio.dev/toolkits/apiverve) - Apiverve delivers a suite of powerful APIs that simplify integration for developers. It's designed for reliability and scalability so you can build faster, smarter applications without the integration headache.
- [APIVerve MCP](https://composio.dev/toolkits/apiverve_mcp) - APIVerve MCP is a hosted utility API server for lookups, validation, conversion, and data enrichment. It gives developers one MCP connection to access APIVerve's utility APIs.
- [Appcircle](https://composio.dev/toolkits/appcircle) - Appcircle is an enterprise-grade mobile CI/CD platform for building, testing, and publishing mobile apps. It streamlines mobile DevOps so teams ship faster and with more confidence.
- [Appdrag](https://composio.dev/toolkits/appdrag) - Appdrag is a cloud platform for building websites, APIs, and databases with drag-and-drop tools and code editing. It accelerates development and iteration by combining hosting, database management, and low-code features in one place.
- [Appveyor](https://composio.dev/toolkits/appveyor) - AppVeyor is a cloud-based continuous integration service for building, testing, and deploying applications. It helps developers automate and streamline their software delivery pipelines.
- [Appwrite MCP](https://composio.dev/toolkits/appwrite_mcp) - Appwrite MCP is Appwrite's hosted MCP server for managing projects and platform APIs. It gives AI agents a secure, natural-language way to work with Appwrite services.
- [Arcjet MCP](https://composio.dev/toolkits/arcjet_mcp) - Arcjet MCP is a hosted security management server for inspecting Arcjet teams, sites, requests, and rules. It centralizes application security data and controls for faster investigation.

## Frequently Asked Questions

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

With a standalone Kernel MCP server, the agents and LLMs can only access a fixed set of Kernel tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Kernel 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 Kernel tools.

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

Yes, absolutely. You can configure which Kernel 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 Kernel data and credentials are handled as safely as possible.

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