api-diff-monitor
Cloudflare Workers MCP server: api-diff-monitor
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"api-diff-monitor": {
"url": "https://api.lazy-mac.com/api-diff-monitor/mcp"
}
}
}Puntos de conexión remotos
https://api.lazy-mac.com/api-diff-monitor/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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).
Esquema de entrada
{
"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.
Esquema de entrada
{
"type": "object",
"properties": {
"endpoint_id": {
"type": "string",
"description": "Endpoint ID to delete"
}
},
"required": [
"endpoint_id"
]
}Comunidad
Evidencia