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 用于覆盖接口地址和单次请求超时。需要能访问 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 分