Kernline
Browser extension that copies live page components, CSS and design tokens into AI coding
Kernline is a freemium MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Freemium
- Platforms
- Chrome extension, Firefox extension, CLI
- Runs
- Locally
- Access
- Needs a secret key or token
- Version
- 0.1.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add kernline-mcp --env KERNLINE_BRIDGE_TOKEN='<KERNLINE_BRIDGE_TOKEN>' -- npx -y @kernline/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"kernline-mcp": {
"command": "npx",
"args": [
"-y",
"@kernline/mcp"
],
"env": {
"KERNLINE_BRIDGE_TOKEN": "<KERNLINE_BRIDGE_TOKEN>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"kernline-mcp": {
"command": "npx",
"args": [
"-y",
"@kernline/mcp"
],
"env": {
"KERNLINE_BRIDGE_TOKEN": "<KERNLINE_BRIDGE_TOKEN>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"kernline-mcp": {
"command": "npx",
"args": [
"-y",
"@kernline/mcp"
],
"env": {
"KERNLINE_BRIDGE_TOKEN": "<KERNLINE_BRIDGE_TOKEN>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"kernline-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@kernline/mcp"
],
"env": {
"KERNLINE_BRIDGE_TOKEN": "<KERNLINE_BRIDGE_TOKEN>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add kernline-mcp --env KERNLINE_BRIDGE_TOKEN='<KERNLINE_BRIDGE_TOKEN>' -- npx -y @kernline/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.kernline-mcp]
command = "npx"
args = ["-y", "@kernline/mcp"]
env = { KERNLINE_BRIDGE_TOKEN = "<KERNLINE_BRIDGE_TOKEN>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"kernline-mcp": {
"command": "npx",
"args": [
"-y",
"@kernline/mcp"
],
"env": {
"KERNLINE_BRIDGE_TOKEN": "<KERNLINE_BRIDGE_TOKEN>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "kernline-mcp": { "command": "npx", "args": [ "-y", "@kernline/mcp" ], "env": { "KERNLINE_BRIDGE_TOKEN": "<KERNLINE_BRIDGE_TOKEN>" } } } }Or run: gemini mcp add -s user -e KERNLINE_BRIDGE_TOKEN='<KERNLINE_BRIDGE_TOKEN>' kernline-mcp npx -- -y @kernline/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "kernline-mcp": { "command": "npx", "args": [ "-y", "@kernline/mcp" ], "env": { "KERNLINE_BRIDGE_TOKEN": "<KERNLINE_BRIDGE_TOKEN>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "kernline-mcp": { "command": "npx", "args": [ "-y", "@kernline/mcp" ], "env": { "KERNLINE_BRIDGE_TOKEN": "<KERNLINE_BRIDGE_TOKEN>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "kernline-mcp": { "command": "npx", "args": [ "-y", "@kernline/mcp" ], "env": { "KERNLINE_BRIDGE_TOKEN": "<KERNLINE_BRIDGE_TOKEN>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "kernline-mcp": { "command": "npx", "args": [ "-y", "@kernline/mcp" ], "env": { "KERNLINE_BRIDGE_TOKEN": "<KERNLINE_BRIDGE_TOKEN>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "kernline-mcp": { "command": "npx", "args": [ "-y", "@kernline/mcp" ], "env": { "KERNLINE_BRIDGE_TOKEN": "<KERNLINE_BRIDGE_TOKEN>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "kernline-mcp": { "command": "npx", "args": [ "-y", "@kernline/mcp" ], "env": { "KERNLINE_BRIDGE_TOKEN": "<KERNLINE_BRIDGE_TOKEN>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "kernline-mcp": { "command": "npx", "args": [ "-y", "@kernline/mcp" ], "env": { "KERNLINE_BRIDGE_TOKEN": "<KERNLINE_BRIDGE_TOKEN>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
KERNLINE_BRIDGE_TOKENPairing token from Kernline settings.RequiredKERNLINE_BRIDGE_PORTLocal bridge port. Defaults to 47321.
About Kernline
Kernline lets you point at an element on any website and pull out its real markup, computed styles, design tokens and hover states. The output is packaged so it can be pasted into Cursor, Claude or ChatGPT, which means the assistant rebuilds from actual values rather than estimating them from a screenshot.
The extension only works on the tab you have open and processes styles in the browser. A separate local MCP server, published on npm, lets Cursor or Claude Desktop read the inspection output from tabs where the Kernline panel is open, authenticated with a pairing token.
It suits front-end developers and designers who want to reproduce a component from another site or match a mockup against a live page. Free use is capped at a few AI copies and captures per day, while the Pro tier removes the caps and adds full-page token export and bulk asset downloads.
What it does
- Copy for AI bundles
- Copies a pinned element with trimmed HTML, relevant computed styles, tokens and hover or media states in one click.
- Component export
- Exports a pinned section as self-contained HTML, React or Vue with Tailwind utilities.
- Tailwind and token output
- Converts elements to Tailwind v3 or v4 classes and exports CSS variables or theme config.
- Inspector panel
- Shows box model, typography, colour, spacing and flex or grid layout for hovered elements.
- Asset listing
- Lists images, SVGs, icons and fonts on a page for single download, with bulk ZIP on Pro.
- Pixel overlay
- Places a mockup image over the live page to check alignment while scrolling.
- Optional local MCP server
- Runs on your machine so MCP clients such as Cursor and Claude Desktop can read inspection output.
Good for
- Rebuilding a component seen on another site in your own codebase
- Giving an AI coding assistant exact styles instead of a screenshot guess
- Extracting a site's colours, fonts and spacing into a Tailwind theme
- Checking a design mockup against the live implementation
- Downloading the SVG icons and fonts used on a page
Pricing
Freemium, from $3 a month
Free with daily limits; Pro $3/month billed yearly ($36/year), $6/month, or $59 one-time Lifetime
Prices change. Check kernline.dev before you buy.
Kernline FAQ
Does Kernline upload the pages I inspect?
No. Everything happens in your browser, on the tab you opened.
What's stored on my device?
Your settings, saved overlays, your licence status, and on Free a count of today's Copy for AI and Component captures. All of it is removed when you uninstall.
What's the difference between Free and Pro?
Free covers everyday inspecting and CSS copying, plus 3 Copy for AI and 3 Component captures a day. Pro makes those unlimited and adds Tailwind variants, full-page design tokens, bulk asset export and unlimited overlays.
How do I add Kernline to Claude Code?
Run this command in your terminal: claude mcp add kernline-mcp --env KERNLINE_BRIDGE_TOKEN='<KERNLINE_BRIDGE_TOKEN>' -- npx -y @kernline/mcp
What are the best alternatives to Kernline?
The closest alternatives to Kernline are Ply UI, Cssprobe Cli, Ui Annotator MCP, tesserai and Copy Markdown.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.