api-diff-monitor

Cloudflare Workers MCP server: api-diff-monitor

我該用這個嗎

品質與安全性

A
說明品質
93%
結構描述完整度
86%
命名品質
90%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~503Token(工具定義)
~706 B典型回應大小
極小的注意力影響(128k 上下文的 0.39%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "api-diff-monitor": {
      "url": "https://api.lazy-mac.com/api-diff-monitor/mcp"
    }
  }
}

遠端端點

https://api.lazy-mac.com/api-diff-monitor/mcpstreamable-http

它能做什麼

工具清單

工具(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.

輸入結構描述

{
  "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.

輸入結構描述

{
  "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.

輸入結構描述

{
  "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.

輸入結構描述

{
  "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).

輸入結構描述

{
  "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.

輸入結構描述

{
  "type": "object",
  "properties": {
    "endpoint_id": {
      "type": "string",
      "description": "Endpoint ID to delete"
    }
  },
  "required": [
    "endpoint_id"
  ]
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本6 個工具
已驗證未記錄版本6 個工具
已驗證未記錄版本6 個工具