
Yocoolab
io.github.Jonahbkerr由 GitHub 账号 Jonahbkerr 发布v3.0.0更新于 Oct 25, 2026
Pin visual feedback on any live web page and send it to Claude Code, Cursor or your AI agent.
概览
Yocoolab 的本地 MCP 服务器,让 AI 编程助手读取、回复并关闭钉在实时网页上的设计反馈线程,并查看 Chrome 扩展中的选区信息。
- 可以做什么
- 列出并分类仓库中未处理的设计反馈线程,获取线程的完整上下文(选区、截图、对话、涉及文件)。回复设计师并将线程标记为已处理,或在已连接 GitHub 的工作区中创建关闭该线程的 PR。读取 Chrome 扩展的元素上下文与选区历史。读取 companion 聊天消息、AI 对话,以及可选的 Pendo 产品分析数据。
- 适用场景
- 当团队通过 Yocoolab 在实时页面上钉选视觉反馈,并希望编程助手在编辑器内处理这些线程时使用。README 指出大多数人应改用托管的 Yocoolab MCP;本包适用于需要本机 9800 端口桥接、从 Chrome 扩展实时接收选区的场景。
- 运行要求
- 需要 Node.js 20 或更高版本,通过 npx 运行。线程工具需要 Yocoolab 账户,并在 YOCOOLAB_TOKEN 中提供 JWT。仅创建 PR 时需要具备 repo 权限的 GitHub 个人访问令牌(GITHUB_TOKEN),或已登录的 gh CLI。可选:YOCOOLAB_API_URL、YOCOOLAB_BRIDGE_PORT(默认 9800)、YOCOOLAB_BRIDGE_WORKSPACE。仅限桌面端。
安装
在 SourceWeft 中
- 打开 控制台中的 Yocoolab,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@yocoolab/mcp-server
[npm version] [npm downloads] [CI] [License] [Node] [Types] [OpenSSF Best Practices]
MCP (Model Context Protocol) server that exposes Yocoolab feedback threads and design selections as tools for Claude Code and other MCP-compatible clients.
With this installed, your AI coding assistant can:
- List and triage open design feedback threads on your repo
- Pull rich context for a thread (selection, screenshot, conversation, files touched)
- Reply to designers and mark threads as addressed
- Open PRs that close out feedback threads
- Inspect element context and selection history from the Yocoolab Chrome extension
- Read companion chat messages, AI conversations, and Pendo product analytics
Recommended: the hosted Yocoolab MCP (nothing to install)
Most people no longer need this package. Yocoolab hosts the MCP server at https://app.yocoolab.com/mcp. Your agent signs in to Yocoolab in the browser the first time, so there is no token to paste:
Then type /mcp in Claude Code, choose yocoolab, and Authenticate. Setup for Cursor, VS Code, the Claude app, and headless agents (agent token in a header) is at app.yocoolab.com/connect.
Always-on agent: to have one computer pick up every Send to Agent in your workspace by itself (it runs Claude Code), run this on that computer:
Switching from this package to the hosted server? Remove the old entry first (claude mcp remove yocoolab, repeat until none is found). Otherwise Claude may keep using the old one.
Use this package only if you need what runs on your own machine: the local bridge on :9800 for live selections from the Chrome extension.
Install (local package)
One command:
The setup wizard auto-detects your installed AI agents (Claude Code, Cursor, Cline, Roo Code, Windsurf) and writes the correct MCP config for each. Restart your agent and the yocoolab server appears with all tools available.
initis kept as an alias forsetupfor backwards compatibility with v1.0.x install instructions.
If you'd rather configure manually, the equivalent ~/.mcp.json looks like:
The @3 version pin keeps you on the v3 major line — you'll receive bug fixes and new features automatically, but a future v4 with breaking changes won't break your setup. v3.0.0 removed the activity monitor and no longer writes Claude Code hooks into ~/.claude/settings.json; see CHANGELOG.md if you are upgrading from v2.
Requirements
- Node.js 20 or newer. We test on Node 20 and 22 in CI. We support whichever Node.js versions are currently in Active LTS or Maintenance LTS status, and drop versions within 30 days of their EOL. Node 18 was dropped in v2.0.0 (EOL April 2025).
- A Yocoolab account and JWT token — get yours from the Yocoolab Chrome extension settings, or via your account at app.yocoolab.com.
- A GitHub personal access token with
reposcope, if you want to use the PR-creation tools (create_pr_for_thread). The token is auto-detected if you have the GitHub CLI installed and authenticated (gh auth login). NoGITHUB_TOKENenv var needed in that case. Otherwise, create one at github.com/settings/tokens/new?scopes=repo.
Configuration
CLI
The mcp-server command is a synonym for yocoolab-mcp. Either works.
Tools
The server exposes tools across several categories:
- Threads —
list_open_threads,get_thread_context,add_thread_message,mark_thread_addressed,create_pr_for_thread- On a link-only project (no GitHub App connection) open the PR with your own git/
gh, then callmark_thread_addressedwithpr_url(andpr_branch,preview_urlwhen you have them). The PR fields land on the thread and the preview link goes into the review message;get_thread_contextprints the project's repo links so you know which repository it points at.create_pr_for_threadremains for GitHub-connectedowner/nameworkspaces.
- On a link-only project (no GitHub App connection) open the PR with your own git/
- Selection / Bridge —
get_latest_selection,get_selection_history,get_element_context,find_source_for_selection,ai_analyze_page - Companion —
get_companion_messages,reply_to_companion - AI —
get_ai_conversations - Deployment —
get_deployment_preview - Pendo (optional) —
pendo_list_guides,pendo_page_analytics,pendo_feature_usage,pendo_track_event
For full tool descriptions and parameters, your MCP client will list them after the server starts.
Troubleshooting
yocoolab-mcp: command not found — make sure you're on v1.0.1 or newer. Run npx -y @yocoolab/mcp-server@latest setup to get the current release.
[yocoolab] Warning: YOCOOLAB_TOKEN not set — thread feedback tools are disabled without a token, but bridge / companion / selection tools still work. To enable everything, run yocoolab-mcp setup to (re)generate the config with your JWT.
Tools don't appear in your agent after install — restart your agent completely (quit & reopen). MCP servers load at startup.
Port 9800 is already in use — another instance of the MCP server is running, or another app has the port. Set YOCOOLAB_BRIDGE_PORT to a different value (e.g. 9801) in your .mcp.json.
Verbose diagnostic logs — set DEBUG=yocoolab:* in your env block. All diagnostic output goes to stderr (so it doesn't interfere with the MCP stdio protocol on stdout).
PR creation says "GitHub token not configured" — the create_pr_for_thread tool needs a GitHub token. Two ways to fix:
- Auto-detect (easiest): install the GitHub CLI and run
gh auth login. The server picks up the token automatically. - Manual: create a personal access token with
reposcope and addGITHUB_TOKEN: "ghp_..."to your MCP config'senvblock. If your config has a placeholder value like<your GitHub PAT>, the server detects it and shows a helpful message instead of crashing with a 401.
Support
- Documentation: this README, plus inline tool descriptions visible in your MCP client
- Bug reports: github.com/Yocoolab/mcp-server/issues (use the bug template)
- Security issues: see SECURITY.md — do not open a public issue
- Other questions: [email protected]
Development
See CONTRIBUTING.md for the full contributor workflow.
Security & supply chain
- Released with npm provenance — every published version is cryptographically signed by GitHub Actions OIDC, traceable back to the exact commit and workflow run.
- Each release ships with a CycloneDX SBOM attached to the GitHub Release.
- We run
npm audit signaturesand CodeQL static analysis in CI on every PR. - See SECURITY.md for vulnerability reporting.
License
Apache 2.0 — © 2026 Yocoolab
来源:README.md,提交 0dbf167
工具
0版本历史
2- v3.0.0最新Oct 3, 2026
- v2.4.3Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分