marklayer-mcp
MCP server that pipes MarkLayer element-level feedback straight into your coding agent.
Point at any element on any webpage in the browser, type "make this red", hit Send. Tell your coding agent "drain MarkLayer" — it acts.
Works with Claude Code, Codex CLI, OpenCode, Cursor, Windsurf, Cline, and any other MCP-compatible agent.
Setup
npx -y marklayer-mcp setup
The wizard opens your browser, the MarkLayer extension auto-pairs the session — no token to paste — then writes the right MCP config to every coding agent installed on your machine. Same flow as wrangler login or stripe login.
Restart your coding agent(s) afterward to load the new MCP server.
Headless / scripted setups
Skip the browser pairing by setting the token explicitly:
MARKLAYER_TOKEN=ml_… npx -y marklayer-mcp setup
Get the token from the extension's Connect coding agent dialog → Show advanced.
Manual config
If you'd rather edit each agent's config by hand, the snippets are at https://marklayer.app/agents.
Environment
MARKLAYER_TOKEN | Optional. Skips browser pairing. Format ml_…. |
MARKLAYER_BASE_URL | Optional. Override API origin (default: marklayer.app) |