MCP 服务器

api-diff-monitor

io.github.lazymac2x/api-diff-monitor
开发者工具 公开且可连接 MCP 2026-07-28

此 MCP 可以做什么

Monitors registered API endpoints and compares snapshots to identify schema changes, breaking changes, and historical differences.

compare_snapshots
Fetch a registered endpoint and compare against its last snapshot to detect schema changes. Or compare two inline JSON objects directly.
输入模式
{'type': 'object', 'properties': {'save': {'type': 'boolean', 'description': 'Save snapshot and diff to history (default: true)'}, 'snapshot_a': {'type': 'object', 'description': 'Inline "before" JSON (omit endpoint_id for direct comparison)'}, 'snapshot_b': {'type': 'object', 'description': 'Inline "after" JSON (omit endpoint_id for direct comparison)'}, 'endpoint_id': {'type': 'string', 'description': 'ID of a registered endpoint to fetch and compare'}}}
delete_endpoint
Remove a monitored endpoint and all its snapshots and diff history.
输入模式
{'type': 'object', 'required': ['endpoint_id'], 'properties': {'endpoint_id': {'type': 'string', 'description': 'Endpoint ID to delete'}}}
detect_breaking_changes
Check if a registered endpoint has had any breaking changes (removed fields or type changes).
输入模式
{'type': 'object', 'required': ['endpoint_id'], 'properties': {'endpoint_id': {'type': 'string', 'description': 'Endpoint ID'}}}
get_diff_history
Retrieve the schema diff history for a registered endpoint.
输入模式
{'type': 'object', 'required': ['endpoint_id'], 'properties': {'limit': {'type': 'number', 'description': 'Max diffs to return (default: 20, max: 50)'}, 'endpoint_id': {'type': 'string', 'description': 'Endpoint ID'}}}
list_monitored_endpoints
List all registered API endpoints being monitored.
输入模式
{'type': 'object', 'properties': {}}
register_endpoint
Register an API endpoint to monitor for schema changes. Provide name, url, and optionally method/headers/description.
输入模式
{'type': 'object', 'required': ['name', 'url'], 'properties': {'url': {'type': 'string', 'description': 'API URL to monitor'}, 'body': {'description': 'Request body (for POST/PUT)'}, 'name': {'type': 'string', 'description': 'Identifier for this endpoint'}, 'method': {'enum': ['GET', 'POST', 'PUT', 'PATCH', 'DELETE'], 'type': 'string', 'description': 'HTTP method (default: GET)'}, 'headers': {'type': 'object', 'description': 'Request headers'}, 'description': {'type': 'string', 'description': 'Optional description'}}}
已添加
delete_endpoint
2026年9月17日 12:43
已添加
detect_breaking_changes
2026年9月17日 12:43
已添加
get_diff_history
2026年9月17日 12:43
已添加
compare_snapshots
2026年9月17日 12:43
已添加
list_monitored_endpoints
2026年9月17日 12:43
已添加
register_endpoint
2026年9月17日 12:43