api-diff-monitor

v1.0.0
io.github.lazymac2x/api-diff-monitor Checked 16 hours ago Published 6 months ago

Cloudflare 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.

ParameterTypeDescription
name *stringIdentifier for this endpoint
url *stringAPI URL to monitor
bodyRequest body (for POST/PUT)
descriptionstringOptional description
headersobjectRequest headers
methodstringHTTP 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.

ParameterTypeDescription
endpoint_idstringID of a registered endpoint to fetch and compare
savebooleanSave snapshot and diff to history (default: true)
snapshot_aobjectInline "before" JSON (omit endpoint_id for direct comparison)
snapshot_bobjectInline "after" JSON (omit endpoint_id for direct comparison)

get_diff_history

Retrieve the schema diff history for a registered endpoint.

ParameterTypeDescription
endpoint_id *stringEndpoint ID
limitnumberMax 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).

ParameterTypeDescription
endpoint_id *stringEndpoint ID

delete_endpoint

Remove a monitored endpoint and all its snapshots and diff history.

ParameterTypeDescription
endpoint_id *stringEndpoint ID to delete