Serveur MCP

Revenue Agent — OpenAPI Audit & Change Detection

news.prh/revenue-agent
Outils développeur Public et accessible MCP 2025-11-25

Ce que fait ce MCP

Audits OpenAPI contracts and detects breaking changes or API drift through snapshot or direct contract comparisons.

check_openapi
OpenAPI Audit & Breaking-Change Detection
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.
Lecture seule Accès externe Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['url'], 'properties': {'url': {'type': 'string', 'format': 'uri', 'description': 'Public OpenAPI/Swagger JSON or YAML URL (http or https, no credentials or query string)'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['purchase', 'input', 'payment', 'openapi'], 'properties': {'input': {'type': 'object', 'required': ['url'], 'properties': {'url': {'type': 'string', 'format': 'uri'}}, 'additionalProperties': False}, 'openapi': {'type': 'string', 'const': 'https://agent.prh.news/openapi.json'}, 'payment': {'type': 'object', 'required': ['required', 'clientRequirement'], 'properties': {'required': {'type': 'boolean', 'const': True}, 'clientRequirement': {'type': 'string', 'const': 'x402-aware HTTP retry required'}}, 'additionalProperties': False}, 'purchase': {'type': 'object', 'required': ['endpoint', 'price', 'network', 'asset', 'amount', 'payTo', 'scheme', 'paymentFlow'], 'properties': {'asset': {'type': 'string', 'const': '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'}, 'payTo': {'type': 'string', 'const': '0xD6DD152A8A9c8D4A77006373253D5b5bB4022b61'}, 'price': {'type': 'string', 'const': '0.10 USDC'}, 'amount': {'type': 'string', 'const': '100000'}, 'scheme': {'type': 'string', 'const': 'exact'}, 'network': {'type': 'string', 'const': 'eip155:8453'}, 'endpoint': {'type': 'string', 'const': 'https://agent.prh.news/v1/check'}, 'paymentFlow': {'type': 'string', 'const': 'authorization'}}, 'additionalProperties': False}}, 'additionalProperties': False}
compare_openapi
Immediate Stateless OpenAPI Comparison
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.
Lecture seule Accès externe Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['before_url', 'after_url'], 'properties': {'after_url': {'type': 'string', 'format': 'uri'}, 'before_url': {'type': 'string', 'format': 'uri'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['purchase', 'input', 'payment', 'openapi'], 'properties': {'input': {'type': 'object', 'required': ['before_url', 'after_url'], 'properties': {'after_url': {'type': 'string', 'format': 'uri'}, 'before_url': {'type': 'string', 'format': 'uri'}}, 'additionalProperties': False}, 'openapi': {'type': 'string', 'const': 'https://agent.prh.news/openapi.json'}, 'payment': {'type': 'object', 'required': ['required', 'clientRequirement'], 'properties': {'required': {'type': 'boolean', 'const': True}, 'clientRequirement': {'type': 'string', 'const': 'x402-aware HTTP retry required'}}, 'additionalProperties': False}, 'purchase': {'type': 'object', 'required': ['endpoint', 'price', 'network', 'asset', 'amount', 'payTo', 'scheme', 'paymentFlow'], 'properties': {'asset': {'type': 'string', 'const': '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'}, 'payTo': {'type': 'string', 'const': '0xD6DD152A8A9c8D4A77006373253D5b5bB4022b61'}, 'price': {'type': 'string', 'const': '0.25 USDC'}, 'amount': {'type': 'string', 'const': '250000'}, 'scheme': {'type': 'string', 'const': 'exact'}, 'network': {'type': 'string', 'const': 'eip155:8453'}, 'endpoint': {'type': 'string', 'const': 'https://agent.prh.news/v1/compare'}, 'paymentFlow': {'type': 'string', 'const': 'authorization'}}, 'additionalProperties': False}}, 'additionalProperties': False}
Modifié
compare_openapi
30 September 2026 02:41
Modifié
check_openapi
30 September 2026 02:41
Ajouté
compare_openapi
28 September 2026 02:41
Modifié
check_openapi
28 September 2026 02:41
Ajouté
check_openapi
20 September 2026 02:40