How to integrate Kernel MCP with Atomic Agent

Connect Atomic Agent 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

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,500+ apps through Composio, including Kernel.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Kernel account. See the Atomic Agent documentation for installation instructions.

Also integrate Kernel with

How Atomic Agent connects to Kernel

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect Kernel to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in Kernel. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Kernel account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

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.

Use Kernel from Atomic Agent

With your account connected, ask Atomic Agent to work with Kernel in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

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

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.

Yes, you can. Atomic Agent 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.

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.

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.

Start with Kernel.It takes 30 seconds.

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

Start building