api-diff-monitor
Cloudflare Workers MCP server: api-diff-monitor
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `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"
]
}コミュニティ
エビデンス