Skip to main content
Glama

Kernel MCP Server

by onkernel

Kernel MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with secure access to Kernel platform tools and browser automation capabilities.

Architecture Overview

🌐 Use instantly at https://mcp.onkernel.com/mcp — no installation required!

What is this?

The Kernel MCP Server bridges AI assistants (like Claude, Cursor, or other MCP-compatible tools) with the Kernel platform, enabling them to:

  • 🚀 Deploy and manage Kernel apps in the cloud
  • 🌐 Launch and control headless Chromium sessions for web automation
  • 📊 Monitor deployments and track invocations
  • 🔍 Search Kernel documentation and inject context
  • 💻 Evaluate JavaScript and stream DOM snapshots

Open-source & fully-managed — the complete codebase is available here, and we run the production instance so you don't need to deploy anything.

The server uses OAuth 2.0 authentication via Clerk to ensure secure access to your Kernel resources.

For a deeper dive into why and how we built this server, see our blog post: Introducing Kernel MCP Server.

Setup Instructions

General (Transports)

  • Streamable HTTP (recommended): https://mcp.onkernel.com/mcp
  • stdio via mcp-remote (for clients without remote MCP support): npx -y mcp-remote https://mcp.onkernel.com/mcp

Use the streamable HTTP endpoint where supported for increased reliability. If your client does not support remote MCP, use mcp-remote over stdio.

Kernel's server is a centrally hosted, authenticated remote MCP using OAuth 2.1 with dynamic client registration.

Connect in your client

Claude

Our remote MCP server is not compatible with the method Free users of Claude use to add MCP servers.

Pro, Max, Team & Enterprise (Claude.ai and Claude Desktop)
  1. Go to Settings → Connectors → Add custom connector.
  2. Enter: Integration name: Kernel, Integration URL: https://mcp.onkernel.com/mcp, then click Add.
  3. In Settings → Connectors, click Connect next to Kernel to launch OAuth and approve.
  4. In chat, click Search and tools and enable the Kernel tools if needed.

On Claude for Work (Team/Enterprise), only Primary Owners or Owners can enable custom connectors for the org. After it's configured, each user still needs to go to Settings → Connectors and click Connect to authorize it for their account.

Claude Code CLI
claude mcp add --transport http kernel https://mcp.onkernel.com/mcp # Then in the REPL run once to authenticate: /mcp

Cursor

Click here to install Kernel on Cursor.

Manual setup
  1. Press ⌘/Ctrl Shift J.
  2. Go to MCP & Integrations → New MCP server.
  3. Add this configuration:
{ "mcpServers": { "kernel": { "url": "https://mcp.onkernel.com/mcp" } } }
  1. Save. The server will appear in Tools.

Goose

Click here to install Kernel on Goose in one click.

Goose Desktop
  1. Click Extensions in the sidebar of the Goose Desktop.
  2. Click Add custom extension.
  3. On the Add custom extension modal, enter:
    • Extension Name: Kernel
    • Type: STDIO
    • Description: Access Kernel's cloud-based browsers via MCP
    • Command: npx -y mcp-remote https://mcp.onkernel.com/mcp
    • Timeout: 300
  4. Click Save Changes button.
Goose CLI
  1. Run the following command:
    goose configure
  2. Select Add Extension from the menu.
  3. Choose Command-line Extension.
  4. Follow the prompts:
    • Extension name: Kernel
    • Command: npx -y mcp-remote https://mcp.onkernel.com/mcp
    • Timeout: 300
    • Description: Access Kernel's cloud-based browsers via MCP

Visual Studio Code

{ "mcpServers": { "kernel": { "url": "https://mcp.onkernel.com/mcp", "type": "http" } } }
  1. Press ⌘/Ctrl P → search MCP: Add Server.
  2. Select HTTP (HTTP or Server-Sent Events).
  3. Enter: https://mcp.onkernel.com/mcp
  4. Name the server Kernel → Enter.

Windsurf

  1. Press ⌘/Ctrl , to open settings.
  2. Navigate Cascade → MCP servers → View raw config.
  3. Paste:
{ "mcpServers": { "kernel": { "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.onkernel.com/mcp"] } } }
  1. On Manage MCPs, click Refresh to load Kernel MCP.

Zed

  1. Press ⌘/Ctrl , to open settings.
  2. Paste:
{ "context_servers": { "kernel": { "source": "custom", "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.onkernel.com/mcp"] } } }

Smithery

You can connect directly to https://mcp.onkernel.com/mcp, or use Smithery as a proxy using its provided URL.

  • Use Smithery URL in any MCP client:
    1. Open Smithery: Kernel.
    2. Copy the URL from "Get connection URL".
    3. Paste it into your MCP client's "Add server" flow.
  • Use Kernel in Smithery's Playground MCP client:
    1. Open Smithery Playground.
    2. Click "Add servers", search for "Kernel", and add it.
    3. Sign in and authorize Kernel when prompted.

Others

Many other MCP-capable tools accept:

  • Command: npx
  • Arguments: -y mcp-remote https://mcp.onkernel.com/mcp
{ "kernel": { "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.onkernel.com/mcp"] } }

Configure these values wherever the tool expects MCP server settings.

Tools

Browser Automation

  • create_browser - Launch a new browser session
  • get_browser - Get browser session information
  • list_browsers - List active browser sessions
  • delete_browser - Terminate a browser session

App Management

  • list_apps - List apps in your Kernel organization
  • invoke_action - Execute actions in Kernel apps
  • get_deployment - Get deployment status and logs
  • list_deployments - List all deployments
  • get_invocation - Get action invocation details
  • search_docs - Search Kernel platform documentation and guides

Troubleshooting

  • Cursor clean reset: ⌘/Ctrl Shift P → run Cursor: Clear All MCP Tokens (resets all MCP servers and auth; re-enable Kernel and re-authenticate).
  • Clear saved auth and retry: rm -rf ~/.mcp-auth
  • Ensure a recent Node.js version when using npx mcp-remote
  • If behind strict networks, try stdio via mcp-remote, or explicitly set the transport your client supports

Examples

Invoke apps from anywhere

Human: Run my web-scraper app to get data from reddit.com Assistant: I'll execute your web-scraper action with reddit.com as the target. [Uses invoke_action tool to run your deployed app in the cloud]

Create persistent browser sessions

Human: Create a stealth browser session that I can reuse for testing login flows Assistant: I'll create a persistent, stealth-enabled browser that maintains state between uses. [Uses create_browser tool with persistence and stealth options]

🤝 Contributing

We welcome contributions! Please see our contributing guidelines:

  1. Fork the repository and create your feature branch
  2. Make your changes and add tests if applicable
  3. Run the linter and formatter:
    bun run lint bun run format
  4. Test your changes thoroughly
  5. Submit a pull request with a clear description

Development Guidelines

  • Follow the existing code style and formatting
  • Add TypeScript types for new functions and components
  • Update documentation for any API changes
  • Ensure all tests pass before submitting

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

💬 Support


Built with ❤️ by the Kernel Team

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A Model Context Protocol server that connects AI assistants with the Kernel platform, enabling them to deploy applications, automate web browsers, and manage cloud resources.

  1. What is this?
    1. Setup Instructions
      1. General (Transports)
    2. Connect in your client
      1. Claude
      2. Cursor
      3. Goose
      4. Visual Studio Code
      5. Windsurf
      6. Zed
      7. Smithery
      8. Others
    3. Tools
      1. Browser Automation
      2. App Management
      3. Documentation & Search
    4. Troubleshooting
      1. Examples
        1. Invoke apps from anywhere
        2. Create persistent browser sessions
      2. 🤝 Contributing
        1. Development Guidelines
      3. 📄 License
        1. 🔗 Related Projects
          1. 💬 Support

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A versatile Model Context Protocol server that enables AI assistants to manage calendars, track tasks, handle emails, search the web, and control smart home devices.
              Last updated -
              16
              • Apple
              • Linux
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants to interact with Kubernetes clusters through natural language, supporting core Kubernetes operations, monitoring, security, and diagnostics.
              Last updated -
              704
              MIT License
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              A comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.
              Last updated -
              7
              1
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that provides AI models with structured access to external data and services, acting as a bridge between AI assistants and applications, databases, and APIs in a standardized, secure way.
              Last updated -
              2

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/onkernel/kernel-mcp-server'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server