How to connect Kernel to Grok Bot

Connect Grok Bot to Kernel MCP. Launch a cloud browser for checkout testing, run playwright checks on a web app, and more using natural language, with authentication handled for you.

Kernel logoKernel
Api Key

Kernel is a browser automation platform with cloud browsers, computer controls, Playwright execution, and session replays. It provides persistent browser profiles and reliable infrastructure for browser-based workflows.

35 Tools

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.

Also integrate Kernel with

Why use Composio?

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.

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 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

Composio for Grok Bot listing on x.ai with the Add to Grok Bot button

Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.

Composio plugin sheet in Grok Bot with the Add button

2. Authenticate

Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.

Installed Composio plugin showing the Authenticate button

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.

Composio authorization screen with Authorize and Deny

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.

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.

TOOLS

Supported Tools

Every Kernel action and event your agent gets out of the box.

Batch Computer Actions

Execute 1-100 computer actions sequentially in a Kernel browser, stopping on the first error.

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.

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.

Click

Click at browser viewport coordinates with an optional mouse button, click phase, modifiers, and repetition count.

Create Browser

Create a Kernel browser session; defaults to a headless browser with a 60-second inactivity timeout.

Create Profile

Create an empty persistent browser profile, optionally with a unique name, for reuse by later browser sessions.

Delete Browser

Permanently end and delete a Kernel browser session by ID or name.

Delete Playwright Executor

Stop and permanently delete a named, non-default Playwright executor from a Kernel browser.

Delete Profile

Permanently delete a browser profile by ID or name.

Download Profile

Download a profile's stored browser state.

Drag Mouse

Drag a mouse button through an ordered path of browser viewport coordinates, with optional timing, linear-step, and modifier controls.

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.

Get Browser

Get safe operational details for one browser session by ID or name, optionally including a deleted session.

Get Mouse Position

Get the current mouse cursor coordinates in a Kernel browser session.

Get Profile

Get one browser profile by its ID or exact name.

Get Replay

Download a completed browser replay as MP4.

List Browsers

List browser sessions, optionally filtered by lifecycle state, search text, tags, or region, one offset page at a time.

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.

List Profiles

List browser profiles, optionally filtered by substring or exact name, one offset page at a time.

List Replays

List replay recordings for a headful browser session without returning signed viewer URLs.

Move Mouse

Move the cursor to browser viewport coordinates, optionally using a timed human-like path and held modifier keys.

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.

Read Clipboard

Read the current text from a Kernel browser session's clipboard.

Rename Profile

Rename a Kernel browser profile by ID or exact name.

Restart Default Playwright Executor

Restart a Kernel browser's reserved default Playwright executor.

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.

Scroll

Scroll horizontally or vertically at browser viewport coordinates, optionally while holding modifier keys.

Set Cursor Visibility

Hide or show the cursor in a Kernel browser session.

Start Replay

Start recording a headful Kernel browser session and return its replay identifier and recording metadata without exposing its signed viewer URL.

Stop Replay

Stop an active replay recording for a Kernel browser identified by ID or name.

Take Screenshot

Capture the full browser viewport or a rectangular region as a PNG download.

Type Text

Type text into the currently focused browser element with an optional per-keystroke delay.

Update Browser

Update mutable settings on an existing Kernel browser session.

Upload Browser Extensions

Upload and activate one or more unpacked Chromium extension ZIP archives in an existing running browser.

Write Clipboard

Write text to the system clipboard of a Kernel browser session.

FAQ

Frequently asked questions

Start with Kernel.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Kernel tool your agent needs.Free to start.

Start building