api-diff-monitor
v1.0.0Cloudflare Workers MCP server: api-diff-monitor
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
register_endpoint
Register an API endpoint to monitor for schema changes. Provide name, url, and optionally method/headers/description.
| Parameter | Type | Description |
|---|---|---|
name * | string | Identifier for this endpoint |
url * | string | API URL to monitor |
body | Request body (for POST/PUT) | |
description | string | Optional description |
headers | object | Request headers |
method | string | HTTP method (default: GET) |
list_monitored_endpoints
List all registered API endpoints being monitored.
compare_snapshots
Fetch a registered endpoint and compare against its last snapshot to detect schema changes. Or compare two inline JSON objects directly.
| Parameter | Type | Description |
|---|---|---|
endpoint_id | string | ID of a registered endpoint to fetch and compare |
save | boolean | Save snapshot and diff to history (default: true) |
snapshot_a | object | Inline "before" JSON (omit endpoint_id for direct comparison) |
snapshot_b | object | Inline "after" JSON (omit endpoint_id for direct comparison) |
get_diff_history
Retrieve the schema diff history for a registered endpoint.
| Parameter | Type | Description |
|---|---|---|
endpoint_id * | string | Endpoint ID |
limit | number | Max diffs to return (default: 20, max: 50) |
detect_breaking_changes
Check if a registered endpoint has had any breaking changes (removed fields or type changes).
| Parameter | Type | Description |
|---|---|---|
endpoint_id * | string | Endpoint ID |
delete_endpoint
Remove a monitored endpoint and all its snapshots and diff history.
| Parameter | Type | Description |
|---|---|---|
endpoint_id * | string | Endpoint ID to delete |