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。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。