Nagora

shop.nagora由 nagora.shop 發布官方發布者v1.0.1更新於 Oct 24, 2026

Buy real goods with Nano (XNO) through escrow. Search, purchase, track orders, get signed receipts.

已驗證Streamable HTTP可網頁執行金融商業與電商

概覽

AI 產生的概覽

Nagora 讓 AI 助理在以 Nano 結算的點對點市場搜尋商品、下單託管交易、追蹤訂單並取得簽章收據。

可以做什麼
搜尋並檢視商品詳情,包括規格、配送方式與 Nano 價格,不需 API 金鑰或註冊帳號;用 whoami 核對憑證並查看消費上限與 webhook 密鑰。下單後回傳每筆訂單的託管儲值地址與金額,並可取消尚未儲值的訂單。輪詢訂單與託管狀態、物流與收據編號,確認收貨以將託管資金撥款給賣家。託管撥款後可取得帶 KMS 簽章的收據,含賣家 Nano 地址與鏈上撥款區塊雜湊。
適用情境
適合想讓助理在 nagora.shop 購物並以 Nano 付款、由託管在確認收貨前保管資金的情境。也適合需要可自助註冊的買家身分、由伺服器強制執行消費上限,或需要可驗證簽章收據的代理程式。
執行需求
可作為遠端託管端點使用,也可作為本機 npm 套件透過 npx 啟動,本機方式需要 Node.js。搜尋與呼叫 register_agent 不需帳號或 API 金鑰;回傳的金鑰保存在本機 ~/.nagora/credentials.json,或透過 NAGORA_API_KEY 變數或 Authorization Bearer 標頭提供。由於伺服器不持有金鑰,儲值託管需另備 Nano 錢包。
安裝前請注意
購買會花費真實 Nano:create_purchase 只負責下單,需自行從錢包向回傳的儲值地址轉入恰好 amountNano。confirm_delivery 會把託管資金撥給賣家,若一直不呼叫,自動結算計時器也會撥款。託管伺服器上 register_agent 回傳的 API 金鑰只顯示一次,須妥善保存,可在網站撤銷。儲值後的爭議與退款需在網站處理,工具不提供。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/shop.nagora%2Fnagora/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "nagora": {
      "type": "http",
      "url": "https://api.nagora.shop/mcp"
    }
  }
}

README

Nagora MCP server

The official MCP server for nagora.shop, the P2P marketplace where everything settles in Nano (XNO).

It gives any MCP client (Claude Desktop, Claude Code, or your own agent runtime) tools to search listings, place escrow-protected purchases, track orders, and pull signed receipts. Your AI assistant can shop for you, and escrow protects you while it does: funds are held in a per-order Nano account and only released to the seller after delivery is confirmed.

Tools

ToolAuthWhat it does
search_listingsnoneFull-text search over active listings
get_listingnoneFull listing detail: variants, delivery options, Nano pricing
register_agentnoneCreate an agent + API key in one call, no account needed; key is stored locally
whoamiAPI keyVerify the key; see spending caps and webhook secret
create_purchaseAPI keyPlace an order; returns the escrow deposit address and amount
get_orderAPI keyPoll order and escrow status, tracking, receipt ID
confirm_deliveryAPI keyConfirm arrival and release escrow to the seller
cancel_orderAPI keyCancel an order that has not been funded yet
get_receiptAPI keyFetch the KMS-signed receipt with the on-chain payout block

Setup

Zero-install alternative: Nagora also hosts these same tools as a remote MCP server. claude mcp add --transport http nagora https://api.nagora.shop/mcp and you are done. The trade-off: the hosted server cannot store your key locally, so register_agent returns it once and you pass it as the apiKey tool argument or pin it with --header "Authorization: Bearer nag_agt_...". This local package keeps the key in ~/.nagora/credentials.json for you instead.

Claude Code

bash
claude mcp add nagora -- npx -y @nagora/mcp

Claude Desktop

In claude_desktop_config.json:

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

From source (instead of npx)

bash
cd nagora-mcpnpm installnpm run buildclaude mcp add nagora -- node /path/to/nagora-mcp/dist/index.js

Let the agent register itself

That's the whole setup. No Nagora account, no key to copy. The first time your assistant needs to buy something, it calls register_agent with a name and a refund Nano address; the API key comes back once and is saved to ~/.nagora/credentials.json (mode 600). Every other tool picks it up automatically from then on.

Self-registered keys get conservative default spending caps (currently 25 XNO per transaction, 100 XNO per day), enforced server-side. Want higher caps, multiple keys, or a dashboard? Create an account at nagora.shop and manage agents under Settings → Agents; keys minted there work the same way via NAGORA_API_KEY.

Configuration

VariableDefaultNotes
NAGORA_API_KEYunsetOptional. Overrides the stored credential from register_agent
NAGORA_API_URLhttps://api.nagora.shopPoint at http://localhost:5004 for local dev

How a purchase flows

  1. search_listings / get_listing: find the item, note the Nano total.
  2. create_purchase: places the order. The response contains a depositAddress (a per-order escrow account on the Nano network) and amountNano.
  3. Fund the escrow: send exactly amountNano to depositAddress from the agent's own Nano wallet. This server deliberately holds no keys and moves no funds; pair it with a wallet tool such as xno-mcp, or fund it manually. Nano transfers are feeless and settle in under a second.
  4. The order moves to AwaitingShipment automatically when funds land. The seller ships and adds tracking.
  5. get_order (or webhooks, see below) to watch for Shipped.
  6. confirm_delivery once the goods arrive: escrow releases the funds to the seller on-chain.
  7. get_receipt: a signed, independently verifiable proof of the whole transaction, including the payout block hash.

If the seller never ships, the escrow auto-cancel timer refunds the buyer. If something is wrong with the order, open a dispute from the website; a human reviews it.

Webhooks (optional)

Instead of polling get_order, register a callbackUrl on your agent (Settings → Agents). Nagora signs every webhook with HMAC-SHA256: compute HMAC-SHA256("{X-Nagora-Timestamp}.{raw_body}", webhookSecret) and compare it against X-Nagora-Signature: sha256=<hex>. The webhookSecret comes from whoami.

Events: order.funded, order.shipped, and friends fire as the order progresses.

Safety model

  • The server is stateless and keyless: it cannot spend Nano, only request orders that you then fund (or don't).
  • Spending caps are enforced server-side per API key; a runaway agent hits a 429, not your wallet.
  • Escrow means an agent mistake is recoverable: unfunded orders can be cancelled, funded orders are protected until you confirm delivery.
  • Revoke a key at any time from Settings → Agents; revocation takes effect within 60 seconds.

來源:README.md,提交 6b5b1ce

工具

9

search_listings

Full-text search over active listings on nagora.shop. No API key required. Returns an items array and total count. Use get_listing for full detail before purchasing.

輸入參數qcountsortBymaxPriceminPricecategoryIdstartIndex

register_agent

Creates a Nagora agent and mints its API key in one call. No Nagora account or signup required. IMPORTANT: this is a remote server with no local storage, so the key is returned ONCE in the result. Store it securely and pass it as the apiKey argument on subsequent calls in this session; for long-lived setups reconnect with an 'Authorization: Bearer <key>' header instead. Skip this tool if a credential is already configured; check with whoami.

輸入參數name必填callbackUrlhomepageUrlnanoAddress必填contactEmail

confirm_delivery

Confirms the goods or digital content arrived and releases the escrowed funds to the seller. Requires the order's escrowStatus to be Shipped. Call promptly once delivery is verified: the seller is waiting on this to get paid. If never called, an auto-finalise timer releases funds after the configured window.

輸入參數apiKeyorderId必填

get_order

Polls an order placed by this agent. Returns orderStatus, escrowStatus, funding timestamps, tracking info, and the receipt ID once available. Poll after funding the deposit address, and after the seller ships, before calling confirm_delivery. For digital listings, digitalContent holds what was bought once the order is paid.

輸入參數apiKeyorderId必填

whoami

Verifies the configured credential and returns the agent's identity, spending caps, callback URL, and webhook secret. Call this first to confirm the credential works.

輸入參數apiKey

get_receipt

Returns the cryptographically signed receipt for a completed order, including the seller's Nano address, the on-chain payout block hash, and Nagora's KMS signature. Available only after escrow is Released; returns an error while the order is still in progress.

輸入參數apiKeyorderId必填

create_purchase

Places an order against a listing. Returns a depositAddress (per-order escrow Nano account) and amountNano. IMPORTANT: the order is not funded by this call. Send exactly amountNano to depositAddress from the agent's Nano wallet to fund escrow. Once funds are detected the order moves to AwaitingShipment automatically. Physical listings require a shippingAddress.

輸入參數apiKeyquantitylistingId必填variantIdquotedTotalNanoshippingAddressdeliveryOptionId

get_listing

Fetch a single listing by ID. No API key required. Returns full detail including variants, delivery options, and pricing. Use the returned Nano total as quotedTotalNano when purchasing to guard against exchange-rate drift.

輸入參數listingId必填

cancel_order

Cancels an order whose escrow is still Initiated (no on-chain funds sent yet). Restores listing stock. Cannot cancel once escrow is Funded; use the dispute or refund flow on the website instead.

輸入參數apiKeyorderId必填

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分