diff --git a/integrations/vercel/eve-extension.mdx b/integrations/vercel/eve-extension.mdx index 1f590ea..b59746e 100644 --- a/integrations/vercel/eve-extension.mdx +++ b/integrations/vercel/eve-extension.mdx @@ -19,6 +19,7 @@ You can authenticate through [Vercel Connect](https://vercel.com/connect) or wit npx eve@latest init my-agent && cd my-agent ``` - A [Kernel account](https://dashboard.onkernel.com), with either a Vercel Connect Kernel connector (recommended path below) or a Kernel API key +- For the Connect path, **Vercel CLI `>= 58.8.0`**, which is where `--connection-method` landed. Older CLIs reject the flag. ## Setup with Vercel Connect (recommended) @@ -34,14 +35,14 @@ Vercel Connect is the recommended path because: pnpm add @onkernel/eve-extension ``` -**2. Create and attach the Kernel connector** in Vercel Connect. Name it `eve-extension` so the mount snippet works unedited: +**2. Create and attach the Kernel connector** in Vercel Connect. Name it `kernel-mcp` so the mount snippet works unedited: ```bash -vercel connect create mcp.onkernel.com --name eve-extension -vercel connect attach mcp.onkernel.com/eve-extension +vercel connect create kernel --name kernel-mcp --connection-method mcp +vercel connect attach kernel/kernel-mcp ``` -You can also add it from the Vercel dashboard under **Connectors → Browse all → Kernel**. Confirm the UID with `vercel connect list`. +You can also add it from the Vercel dashboard under [**Connectors → Browse all**](https://vercel.com/onkernel/~/connect/browse): look up "Kernel" and choose **MCP**. Confirm the UID with `vercel connect list`. **3. Mount the extension** in one line, passing the connector UID: @@ -49,7 +50,7 @@ You can also add it from the Vercel dashboard under **Connectors → Browse all // agent/extensions/kernel.ts import kernel from "@onkernel/eve-extension"; -export default kernel({ connect: "mcp.onkernel.com/eve-extension" }); +export default kernel({ connect: "kernel/kernel-mcp" }); ``` **4. Run it:** @@ -60,6 +61,10 @@ npx eve dev # or: npx eve deploy Leave `KERNEL_API_KEY` unset. The first time a user drives the browser, Eve surfaces a Connect consent prompt; they approve once and it's cached from then on, persisting across threads and sessions. + + Connectors created before Kernel was in the registry keep working. Leave them as they are and point `connect` at the UID `vercel connect list` prints for them, e.g. `mcp.onkernel.com/eve-extension`. + + ## Included tools and skills Once mounted, the agent has the following tools, namespaced under your mount (e.g. `kernel__browser__*`; discover the exact names via `connection_search`): @@ -150,7 +155,7 @@ Mount the extension as a directory and name the connection file `browser.ts` to ``` agent/extensions/kernel/ - extension.ts # export default kernel({ connect: "mcp.onkernel.com/eve-extension" }) + extension.ts # export default kernel({ connect: "kernel/kernel-mcp" }) connections/browser.ts # shadows the extension's "browser" connection ``` @@ -163,7 +168,7 @@ import { always } from "eve/tools/approval"; export default defineMcpClientConnection({ url: "https://mcp.onkernel.com/mcp", description: "Kernel cloud browser.", - auth: connect("mcp.onkernel.com/eve-extension"), // or { getToken: async () => ({ token: process.env.KERNEL_API_KEY! }) } + auth: connect("kernel/kernel-mcp"), // or { getToken: async () => ({ token: process.env.KERNEL_API_KEY! }) } tools: { allow: [ "manage_browsers",