ouicu
com.ouicuv0.1.2更新于 Oct 8, 2026
Share a dev server or upload a built site at a public https link, and hand the link back.
概览
让编程助手把正在运行的开发服务器或已构建的站点发布为公开链接,并返回该链接。
- 功能
- 该服务器提供工具,可在服务器运行期间把本地端口分享为公开链接、停止或列出分享、把已构建的文件夹部署为长期有效的链接、列出或删除账户下的站点,以及查看最近的访问请求、当月用量和账户信息。每个工具都会用助手可以转述的自然语言作答,并附带结构化内容。没有密钥时只启动一个登录工具,批准后再出现其余工具。
- 适用场景
- 当助手需要返回一个可分享的链接,指向开发服务器或已构建的站点时使用,例如把落地页发给他人,或让客户预览成果。适合把发布预览作为任务一部分的编程助手工作流。
- 运行要求
- 通过 stdio 在本地运行,通常用 npx 从 npm 包 @ouicu/mcp 启动。分享端口还需要 ouicu CLI 0.1.7 或更高版本(仅限受邀者访问的分享需要 0.1.8)。认证使用已保存的 ouicu 登录,或环境变量 OUICU_API_KEY;启动时不强制要求密钥,因为服务器可以通过浏览器登录。仅支持桌面端。
安装
在 SourceWeft 中
- 打开 控制台中的 ouicu,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@ouicu/mcp
An MCP server for ouicu. A coding agent can share the dev server it is working on, or put a built site up, and hand back a link to send to someone: "build the landing page and send me a link" in one turn.
Set up
or claude-desktop, cursor, vscode, codex, windsurf. If this
computer is not logged in to ouicu, it logs you in first: it shows a code,
opens ouicu.com in your browser to approve it, and saves the key where the
ouicu CLI keeps it. Then it adds the server to the tool, for every
project. The key never goes into the tool's settings; the server reads it
from the credentials file, so ouicu login and the server share one login.
When the tool's own command (claude, codex) is missing, it prints the
command to run by hand. For Claude Code that is:
Any other MCP client starts it as npx -y @ouicu/mcp (stdio):
Sharing a port also needs the ouicu CLI, 0.1.7 or later (0.1.8 to share with only invited people):
On Windows, in PowerShell:
Tools
Each answers in words an agent can pass on, with the same as structured content. Links are public: anyone who has one can open it unless it has a password or is only for invited people. On the Free plan, people opening a link in a browser first see a short notice from ouicu saying who shared it.
Shares the server starts run inside it, through the CLI, and stop when it
stops or with ouicu_stop_share. For a link that outlives the session,
use ouicu_deploy.
Only invited people
On Pro, ouicu_share_port takes allow: email addresses, or @ and a
domain (@client.com) for everyone at one. Only those people can open the
link. ouicu does not send it to them; you do, as with any link. On opening
it, each types their email address on ouicu's page and, if it is on the
list, gets a sign-in link by email. Your own address always gets in.
allow does not go with password. The tool says when only invited
people can open a share, and ouicu_list_shares and ouicu_list_sites
say "only invited people can open it" for those.
Asking again for a port the server already shares hands back that share only when the same people can open it (anyone, the same password or the same list); otherwise the tool says to stop it first.
Without a key
The server starts with one tool, ouicu_login. It opens the approval page
in the person's browser when it can (otherwise it answers with the code
and the address for the agent to pass on) and waits for the approval. The
other tools then appear without a restart. When the saved key stops
working, ouicu_login comes back.
Settings
The server reads OUICU_API_KEY (a key from ouicu.com, instead of the
saved login), OUICU_API (another ouicu than ouicu.com), OUICU_TUNNEL
and OUICU_BIN (the CLI to run). From code:
License
MIT
来源:packages/mcp/README.md,提交 b7f925c
工具
0版本历史
1- v0.1.2最新Oct 8, 2026


