Revenue Agent — OpenAPI Audit & Change Detection
Paid OpenAPI audit and API change detection for agents. $0.10 USDC per analysis via x402 on Base.
使うべきか
品質と安全性
検出事項(2)
- HIGH
- MEDIUMcheck_openapi 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"revenue-agent": {
"url": "https://agent.prh.news/mcp"
}
}
}リモートエンドポイント
https://agent.prh.news/mcpstreamable-httpできること
ツール一覧
ツール(2)
🟢check_openapi(url)
Developer tool for OpenAPI audit, API analysis, Swagger analysis, and API contract change validation (not general OpenAPI conformance linting). The paid analysis detects breaking changes and API drift by comparing a public OpenAPI/Swagger JSON or YAML contract with the service's last stored snapshot of that URL (the first check records the baseline). It returns deterministic JSON classifying endpoint, method, media-type, status, request/response field, type, requiredness, and structural oneOf/anyOf branch changes as breaking, potentially breaking, non-breaking or informational, plus a Markdown summary. It does not infer schema satisfiability or branch overlap; not and external references are unsupported. Cost: 0.10 USDC per completed analysis via x402 on Base (eip155:8453), settled only after the analysis is computed. This MCP tool itself is free: it validates the URL and returns the x402 endpoint and payment terms; it does not run the analysis or move funds. Canonical service OpenAPI: https://agent.prh.news/openapi.json. To get the analysis, POST {"url": "<spec URL>"} to the returned endpoint with an x402-capable HTTP client.
入力スキーマ
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public OpenAPI/Swagger JSON or YAML URL (http or https, no credentials or query string)"
}
},
"required": [
"url"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"purchase": {
"type": "object",
"properties": {
"endpoint": {
"type": "string",
"const": "https://agent.prh.news/v1/check"
},
"price": {
"type": "string",
"const": "0.10 USDC"
},
"network": {
"type": "string",
"const": "eip155:8453"
},
"asset": {
"type": "string",
"const": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
},
"amount": {
"type": "string",
"const": "100000"
},
"payTo": {
"type": "string",
"const": "0xD6DD152A8A9c8D4A77006373253D5b5bB4022b61"
},
"scheme": {
"type": "string",
"const": "exact"
},
"paymentFlow": {
"type": "string",
"const": "authorization"
}
},
"required": [
"endpoint",
"price",
"network",
"asset",
"amount",
"payTo",
"scheme",
"paymentFlow"
],
"additionalProperties": false
},
"input": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"url"
],
"additionalProperties": false
},
"payment": {
"type": "object",
"properties": {
"required": {
"type": "boolean",
"const": true
},
"clientRequirement": {
"type": "string",
"const": "x402-aware HTTP retry required"
}
},
"required": [
"required",
"clientRequirement"
],
"additionalProperties": false
},
"openapi": {
"type": "string",
"const": "https://agent.prh.news/openapi.json"
}
},
"required": [
"purchase",
"input",
"payment",
"openapi"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢compare_openapi(before_url, after_url)
Validates explicit before and after public OpenAPI/Swagger URLs and returns purchase terms for an immediate deterministic semantic comparison, including structural oneOf/anyOf branch changes. It does not infer schema satisfiability or branch overlap; not and external references are unsupported. The paid endpoint returns breaking, potentially breaking, non-breaking and informational findings plus Markdown without reading or advancing snapshot history. Cost: 0.25 USDC via x402 on Base (eip155:8453). This MCP tool is free and never executes analysis or moves funds.
入力スキーマ
{
"type": "object",
"properties": {
"before_url": {
"type": "string",
"format": "uri"
},
"after_url": {
"type": "string",
"format": "uri"
}
},
"required": [
"before_url",
"after_url"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"purchase": {
"type": "object",
"properties": {
"endpoint": {
"type": "string",
"const": "https://agent.prh.news/v1/compare"
},
"price": {
"type": "string",
"const": "0.25 USDC"
},
"network": {
"type": "string",
"const": "eip155:8453"
},
"asset": {
"type": "string",
"const": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
},
"amount": {
"type": "string",
"const": "250000"
},
"payTo": {
"type": "string",
"const": "0xD6DD152A8A9c8D4A77006373253D5b5bB4022b61"
},
"scheme": {
"type": "string",
"const": "exact"
},
"paymentFlow": {
"type": "string",
"const": "authorization"
}
},
"required": [
"endpoint",
"price",
"network",
"asset",
"amount",
"payTo",
"scheme",
"paymentFlow"
],
"additionalProperties": false
},
"input": {
"type": "object",
"properties": {
"before_url": {
"type": "string",
"format": "uri"
},
"after_url": {
"type": "string",
"format": "uri"
}
},
"required": [
"before_url",
"after_url"
],
"additionalProperties": false
},
"payment": {
"type": "object",
"properties": {
"required": {
"type": "boolean",
"const": true
},
"clientRequirement": {
"type": "string",
"const": "x402-aware HTTP retry required"
}
},
"required": [
"required",
"clientRequirement"
],
"additionalProperties": false
},
"openapi": {
"type": "string",
"const": "https://agent.prh.news/openapi.json"
}
},
"required": [
"purchase",
"input",
"payment",
"openapi"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}コミュニティ
エビデンス