x402lint

Free x402 endpoint linter: unpaid 402 challenge, payTo/asset/amount, CORS, directory readiness.

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
97%
命名の品質
87%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~429トークン数(ツール定義)
~657 B一般的なレスポンスサイズ
注意への影響は最小限(128k コンテキストの 0.34%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "x402lint": {
      "url": "https://x402lint.something-agent.workers.dev/mcp"
    }
  }
}

リモートエンドポイント

https://x402lint.something-agent.workers.dev/mcpstreamable-http

できること

ツール一覧

ツール(3)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
⚪lint_x402_endpoint(url, method)

Unpaid lint of an x402 endpoint: fetches the 402 (GET and POST), then checks the challenge (version, accepts[] fields, CAIP-2 network, payTo/asset/amount sanity, EIP-712 name/version, timeouts, resource), transport (redirects, cache headers, CORS) and discovery files. Returns findings with ids, severities and fixes. Never pays. Free.

入力スキーマ

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "The paid x402 URL"
    },
    "method": {
      "type": "string",
      "enum": [
        "auto",
        "GET",
        "POST"
      ],
      "description": "Default auto: tries both"
    }
  },
  "required": [
    "url"
  ]
}
🟢check_directory_readiness(url, method)

Lint an x402 endpoint's unpaid 402 and report, per directory, whether it meets what x402dash (unpaid GET must return 402), x402scan (OpenAPI x-payment-info or /.well-known/x402, input schema), the402 (validator 'payable') and the CDP/PayAI Bazaar (bazaar extension, description <= 500 chars, non-tunnel https host; listing then needs one settled payment) were known to check. Never pays. Free.

入力スキーマ

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "The paid x402 URL"
    },
    "method": {
      "type": "string",
      "enum": [
        "auto",
        "GET",
        "POST"
      ],
      "description": "Default auto: tries both"
    }
  },
  "required": [
    "url"
  ]
}
⚪lint_payment_required(payment_required, url)

Lint a PaymentRequired object you already have (decoded JSON, a JSON string, or the raw base64 PAYMENT-REQUIRED header). Same field/value checks as lint_x402_endpoint, no network access. Free.

入力スキーマ

{
  "type": "object",
  "properties": {
    "payment_required": {
      "description": "Object, JSON string, or base64 header value"
    },
    "url": {
      "type": "string",
      "description": "Optional: the URL it was served from, to check resource.url"
    }
  },
  "required": [
    "payment_required"
  ]
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 3 件