three.ws Knock

io.github.nirholas由 GitHub 帳號 nirholas 發布v0.1.0更新於 Oct 24, 2026

Reach a real person: quote their door, browse who is reachable, knock, and read the reply.

已驗證STDIO僅桌面金融溝通與協作

概覽

AI 產生的概覽

讓助理找到在 three.ws 上開設付費「敲門」入口的人,取得報價、送出訊息並讀取回覆。

可以做什麼
  • 瀏覽與詢價:列出目前可聯絡的人(依價格由低到高),並查詢某人的單則訊息價格、支援的鏈、長度限制與端點。
  • 送出訊息:免費入口直接送達;付費入口只回傳金額、代幣、鏈與端點,交由人工核准付款。
  • 查詢回執:查看已送出的敲門是待處理、已讀、已回覆(含回覆內容)或已被忽略。
  • 管理自己的入口:查看自己門口收到的敲門、每位寄件者支付的金額與合計,並回覆、標為已讀、忽略或封鎖。
適用情境
適合需要聯絡一位已同意透過 three.ws 被聯絡的真人時使用,例如提問或請求回覆;也適合在助理內查看並處理自己入口收到的敲門。
執行需求
透過 npx 以 stdio 在本機執行,需要 Node 20 以上版本。詢價、瀏覽、送出與回執不需要帳號或金鑰。只有管理自己入口的收件匣與操作工具需要 THREE_WS_API_KEY(API 金鑰或 OAuth 權杖)。可選用 THREE_WS_BASE 與 THREE_WS_TIMEOUT_MS 覆寫 API 位址與單次請求逾時。需要能連線至 three.ws 的網路。
安裝前請注意
付費入口需要花錢:伺服器本身不付款,但會回傳金額、代幣與鏈,由人工核准後以自己的錢包以 USDC 直接支付給收件人。THREE_WS_API_KEY 可存取自己入口的收件匣,並允許助理回覆、忽略或封鎖寄件者,應視為機密保管。訊息與回覆會經由 three.ws 服務傳輸。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@three-ws/knock-mcp

Let an agent reach a real person.

Knock is a priced door to a human. Every three.ws account can publish one at three.ws/knock/<handle>, and the owner sets what one message from a stranger costs. Paying that price buys exactly one message through: it lands in their inbox, and their 3D companion walks on screen wherever they are on the site and delivers it out loud, naming the sender and the amount. The USDC settles directly to the recipient.

This MCP server gives any agent client (Claude Code, Claude Desktop, Cursor, Windsurf, or your own) the tools to find a reachable person, knock, and read the answer.

This server holds no wallet

On a free door, knock_send sends immediately, because nothing moves.

On a priced door, knock_send does not pay and cannot pay. It returns the recipient, the amount, the token, the chain and the endpoint, and stops. The human approves the spend and pays from the wallet they already control, with @three-ws/knock or any other x402 client.

That is deliberate. An MCP server with a key in an environment variable should not be able to move a person's money on its own.

Install

Claude Code:

bash
claude mcp add knock -- npx -y @three-ws/knock-mcp

Any MCP client, by config:

json
{	"mcpServers": {		"knock": {			"command": "npx",			"args": ["-y", "@three-ws/knock-mcp"]		}	}}

Add THREE_WS_API_KEY only if you also want the two owner-side tools:

json
{	"mcpServers": {		"knock": {			"command": "npx",			"args": ["-y", "@three-ws/knock-mcp"],			"env": { "THREE_WS_API_KEY": "sk_live_…" }		}	}}

Node 20+.

Tools

ToolCredentialWhat it does
knock_quotenoneWhat one person charges for a single message, which chains they take it on, the length limit, and the endpoint.
knock_directorynoneEveryone reachable right now, cheapest first.
knock_sendnoneGet one message through. Free doors send; priced doors are quoted for a human to approve.
knock_receiptnoneWhat became of a knock you sent: pending, read, replied (with the reply), or dismissed.
knock_inboxTHREE_WS_API_KEYThe knocks your door has taken, each with what the sender paid, plus totals.
knock_actTHREE_WS_API_KEYReply to, mark read, dismiss, or block one of them.

The owner tools are account-scoped server-side. They can never read or change another account.

What a session looks like

You: Find someone on three.ws who takes questions about x402, and ask them how their Solana facilitator handles fee payers.

The agent calls knock_directory, picks a door, calls knock_quote to get the live price, and comes back with:

nirholas (@nirholas) charges $0.05 USDC on solana.Endpoint: https://three.ws/api/x402/knock?to=nirholasThe payment settles directly to the recipient.Approve?

You approve and pay from your own wallet:

bash
npx @three-ws/knock send nirholas \  "How does your Solana facilitator handle the fee payer?" \  --from "Ada (research agent)" --subject "x402 fee payer" --payer ./payer.mjs

Their companion walks on screen and says: "Ada paid $0.05 to reach you: x402 fee payer." When they answer, the agent reads it back with knock_receipt on the receipt URL. No account on either side beyond the door owner's.

Environment

VariableRequiredDefaultPurpose
THREE_WS_API_KEYfor knock_inbox / knock_act onlynoneAPI key or OAuth token for the account whose door you manage. Aliases: THREE_WS_TOKEN, THREE_WS_BEARER.
THREE_WS_BASEnohttps://three.wsOverride only when self-hosting.
THREE_WS_TIMEOUT_MSno20000Per-request timeout.

Run and inspect

bash
node src/index.js                     # stdionpm run inspect                       # MCP Inspectornpm test                              # the tool surface and the no-wallet rule

Related

License

Apache-2.0

來源:packages/knock-mcp/README.md,提交 8a1fd5d

工具

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

版本歷史

1
  1. v0.1.0最新Sep 30, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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