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
- MEDIUM在 check_openapi 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `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
}社区
证据