Skip to content

Commit 6e9f293

Browse files
committed
docs(mcp-server): rewrite and clarify setup guide
1 parent 27fdd58 commit 6e9f293

File tree

1 file changed

+61
-88
lines changed

1 file changed

+61
-88
lines changed

reference/mcp-server.mdx

Lines changed: 61 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -3,78 +3,32 @@ title: "MCP Server"
33
description: "Access Kernel's cloud-based browsers via MCP"
44
---
55

6-
Our Model Context Protocol (MCP) server gives any compatible AI model or agent a single, secure endpoint for launching Chromium browsers, injecting context, evaluating JavaScript, and streaming DOM snapshots from Kernel's cloud platform.
6+
Our Model Context Protocol (MCP) server lets any compatible AI model or agent launch Chromium browsers, inject context, evaluate JavaScript, and stream DOM snapshots from Kernel's cloud platform — via a single secure endpoint.
77

8-
## First Time? Start Here!
9-
10-
Ready to try Kernel but don't have a browser automation yet? Perfect! Here's how to get started:
11-
12-
### Step 1: Install Kernel MCP Server
13-
14-
Install the Kernel MCP server to your favorite MCP client using the [setup instructions](#setup-instructions) below.
15-
16-
### Step 2: Ask Your AI Assistant for Help
17-
18-
Once connected, simply ask in your MCP client chat:
19-
20-
```
21-
"How do I get a Kernel sample app set up locally?"
22-
```
8+
## Setup Instructions
239

24-
Your AI assistant will use the `search_docs` tool to get you the latest quickstart instructions and guide you through setting up your first Kernel app!
10+
### General (Transports)
2511

26-
### Step 3: Deploy & Test with MCP Tools
12+
- Streamable HTTP (recommended): `https://mcp.onkernel.com/mcp`
13+
- stdio via `mcp-remote` (for clients without remote MCP support): `npx -y mcp-remote https://mcp.onkernel.com/mcp`
2714

28-
After you have a sample app locally, ask your assistant:
15+
Use the streamable HTTP endpoint where supported for increased reliability. If your client does not support remote MCP, use `mcp-remote` over stdio.
2916

30-
```
31-
"Deploy my sample app to Kernel"
32-
```
17+
Kernel's server is a centrally hosted, authenticated remote MCP using OAuth 2.1 with dynamic client registration.
3318

34-
Then test it:
35-
36-
```
37-
"Run my app and get the title from onkernel.com"
38-
```
19+
## Connect in your client
3920

40-
## Available Tools
41-
The server provides these tools for AI assistants:
21+
### Claude
4222

43-
### Browser Automation
44-
- `create_browser` - Launch a new browser session
45-
- `get_browser` - Get browser session information
46-
- `delete_browser` - Terminate a browser session
47-
- `list_browsers` - List active browser sessions
23+
#### Team & Enterprise (Claude.ai)
4824

49-
### App Management
50-
- `deploy_app` - Deploy TypeScript or Python apps to Kernel
51-
- `list_apps` - List apps in your Kernel organization
52-
- `invoke_action` - Execute actions in Kernel apps
53-
- `get_deployment` - Get deployment status and logs
54-
- `list_deployments` - List all deployments
55-
- `get_invocation` - Get action invocation details
25+
1. Go to **Settings → Integrations → Add more**.
26+
2. Enter: **Integration name:** `Kernel`, **Integration URL:** `https://mcp.onkernel.com/mcp`.
27+
3. Start a chat, enable **Tools**, complete auth.
5628

57-
### Documentation & Search
58-
- `search_docs` - Search Kernel platform documentation and guides
29+
#### Free & Pro (Claude desktop)
5930

60-
## Setup Instructions
61-
62-
Add the Kernel MCP server to your favorite MCP-compatible client using `https://mcp.onkernel.com/mcp`.
63-
64-
## Claude
65-
66-
### Team & Enterprise (Claude.ai)
67-
68-
1. Navigate to **Settings** in the sidebar (web or desktop).
69-
2. Scroll to **Integrations** and click **Add more**.
70-
3. Fill in:
71-
- **Integration name:** `Kernel`
72-
- **Integration URL:** `https://mcp.onkernel.com/mcp`
73-
4. Start a chat, enable **Tools**, and finish auth.
74-
75-
### Free & Pro (Claude desktop)
76-
77-
Open `~/Library/Application Support/Claude/claude_desktop_config.json` and add:
31+
Add to `~/Library/Application Support/Claude/claude_desktop_config.json` and restart Claude:
7832

7933
```json
8034
{
@@ -89,24 +43,27 @@ Open `~/Library/Application Support/Claude/claude_desktop_config.json` and add:
8943

9044
Restart the Claude desktop app.
9145

92-
### Claude Code CLI
46+
#### Claude Code CLI
9347

9448
```bash
9549
claude mcp add --transport http kernel https://mcp.onkernel.com/mcp
96-
# then, inside the REPL:
97-
/mcp # to run through auth
50+
# Then in the REPL run once to authenticate:
51+
/mcp
9852
```
9953

100-
## Cursor
54+
### Cursor
55+
56+
Install with one click or configure manually.
10157

102-
Click [here](cursor://anysphere.cursor-deeplink/mcp/install?name=kernel&config=eyJ1cmwiOiJodHRwczovL21jcC5vbmtlcm5lbC5jb20vbWNwIn0%3D) to install Kernel on Cursor in one click.
58+
### One-click install
10359

104-
### Manual Setup
60+
Click [here](cursor://anysphere.cursor-deeplink/mcp/install?name=kernel&config=eyJ1cmwiOiJodHRwczovL21jcC5vbmtlcm5lbC5jb20vbWNwIn0%3D).
10561

106-
1. Press **⌘/Ctrl Shift J** to open settings.
107-
2. Click **Tools & Integrations**.
108-
3. Click **New MCP server**.
109-
4. Add the following configuration:
62+
### Manual setup
63+
64+
1. Press **⌘/Ctrl Shift J**.
65+
2. Go to **Tools & Integrations → New MCP server**.
66+
3. Add this configuration:
11067

11168
```json
11269
{
@@ -118,9 +75,9 @@ Click [here](cursor://anysphere.cursor-deeplink/mcp/install?name=kernel&config=e
11875
}
11976
```
12077

121-
5. Save and the server will be available.
78+
4. Save. The server will appear in Tools.
12279

123-
## Goose
80+
### Goose
12481

12582
Click [here](goose://extension?cmd=npx&arg=-y&arg=mcp-remote&arg=https%3A%2F%2Fmcp.onkernel.com%2Fmcp&timeout=300&id=kernel&name=Kernel&description=Access%20Kernel%27s%20cloud-based%20browsers%20via%20MCP) to install Kernel on Goose in one click.
12683

@@ -150,7 +107,7 @@ Click [here](goose://extension?cmd=npx&arg=-y&arg=mcp-remote&arg=https%3A%2F%2Fm
150107
- **Timeout**: `300`
151108
- **Description**: `Access Kernel's cloud-based browsers via MCP`
152109

153-
## Visual Studio Code
110+
### Visual Studio Code
154111

155112
```json
156113
{
@@ -169,13 +126,13 @@ Click [here](goose://extension?cmd=npx&arg=-y&arg=mcp-remote&arg=https%3A%2F%2Fm
169126
```bash
170127
npx -y mcp-remote https://mcp.onkernel.com/mcp
171128
```
172-
4. Name the server **Kernel** and press Enter.
129+
4. Name the server **Kernel** Enter.
173130
5. Activate via **MCP: List Servers → Kernel → Start Server**.
174131

175-
## Windsurf
132+
### Windsurf
176133

177134
1. Press **⌘/Ctrl ,** to open settings.
178-
2. Navigate **Cascade → MCP servers****Add custom server**.
135+
2. Go to **Cascade → MCP servers → Add custom server**.
179136
3. Paste:
180137

181138
```json
@@ -189,7 +146,7 @@ Click [here](goose://extension?cmd=npx&arg=-y&arg=mcp-remote&arg=https%3A%2F%2Fm
189146
}
190147
```
191148

192-
## Zed
149+
### Zed
193150

194151
Open `settings.json` and add:
195152

@@ -208,7 +165,7 @@ Open `settings.json` and add:
208165
}
209166
```
210167

211-
## Others
168+
### Others
212169

213170
Many other MCP-capable tools accept:
214171

@@ -218,25 +175,41 @@ Many other MCP-capable tools accept:
218175

219176
Configure these values wherever the tool expects MCP server settings.
220177

221-
## Usage Examples
178+
## Tools
222179

223-
### Deploy Local Apps to the Cloud
180+
### Browser Automation
181+
- `create_browser` - Launch a new browser session
182+
- `get_browser` - Get browser session information
183+
- `delete_browser` - Terminate a browser session
184+
- `list_browsers` - List active browser sessions
224185

225-
```
226-
Human: I have a Playwright automation script open in my editor. Can you deploy it to Kernel?
227-
Assistant: I'll read your local files and deploy them to Kernel for you.
228-
[Uses deploy_app tool to upload your code and create a cloud deployment]
229-
```
186+
### App Management
187+
- `list_apps` - List apps in your Kernel organization
188+
- `invoke_action` - Execute actions in Kernel apps
189+
- `get_deployment` - Get deployment status and logs
190+
- `list_deployments` - List all deployments
191+
- `get_invocation` - Get action invocation details
192+
193+
### Documentation & Search
194+
- `search_docs` - Search Kernel platform documentation and guides
195+
196+
## Troubleshooting
197+
198+
- Clear saved auth and retry: `rm -rf ~/.mcp-auth`
199+
- Ensure a recent Node.js version when using `npx mcp-remote`
200+
- If behind strict networks, try stdio via `mcp-remote`, or explicitly set the transport your client supports
201+
202+
## Examples
230203

231-
### Invoke Apps from Anywhere
204+
### Invoke apps from anywhere
232205

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

239-
### Create Persistent Browser Sessions
212+
### Create persistent browser sessions
240213

241214
```
242215
Human: Create a stealth browser session that I can reuse for testing login flows

0 commit comments

Comments
 (0)