
Briefroom
io.github.briefroom由 GitHub 帳號 briefroom 發布v0.5.1更新於 Oct 24, 2026
briefroom stdio MCP server — expose the briefroom CLI to Claude Code, Codex, and other agents.
概覽
本機 stdio MCP 伺服器,包裝 briefroom CLI,讓助理部署 HTML 目錄、取得審閱評論並列出房間。
- 可以做什麼
- 把本機目錄打包上傳為 HTML 房間並回傳分享連結,可設定有效期限、密碼、可見性、私人房間、留言開關與顯示模式,也可指定房間 slug 重新部署以更新同一連結。依分享連結取得審閱評論,輸出為方便助理使用的 Markdown 或 JSON,可依狀態、起始時間與語言篩選。列出目前權杖名下的房間及其最新部署與分享連結,包含已封存的房間。
- 適用情境
- 適合讓助理把 HTML 原型、設計稿或文件發布成可分享的審閱連結,再把審閱者的評論帶回對話中,而不必由助理自行啟動 shell。
- 執行需求
- 透過 stdio 在本機執行,通常以 npx 從 npm 套件 @briefroom/mcp 啟動,需要 Node.js。個人存取權杖透過 BRIEFROOM_TOKEN 環境變數提供,或以 briefroom CLI 登入一次存入作業系統鑰匙圈。BRIEFROOM_API_URL 可指向其他後端。需要連線至 briefroom 的網路;get_feedback 不需憑證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Briefroom,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@briefroom/mcp
日本語版 README: README.ja.md
briefroom stdio MCP server — expose the briefroom CLI to Claude Code, Codex, Cursor, and other agents so they can deploy HTML and pull reviewer comments without spawning shells themselves.
- Deploy in one call — zip a local directory, upload it, get a share URL back.
- Pull reviewer feedback — grab comments from the browser as AI-agent-ready Markdown.
- List your rooms — enumerate your existing deploys with their share URLs.
- Keep it to yourself — deploy straight into a private room only you can open while signed in.
Add it to Claude Code (one command)
Set BRIEFROOM_TOKEN in your environment (create a PAT at briefroom.net/dashboard/settings/tokens) or run npx @briefroom/cli login once to store it in the OS keychain.
What it gives your agent
Internally each tool runs @briefroom/cli as a child process (process.execPath → node <cli>/dist/index.js), so behavior stays identical to the CLI and both packages evolve together.
Install
Configure
Config file location and env interpolation semantics differ per client. Pick the block that matches yours.
Claude Code
Put .mcp.json at your project root. Claude Code expands ${VAR} against the launching shell's environment:
Or register it via the Claude Code CLI:
Codex CLI
Codex reads MCP server definitions from ~/.codex/config.toml (see the Codex CLI docs):
Or omit the env block and let the MCP process inherit BRIEFROOM_TOKEN from the shell that launched Codex.
Cursor
Cursor does not expand ${VAR} inside env blocks in its MCP config, so you have to decide up front how to supply the PAT. Options, in preference order:
Option A — user-wide config with a literal PAT (keeps PAT out of any repo):
~/.cursor/mcp.json:
The file lives in your home directory, so there's no path for it to end up in a project's git history.
Option B — inherit from the parent shell (no PAT in any config file):
Either ~/.cursor/mcp.json or the project's .cursor/mcp.json, with no env block:
With env omitted, the MCP process inherits your shell's environment. If you've run npx @briefroom/cli login, the CLI reads the PAT from the OS keychain. Alternatively, launch Cursor from a shell that has BRIEFROOM_TOKEN=hak_... exported.
Not recommended — project .cursor/mcp.json with a literal PAT:
If you must put a literal PAT in the project's
.cursor/mcp.json, add that file to.gitignoreand never commit it. Leaked PATs in public repos are a well-known incident class — prefer options A or B above. Rotate the PAT at briefroom.net/dashboard/settings/tokens if you commit one by accident.
Other stdio-MCP clients (Cline / Roo Code / Continue / …)
The stanza above works verbatim, but consult your client's docs for ${VAR} interpolation semantics and PAT-in-file safety before adopting it — the same "user-wide file or env inheritance" preference order applies.
Authentication
Two options — pick whichever fits your setup:
BRIEFROOM_TOKENenv var (recommended for.mcp.json): create a PAT at briefroom.net/dashboard/settings/tokens and pass it through theenvblock above.- OS keychain (recommended for local dev): run
npx @briefroom/cli loginonce. The MCP server picks up the same credential automatically.
BRIEFROOM_TOKEN takes precedence over the keychain when both are set.
A login stored in the keychain is tied to the API origin it was issued for and is never sent to another origin. If you set BRIEFROOM_API_URL (dev / staging), sign in for that origin with npx @briefroom/cli login --api-url <url> or pass BRIEFROOM_TOKEN. BRIEFROOM_TOKEN is sent only over https (plain http only for localhost).
get_feedback also works without any credentials — comments on a share URL are public API. Auth only unlocks owner-only fields.
Configuration reference
Tool reference
deploy_html
Returns the raw CLI JSON (share_url, room_id, version_number, visibility, allow_comments,
display_mode, …).
On a redeploy, expires / password / visibility / allow_comments / display_mode are
applied to the existing share link (same URL) only when you pass them explicitly. Omit a field
to leave that setting unchanged.
Three identifiers that are easy to confuse:
get_feedback
Returns Markdown by default, formatted so an agent can paste it straight back into context.
list_deployments
Returns the raw /api/v1/rooms JSON.
Debugging
Log lines are written to stderr only — stdout is reserved for JSON-RPC. To see what the server does:
Point the inspector at a running backend with BRIEFROOM_API_URL=http://localhost:3000 when developing against a local dev server.
Roadmap
resolve_comment— pending backend PAT support on the comment PATCH endpoint.- Streamable HTTP transport for hosted usage.
Contributing
Issues and pull requests are welcome at github.com/briefroom/mcp. The public repo mirrors the internal source of truth in the briefroom monorepo; changes land upstream first, then are exported here.
Local dev inside this repo:
License
MIT © Talent Cloud, Inc.
來源:README.md,提交 5cbab6e
工具
0版本歷史
3- v0.5.1最新Oct 17, 2026
- v0.5.0Sep 17, 2026
- v0.3.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分