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.

概覽

AI 產生的概覽

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。僅限桌面端。
安裝前請注意
會在 MCP 設定中保存兩個密鑰:YOCOOLAB_TOKEN(Yocoolab JWT)和 GITHUB_TOKEN(具備 repo 權限的 PAT,可讀寫儲存庫)。工具會寫入你的 Yocoolab 工作區:張貼回覆、將討論串標記為已處理,並可建立拉取請求。本機橋接會監聽 9800 埠。README 也提到選用的 Pendo 分析工具,會回報事件。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Yocoolab,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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:

bash
claude mcp add --transport http --scope user yocoolab https://app.yocoolab.com/mcp

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:

bash
curl -fsSL https://app.yocoolab.com/agent/install.sh | sh

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:

bash
npx -y @yocoolab/mcp-server@3 setup

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.

init is kept as an alias for setup for backwards compatibility with v1.0.x install instructions.

If you'd rather configure manually, the equivalent ~/.mcp.json looks like:

json
{  "mcpServers": {    "yocoolab": {      "command": "npx",      "args": ["-y", "@yocoolab/mcp-server@3"],      "env": {        "YOCOOLAB_API_URL": "https://app.yocoolab.com",        "YOCOOLAB_TOKEN": "<your-yocoolab-jwt>",        "GITHUB_TOKEN": "<your-github-pat>",        "YOCOOLAB_BRIDGE_PORT": "9800",        "YOCOOLAB_BRIDGE_WORKSPACE": "/absolute/path/to/your/workspace"      }    }  }}

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 repo scope, 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). No GITHUB_TOKEN env var needed in that case. Otherwise, create one at github.com/settings/tokens/new?scopes=repo.

Configuration

Env varRequiredDefaultDescription
YOCOOLAB_TOKENno—Your Yocoolab JWT (from the Chrome extension). When unset, thread feedback tools are disabled but bridge / companion / selection tools still work.
YOCOOLAB_API_URLnohttps://app.yocoolab.comYocoolab API base URL
GITHUB_TOKENonly for PR tools—GitHub PAT with repo scope. Auto-detected — if gh CLI is installed and authenticated (gh auth token), no env var is needed. Placeholder values like <your GitHub PAT> are detected and safely ignored.
YOCOOLAB_BRIDGE_PORTno9800Local port for the HTTP bridge to the Chrome extension
YOCOOLAB_BRIDGE_WORKSPACEnoprocess.cwd()Absolute path to your project workspace, used to resolve file references in selections
YOCOOLAB_AGENT_NAMEnoClaude CodeDisplay name shown in the Chrome extension's agent picker
YOCOOLAB_PROJECT_PR_LINKSno1Set to 0 to restore the pre-2.5 behaviour: mark_thread_addressed without PR/preview link fields, GitHub-only PR guidance in the prompt
YOCOOLAB_AGENT_TYPEnoclaude-codeAgent type identifier (claude-code, roo, cline, cursor, windsurf, or custom)

CLI

yocoolab-mcp           Run the MCP server (used by your agent via .mcp.json)yocoolab-mcp setup     Interactive setup — auto-detects agents and writes their configsyocoolab-mcp init      Alias for `setup` (backwards compatible with v1.0.x)yocoolab-mcp --help    Show this help

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 call mark_thread_addressed with pr_url (and pr_branch, preview_url when you have them). The PR fields land on the thread and the preview link goes into the review message; get_thread_context prints the project's repo links so you know which repository it points at. create_pr_for_thread remains for GitHub-connected owner/name workspaces.
  • 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:

  1. Auto-detect (easiest): install the GitHub CLI and run gh auth login. The server picks up the token automatically.
  2. Manual: create a personal access token with repo scope and add GITHUB_TOKEN: "ghp_..." to your MCP config's env block. 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

Development

bash
git clone https://github.com/Yocoolab/mcp-server.gitcd mcp-servernpm installnpm run build       # compile TypeScript to dist/npm test            # run the vitest suitenpm run dev         # tsc --watch

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 signatures and CodeQL static analysis in CI on every PR.
  • See SECURITY.md for vulnerability reporting.

License

Apache 2.0 — © 2026 Yocoolab

來源:README.md,提交 0dbf167

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v3.0.0最新Oct 3, 2026
  2. v2.4.3Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分