The Open Framework for Building Agents
feat(docs): add kernel.sh to integrations as MCP connection #976 (#976)
Colton Paddenb570a3c42607
diff --git a/apps/docs/lib/integrations/connection-setup.test.ts b/apps/docs/lib/integrations/connection-setup.test.tsnew file mode 100644index 000000000..fe46ebd65--- /dev/null+++ b/apps/docs/lib/integrations/connection-setup.test.ts@@ -0,0 +1,16 @@+import { describe, expect, it } from "vitest";++import { buildConnectionConfigure, buildConnectionSetup } from "./connection-setup";+import { getIntegration } from "./data";++describe("Kernel connection setup", () => {+ it("uses the named Connect connector created for Kernel's MCP service", () => {+ const integration = getIntegration("kernel")!;+ const setup = buildConnectionSetup(integration);++ expect(setup.variants["mcp:user"]).toContain('auth: connect("mcp.onkernel.com/kernel")');+ expect(buildConnectionConfigure(integration)).toContain(+ "vercel connect create mcp.onkernel.com --name kernel",+ );+ });+});diff --git a/apps/docs/lib/integrations/connection-setup.ts b/apps/docs/lib/integrations/connection-setup.tsindex 4af5ab1d0..d217a6e53 100644--- a/apps/docs/lib/integrations/connection-setup.ts+++ b/apps/docs/lib/integrations/connection-setup.ts@@ -152,12 +152,15 @@ export const buildConnectionConfigure = (integration: Integration): string => {return "";}const connector = connectorOf(integration.slug, spec);+ const connectorService = spec.connectorService ?? connector;const sections: string[] = [["Create the connector, link it to your project, and pull OIDC locally:",``,"```bash",- `vercel connect create ${connector}`,+ `vercel connect create ${connectorService}${+ spec.connectorService === undefined ? "" : ` --name ${integration.slug}`+ }`,"vercel link","vercel env pull","```",diff --git a/apps/docs/lib/integrations/data.ts b/apps/docs/lib/integrations/data.tsindex 374bdc5c4..de88c5a20 100644--- a/apps/docs/lib/integrations/data.ts+++ b/apps/docs/lib/integrations/data.ts@@ -40,6 +40,8 @@ export type AuthMode = "user" | "app" | "jwtBearer";export interface ConnectionSpec {/** Vercel Connect connector UID; defaults to the integration slug. */connector?: string;+ /** Service passed to `vercel connect create` when it differs from the connector UID. */+ connectorService?: string;/** Supported auth modes in display order; the first is the default. */authModes: AuthMode[];/** Model-facing description; defaults to the integration tagline. */@@ -105,6 +107,7 @@ interface ExtensionPresentation extends Presentation {interface ConnectionPresentation extends Presentation {authModes: AuthMode[];connector?: string;+ connectorService?: string;configureNote?: string;}@@ -540,6 +543,16 @@ The extension also supports inline screenshots, session naming, proxies, and pro* note.*/const connectionPresentations: Record<string, ConnectionPresentation> = {+ kernel: {+ logo: "kernel",+ docsHref: "https://www.kernel.sh/docs/reference/mcp-server/",+ keywords: ["mcp", "browser", "browser automation", "playwright", "cloud browser"],+ authModes: ["user"],+ connector: "mcp.onkernel.com/kernel",+ connectorService: "mcp.onkernel.com",+ configureNote:+ "Kernel's MCP server can launch browsers, execute Playwright, and manage recordings. Add approval gates or tool filters before allowing unattended browser actions.",+ },linear: {logo: "linear",docsHref: "/docs/connections/mcp",@@ -806,6 +819,9 @@ function buildConnection(entry: IntegrationEntry): Integration {description: identity.description,};if (presentation.connector !== undefined) spec.connector = presentation.connector;+ if (presentation.connectorService !== undefined) {+ spec.connectorService = presentation.connectorService;+ }if (identity.mcp !== undefined) spec.mcp = identity.mcp;if (identity.openapi !== undefined) spec.openapi = identity.openapi;if (presentation.configureNote !== undefined) spec.configureNote = presentation.configureNote;diff --git a/apps/docs/lib/integrations/logos.tsx b/apps/docs/lib/integrations/logos.tsxindex 70e4df9a8..3f8b2137d 100644--- a/apps/docs/lib/integrations/logos.tsx+++ b/apps/docs/lib/integrations/logos.tsx@@ -167,6 +167,16 @@ export const honeycombLogo = (props: LogoProps) => (</svg>);+export const kernelLogo = (props: LogoProps) => (+ <svg fill="none" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg" {...props}>+ <rect width="400" height="400" fill="#81B300" />+ <path+ d="M136.2 99c9 0 16.2 7.3 16.2 16.2v7.8c0 1 1.2 1.4 1.8.6l13.7-18.1c5.3-7.2 15.5-8.6 22.7-3.3 7.2 5.4 8.6 15.5 3.2 22.7l-14.1 18.8a2 2 0 0 0 0 2.4l18.1 24.2c5.4 7.1 4 17.3-3.2 22.7-7.2 5.3-17.4 3.9-22.7-3.3l-17.6-23.3c-.6-.8-1.8-.4-1.8.6v13c0 9-7.3 16.2-16.2 16.2S120 189 120 180v-64.8c0-9 7.3-16.2 16.2-16.2Zm109.5.8a32.4 32.4 0 0 1 22.2 56l-.3 2.8 8.8 11.7c5.4 7.1 4 17.3-3.2 22.7-7.2 5.3-17.4 3.9-22.7-3.3l-10.9-19c-.5-.9-1.9-.5-1.9.5v8.8c0 9-7.3 16.2-16.2 16.2s-16.2-7.2-16.2-16.2v-64c0-9 7.3-16.2 16.2-16.2h24.4Zm-4.5 25.5a6.6 6.6 0 1 0 0 13.2 6.6 6.6 0 0 0 0-13.2ZM193 202.8c9 0 16.2 7.2 16.2 16.2v64.8c0 9-7.3 16.2-16.2 16.2-4.5 0-8.3-1.6-11.4-4.8l-27.4-31.1c-.6-.7-1.8-.3-1.8.7v19c0 9-7.3 16.2-16.2 16.2s-16.2-7.2-16.2-16.2V219c0-9 7.3-16.2 16.2-16.2 4.5 0 8.3 1.6 11.5 4.7l27.3 31.1c.6.7 1.8.3 1.8-.7V219c0-9 7.2-16.2 16.2-16.2Zm38.3 0c9 0 16.2 7.2 16.2 16.2v45.8c0 1.1.9 2 2.1 2h14.2c9 0 16.2 7.3 16.2 16.2s-7.3 16.2-16.2 16.2h-32.5c-9 0-16.2-7.2-16.2-16.2v-64c0-9 7.3-16.2 16.2-16.2Zm36.1 0a12.6 12.6 0 1 1 0 25.1 12.6 12.6 0 0 1 0-25.1Z"+ fill="#1C2024"+ />+ </svg>+);+export const airtableLogo = (props: LogoProps) => <SiAirtable color="default" {...props} />;export const bitlyLogo = (props: LogoProps) => <SiBitly color="default" {...props} />;@@ -327,6 +337,7 @@ export const logos = {notion: notionLogo,datadog: datadogLogo,honeycomb: honeycombLogo,+ kernel: kernelLogo,airtable: airtableLogo,bitly: bitlyLogo,brex: brexLogo,diff --git a/packages/eve-catalog/src/index.test.ts b/packages/eve-catalog/src/index.test.tsindex de0d772a9..e6bec7399 100644--- a/packages/eve-catalog/src/index.test.ts+++ b/packages/eve-catalog/src/index.test.ts@@ -57,4 +57,10 @@ describe("integration catalog", () => {it("uses Linear's streamable HTTP MCP endpoint", () => {expect(getIntegrationEntry("linear")!.connection!.mcp!.url).toBe("https://mcp.linear.app/mcp");});++ it("uses Kernel's streamable HTTP MCP endpoint", () => {+ expect(getIntegrationEntry("kernel")!.connection!.mcp!.url).toBe(+ "https://mcp.onkernel.com/mcp",+ );+ });});diff --git a/packages/eve-catalog/src/index.ts b/packages/eve-catalog/src/index.tsindex 703032217..985f37f5e 100644--- a/packages/eve-catalog/src/index.ts+++ b/packages/eve-catalog/src/index.ts@@ -178,6 +178,18 @@ export const INTEGRATIONS: readonly IntegrationEntry[] = [tagline: "Add browser automation tools backed by agent-browser to an eve agent.",surfaces: { scaffoldable: false, gallery: true },},+ {+ slug: "kernel",+ name: "Kernel",+ kind: "connection",+ tagline: "Launch cloud browsers and automate web interactions through Kernel's MCP server.",+ surfaces: { scaffoldable: false, gallery: true },+ connection: {+ description:+ "Kernel: launch and automate cloud browsers, run Playwright, and inspect replays.",+ mcp: { url: "https://mcp.onkernel.com/mcp" },+ },+ },{slug: "linear",name: "Linear",