
Briefroom
io.github.briefroomPublished by GitHub account briefroomv0.5.1Updated Oct 24, 2026
briefroom stdio MCP server — expose the briefroom CLI to Claude Code, Codex, and other agents.
Overview
A local stdio MCP server that exposes the briefroom CLI so an assistant can deploy HTML directories, fetch reviewer comments and list rooms.
- What you can do
- Deploy a local directory as a zipped HTML room and get a share URL back, with options for expiry, password, visibility, private rooms, comments and display mode, or redeploy into an existing room slug to update the same link. Fetch reviewer comments for a share URL as agent-ready Markdown or JSON, filtered by status, since-date and locale. List the rooms owned by the current token with their latest deploy and share URL, including archived ones.
- When to use it
- Useful when you want an agent to publish HTML mockups, prototypes or documents to a shareable review link and then pull the reviewers' comments back into the conversation, without the agent spawning shells itself.
- Requirements
- Runs locally over stdio, typically via npx from the npm package @briefroom/mcp, so Node.js is needed. A personal access token is supplied through the BRIEFROOM_TOKEN environment variable or stored once in the OS keychain via the briefroom CLI login. BRIEFROOM_API_URL can point at another backend. Network access to briefroom is required; get_feedback works without credentials.
Installation
In SourceWeft
- Open Briefroom in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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.
Source: README.md at commit 5cbab6e
Tools
0Version history
3- v0.5.1LatestOct 17, 2026
- v0.5.0Sep 17, 2026
- v0.3.0Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
