api-diff-monitor
Cloudflare Workers MCP server: api-diff-monitor
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"api-diff-monitor": {
"url": "https://api.lazy-mac.com/api-diff-monitor/mcp"
}
}
}Remote-Endpunkte
https://api.lazy-mac.com/api-diff-monitor/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (6)
⚪register_endpoint(name, url, method, headers, body, ...)
Register an API endpoint to monitor for schema changes. Provide name, url, and optionally method/headers/description.
Eingabe-Schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Identifier for this endpoint"
},
"url": {
"type": "string",
"description": "API URL to monitor"
},
"method": {
"type": "string",
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"description": "HTTP method (default: GET)"
},
"headers": {
"type": "object",
"description": "Request headers"
},
"body": {
"description": "Request body (for POST/PUT)"
},
"description": {
"type": "string",
"description": "Optional description"
}
},
"required": [
"name",
"url"
]
}🟢list_monitored_endpoints
List all registered API endpoints being monitored.
Eingabe-Schema
{
"type": "object",
"properties": {}
}🟢compare_snapshots(endpoint_id, snapshot_a, snapshot_b, save)
Fetch a registered endpoint and compare against its last snapshot to detect schema changes. Or compare two inline JSON objects directly.
Eingabe-Schema
{
"type": "object",
"properties": {
"endpoint_id": {
"type": "string",
"description": "ID of a registered endpoint to fetch and compare"
},
"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)"
},
"save": {
"type": "boolean",
"description": "Save snapshot and diff to history (default: true)"
}
}
}🟢get_diff_history(endpoint_id, limit)
Retrieve the schema diff history for a registered endpoint.
Eingabe-Schema
{
"type": "object",
"properties": {
"endpoint_id": {
"type": "string",
"description": "Endpoint ID"
},
"limit": {
"type": "number",
"description": "Max diffs to return (default: 20, max: 50)"
}
},
"required": [
"endpoint_id"
]
}🟢detect_breaking_changes(endpoint_id)
Check if a registered endpoint has had any breaking changes (removed fields or type changes).
Eingabe-Schema
{
"type": "object",
"properties": {
"endpoint_id": {
"type": "string",
"description": "Endpoint ID"
}
},
"required": [
"endpoint_id"
]
}🔴delete_endpoint(endpoint_id)
Remove a monitored endpoint and all its snapshots and diff history.
Eingabe-Schema
{
"type": "object",
"properties": {
"endpoint_id": {
"type": "string",
"description": "Endpoint ID to delete"
}
},
"required": [
"endpoint_id"
]
}Community
Nachweis