X402 Git

com.x402git由 x402git.com 發布官方發布者v0.2.1更新於 Oct 24, 2026

Buy private git repos and agent skills with USDC over x402. Read the manifest free, then pay.

已驗證Streamable HTTP可網頁執行開發者工具商業與電商

概覽

AI 產生的概覽

一個遠端 MCP 伺服器,用來瀏覽與購買私有 git 儲存庫、代理技能與提示詞包,並透過 x402 以 USDC 付款。

可以做什麼
依名稱、描述、標籤、語言與 README 內容搜尋上架項目,免費且不需要錢包。讀取項目的清單:檔案樹、大小、授權、相依套件、安全掃描結果與發佈記錄。查詢最新版本、發佈時間與價格,並查看某個錢包已擁有什麼、下次取得需要多少費用。取得購買說明,包括可用瀏覽器錢包購買的項目頁面,以及具備錢包的代理所遵循的逐步流程。透過 x402 的報價、篩選、驗證、結算與授權流程購買項目。為錢包已購買的版本取得新的下載連結,免費且永久有效。
適用情境
當助理需要尋找、評估或取得付費的私有儲存庫、代理技能、提示詞包或工具組,且使用者願意透過支援 x402 的錢包以 USDC 付款時使用。免費的搜尋、清單與版本查詢工具也適合在決定購買前了解有哪些可用內容。
執行需求
位於 x402git.com 的遠端端點,使用 streamable HTTP,不需安裝套件。未宣告身分驗證。購買與取得發行版本需要能簽署交易並在對應網路上持有 USDC 的錢包,並以錢包簽章參數傳入;瀏覽、清單與版本查詢不需要錢包。
安裝前請注意
購買會花費真實 USDC 並透過 x402 結算,因此在允許助理購買前應設定支出上限。購買工具首次會回傳標記為錯誤的 PaymentRequired 回應,這是付款提示而非失敗。錢包簽章會傳送到伺服器,下載連結有效期很短。上架項目為第三方內容;計算出的事實與建立者的聲明分開呈現,付款前請先查看免費清單。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "x402-git": {
      "type": "http",
      "url": "https://x402git.com/api/mcp"
    }
  }
}

工具

6

search_listings

Find repos and agent skills for sale

Free, no wallet needed. Searches every live listing — private repos, agent skills, prompt packs, toolkits — by what it does: the name, the creator's description and "use this when" line, the computed tags (artifact class, what is inside such as `skills` or `scripts`, languages) and the README. Describe the job in plain words, e.g. `humanize ai writing` or `changelog from git history`; leave `query` empty to list everything. Results are ordered by how many of your words matched and where, then by name — never by sales or popularity. Each result has the `owner` and `slug` the other tools take: read `get_listing` for the file tree and security scan, then `how_to_buy`.

輸入參數limitquerymax_price_micro

how_to_buy

How to buy this listing — with or without a wallet

Free, no wallet needed. Returns whether the listing is for sale, its latest version and new-buyer price, the listing page a person can buy on with a browser wallet, the step-by-step skill an agent with a wallet follows, the raw x402 endpoint, and this server's URL. If you cannot sign transactions, answer the person with `without_a_wallet`; if you can, follow `with_a_wallet` or call `purchase`.

輸入參數slug必填owner必填

get_listing

Read the public manifest

Wraps `GET /api/label/:owner/:slug`. The free, unauthenticated manifest for a listing's latest passing release: file tree, sizes, licence, dependencies, security-scan result and release log. Costs nothing and needs no wallet, so read it before you buy. Computed facts and the creator's own claims are separately namespaced (`computed` vs `self_reported`).

輸入參數slug必填owner必填

check_version

Latest version and this wallet's price

Wraps `GET /api/v/:owner/:slug`. The cheap call to make before every run: the latest version, when it was published, and the price. With `wallet_signature` it also answers what that wallet already owns and what the *next* fetch would cost it — `price_kind` is `new`, `update`, `free` or `owned`. Without one it never reveals what any address owns.

輸入參數slug必填owner必填wallet_signature

purchase

Buy the latest release (x402)

Wraps `GET /api/r/:owner/:slug` — the same quote → screen → verify → settle → grant sequence, with the purchase recorded as `source: mcp`. Call it once with no payment: you get the x402 `PaymentRequired` body back. It arrives as `isError: true` per the x402 MCP transport, but it is not a failure — it is the price, and `accepts[0]` is the requirement to sign. Sign that EIP-3009 authorization with your own key (this server never sees it) and call again with the payment as the base64 `payment_signature` argument or as `_meta["x402/payment"]`. On success you get the version, the sha256 of the artifact, a signed download URL that expires in five minutes, and the settlement transaction in `_meta["x402/payment-response"]`. Access is granted only after the facilitator returns a transaction hash. A $0 listing returns `granted` on the first call.

輸入參數slug必填owner必填quote_idwallet_signaturepayment_signature

fetch_release

Re-fetch a version you already own

Wraps `GET /api/r/:owner/:slug/v/:version`. A fresh five-minute download URL for a version this wallet already bought. Free, forever, including after the listing is retired. Never sells anything: if the wallet does not hold that version it is `not_entitled`, not a 402. `wallet_signature` is required — without a proved wallet there is nobody to be entitled.

輸入參數slug必填owner必填version必填wallet_signature必填

版本歷史

2
  1. v0.2.1最新Oct 6, 2026
  2. v0.1.0Sep 16, 2026

評分

已滿足適用檢查項的 83%

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

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

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。