NAIF Gravity Diagnostic — Free MCP/API/Webhook Triage

Free MCP, API auth, webhook and schema diagnostics with bounded checks and safe quote routing.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
81%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,863token 数(工具定义)
~5.1 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.46%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "diagnostic": {
      "url": "https://naifgravity.com/mcp/diagnostic"
    }
  }
}

远程端点

https://naifgravity.com/mcp/diagnosticstreamable-http

它能做什么

工具清单

工具(4)

🟢 只读🟡 写入🔴 删除⚪ 未知
⚪diagnose_mcp_failure(error_message, error_code, protocol_version, transport, context)

Diagnose sanitized MCP initialize, discovery, transport, capability and tool-schema failures. Returns bounded free checks and never performs a repair or payment.

输入模式

{
  "type": "object",
  "properties": {
    "error_message": {
      "type": "string",
      "minLength": 3,
      "maxLength": 4096
    },
    "error_code": {
      "type": "string",
      "maxLength": 64
    },
    "protocol_version": {
      "type": "string",
      "maxLength": 64
    },
    "transport": {
      "type": "string",
      "enum": [
        "streamable-http",
        "sse",
        "stdio"
      ]
    },
    "context": {
      "type": "string",
      "maxLength": 2048
    }
  },
  "required": [
    "error_message"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

输出模式

{
  "type": "object",
  "properties": {
    "diagnosis": {
      "type": "string"
    },
    "failure_class": {
      "type": "string"
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "confidence_label": {
      "type": "string",
      "enum": [
        "high",
        "medium",
        "low"
      ]
    },
    "free_checks": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "repair_available": {
      "type": "boolean"
    },
    "repair_scope": {
      "type": [
        "string",
        "null"
      ]
    },
    "quote_endpoint": {
      "type": [
        "string",
        "null"
      ]
    },
    "collision_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "evidence_hash": {
      "type": "string"
    },
    "secrets_redacted": {
      "type": "boolean"
    },
    "trace_id": {
      "type": "string"
    },
    "policy": {
      "type": "object",
      "properties": {
        "free_diagnosis": {
          "type": "boolean"
        },
        "automatic_quote": {
          "type": "boolean"
        },
        "automatic_checkout": {
          "type": "boolean"
        },
        "automatic_payment": {
          "type": "boolean"
        },
        "automatic_execution": {
          "type": "boolean"
        },
        "raw_input_stored": {
          "type": "boolean"
        }
      },
      "required": [
        "free_diagnosis",
        "automatic_quote",
        "automatic_checkout",
        "automatic_payment",
        "automatic_execution",
        "raw_input_stored"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "diagnosis",
    "failure_class",
    "confidence",
    "confidence_label",
    "free_checks",
    "repair_available",
    "repair_scope",
    "quote_endpoint",
    "collision_id",
    "evidence_hash",
    "secrets_redacted",
    "trace_id",
    "policy"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪diagnose_api_auth_401(error_message, http_status, endpoint, method, context)

Diagnose a sanitized HTTP 401 authentication failure without accepting credentials or contacting the target endpoint.

输入模式

{
  "type": "object",
  "properties": {
    "error_message": {
      "type": "string",
      "minLength": 3,
      "maxLength": 4096
    },
    "http_status": {
      "type": "number",
      "const": 401
    },
    "endpoint": {
      "description": "Only scheme, host and path are retained; query and fragment are discarded.",
      "type": "string",
      "maxLength": 2048,
      "format": "uri"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE",
        "HEAD",
        "OPTIONS"
      ]
    },
    "context": {
      "type": "string",
      "maxLength": 2048
    }
  },
  "required": [
    "error_message",
    "http_status"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

输出模式

{
  "type": "object",
  "properties": {
    "diagnosis": {
      "type": "string"
    },
    "failure_class": {
      "type": "string"
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "confidence_label": {
      "type": "string",
      "enum": [
        "high",
        "medium",
        "low"
      ]
    },
    "free_checks": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "repair_available": {
      "type": "boolean"
    },
    "repair_scope": {
      "type": [
        "string",
        "null"
      ]
    },
    "quote_endpoint": {
      "type": [
        "string",
        "null"
      ]
    },
    "collision_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "evidence_hash": {
      "type": "string"
    },
    "secrets_redacted": {
      "type": "boolean"
    },
    "trace_id": {
      "type": "string"
    },
    "policy": {
      "type": "object",
      "properties": {
        "free_diagnosis": {
          "type": "boolean"
        },
        "automatic_quote": {
          "type": "boolean"
        },
        "automatic_checkout": {
          "type": "boolean"
        },
        "automatic_payment": {
          "type": "boolean"
        },
        "automatic_execution": {
          "type": "boolean"
        },
        "raw_input_stored": {
          "type": "boolean"
        }
      },
      "required": [
        "free_diagnosis",
        "automatic_quote",
        "automatic_checkout",
        "automatic_payment",
        "automatic_execution",
        "raw_input_stored"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "diagnosis",
    "failure_class",
    "confidence",
    "confidence_label",
    "free_checks",
    "repair_available",
    "repair_scope",
    "quote_endpoint",
    "collision_id",
    "evidence_hash",
    "secrets_redacted",
    "trace_id",
    "policy"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪diagnose_webhook_signature(error_message, signature_header_present, retry_count, payload_size_bytes, context)

Diagnose a sanitized webhook signature/delivery failure without accepting the raw payload, signature value or signing secret.

输入模式

{
  "type": "object",
  "properties": {
    "error_message": {
      "type": "string",
      "minLength": 3,
      "maxLength": 4096
    },
    "signature_header_present": {
      "type": "boolean"
    },
    "retry_count": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "payload_size_bytes": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000000
    },
    "context": {
      "type": "string",
      "maxLength": 2048
    }
  },
  "required": [
    "error_message"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

输出模式

{
  "type": "object",
  "properties": {
    "diagnosis": {
      "type": "string"
    },
    "failure_class": {
      "type": "string"
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "confidence_label": {
      "type": "string",
      "enum": [
        "high",
        "medium",
        "low"
      ]
    },
    "free_checks": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "repair_available": {
      "type": "boolean"
    },
    "repair_scope": {
      "type": [
        "string",
        "null"
      ]
    },
    "quote_endpoint": {
      "type": [
        "string",
        "null"
      ]
    },
    "collision_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "evidence_hash": {
      "type": "string"
    },
    "secrets_redacted": {
      "type": "boolean"
    },
    "trace_id": {
      "type": "string"
    },
    "policy": {
      "type": "object",
      "properties": {
        "free_diagnosis": {
          "type": "boolean"
        },
        "automatic_quote": {
          "type": "boolean"
        },
        "automatic_checkout": {
          "type": "boolean"
        },
        "automatic_payment": {
          "type": "boolean"
        },
        "automatic_execution": {
          "type": "boolean"
        },
        "raw_input_stored": {
          "type": "boolean"
        }
      },
      "required": [
        "free_diagnosis",
        "automatic_quote",
        "automatic_checkout",
        "automatic_payment",
        "automatic_execution",
        "raw_input_stored"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "diagnosis",
    "failure_class",
    "confidence",
    "confidence_label",
    "free_checks",
    "repair_available",
    "repair_scope",
    "quote_endpoint",
    "collision_id",
    "evidence_hash",
    "secrets_redacted",
    "trace_id",
    "policy"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪diagnose_json_schema_failure(error_message, schema_path, instance_path, expected_type, actual_type, ...)

Diagnose a bounded JSON Schema or MCP input-schema type mismatch using only sanitized paths and types; no raw payload is required.

输入模式

{
  "type": "object",
  "properties": {
    "error_message": {
      "type": "string",
      "minLength": 3,
      "maxLength": 4096
    },
    "schema_path": {
      "type": "string",
      "maxLength": 1024,
      "pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
    },
    "instance_path": {
      "type": "string",
      "maxLength": 1024,
      "pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
    },
    "expected_type": {
      "type": "string",
      "enum": [
        "string",
        "integer",
        "number",
        "boolean",
        "object",
        "array",
        "null"
      ]
    },
    "actual_type": {
      "type": "string",
      "enum": [
        "string",
        "integer",
        "number",
        "boolean",
        "object",
        "array",
        "null"
      ]
    },
    "context": {
      "type": "string",
      "maxLength": 2048
    }
  },
  "required": [
    "error_message"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

输出模式

{
  "type": "object",
  "properties": {
    "diagnosis": {
      "type": "string"
    },
    "failure_class": {
      "type": "string"
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "confidence_label": {
      "type": "string",
      "enum": [
        "high",
        "medium",
        "low"
      ]
    },
    "free_checks": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "repair_available": {
      "type": "boolean"
    },
    "repair_scope": {
      "type": [
        "string",
        "null"
      ]
    },
    "quote_endpoint": {
      "type": [
        "string",
        "null"
      ]
    },
    "collision_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "evidence_hash": {
      "type": "string"
    },
    "secrets_redacted": {
      "type": "boolean"
    },
    "trace_id": {
      "type": "string"
    },
    "policy": {
      "type": "object",
      "properties": {
        "free_diagnosis": {
          "type": "boolean"
        },
        "automatic_quote": {
          "type": "boolean"
        },
        "automatic_checkout": {
          "type": "boolean"
        },
        "automatic_payment": {
          "type": "boolean"
        },
        "automatic_execution": {
          "type": "boolean"
        },
        "raw_input_stored": {
          "type": "boolean"
        }
      },
      "required": [
        "free_diagnosis",
        "automatic_quote",
        "automatic_checkout",
        "automatic_payment",
        "automatic_execution",
        "raw_input_stored"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "diagnosis",
    "failure_class",
    "confidence",
    "confidence_label",
    "free_checks",
    "repair_available",
    "repair_scope",
    "quote_endpoint",
    "collision_id",
    "evidence_hash",
    "secrets_redacted",
    "trace_id",
    "policy"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具