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


