AI Coding Agents
Connect Yocoolab to your AI coding agent via MCP. Click an element in Chrome, send it to your agent, and get a fix with full context.
Quick Start
- 1
Install the Chrome extension
Get it from the Chrome Web Store, pin it, and sign in with GitHub or Google. You'll need this to capture elements and send feedback to your agent.
- 2
Run the setup wizard
One command auto-detects every installed agent and writes the right config for each:
npx -y @yocoolab/mcp-server@2 setupThe wizard detects Claude Code, Cursor, Cline, Roo Code, and Windsurf. No global install needed — it runs straight from npm.
- 3
Add your Yocoolab JWT
Open the Yocoolab Chrome Extension → Settings → API Token, copy the JWT, and paste it into the
YOCOOLAB_TOKENplaceholder.Token is optional — without it, bridge / companion / activity tools still work; only thread-feedback tools require it.
- 4
Restart your agent
MCP servers load at agent startup. Quit and reopen your agent — Yocoolab tools should appear automatically. Try: "Show me all open feedback for my repo."
Tip
Prefer to configure manually? Pick your agent below for the exact config snippet, file path, and platform-specific instructions.
Agent Setup Guides
Claude Code
Anthropic
Config file
.mcp.json — Project root
Setup
Create a .mcp.json file in your project root, or run the setup command.
Configuration
{
"mcpServers": {
"yocoolab": {
"command": "npx",
"args": ["-y", "@yocoolab/mcp-server@2"],
"env": {
"YOCOOLAB_API_URL": "https://app.yocoolab.com",
"YOCOOLAB_TOKEN": "<your token>",
"GITHUB_TOKEN": "<your GitHub PAT>"
}
}
}
}Tip
Replace <your token> with your Yocoolab JWT (from the Chrome extension settings) and <your GitHub PAT> with a GitHub personal access token that has repo write permissions.
Available Tools
Once connected, your agent has access to these tools:
list_open_threadsShow unresolved feedback threads for a repo
get_thread_contextFull thread details — screenshot, selector, messages, element metadata
create_pr_for_threadCreate a GitHub PR with code changes linked to a thread
mark_thread_addressedResolve a thread with a closing message
get_latest_selectionGet the element you just clicked in Chrome
get_selection_historyRecent element selections from the extension
find_source_for_selectionMap a UI element to source files with confidence scoring
get_element_contextFull element metadata, computed styles, and source candidates
Environment Variables
| Variable | Required | Purpose |
|---|---|---|
| YOCOOLAB_API_URL | No | Backend URL (default: https://app.yocoolab.com) |
| YOCOOLAB_TOKEN | No | JWT from the Chrome extension. Required only for thread-feedback tools. |
| GITHUB_TOKEN | No | GitHub PAT for PR creation |
| YOCOOLAB_BRIDGE_PORT | No | HTTP bridge port (default: 9800) |
Source & Releases
- Source: github.com/Yocoolab/mcp-server
- npm: @yocoolab/mcp-server (Apache-2.0)
- Node.js 20 or newer (active LTS)
- Releases publish with cryptographic provenance via OIDC trusted publishing — verifiable on the npm package page.
Example Workflow
Tip
Try saying: "Show me all open feedback for my-org/my-repo and fix the most urgent one."
- Agent calls
list_open_threadsto see all feedback - Agent calls
get_thread_contexton the highest priority thread - Agent sees the screenshot, element selector, and feedback messages
- Agent reads your source files and makes changes
- Agent calls
create_pr_for_threadto push a PR - Agent calls
mark_thread_addressedto resolve the thread
Ready to start reviewing on the real product?
Install the free Chrome Extension, connect your tools, and start shipping faster — in under a minute.
No seat fees. Every team member is free — designers, developers, PMs, stakeholders.