api-payload-auditor

Cloudflare Workers MCP server: api-payload-auditor

我该使用它吗

质量与安全性

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

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

上下文开销

~404token 数(工具定义)
~722 B典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.32%)

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

安装

一键安装

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

{
  "mcpServers": {
    "api-payload-auditor": {
      "url": "https://api.lazy-mac.com/api-payload-auditor/mcp"
    }
  }
}

远程端点

https://api.lazy-mac.com/api-payload-auditor/mcpstreamable-http

它能做什么

工具清单

工具(4)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢payload_analyze(payload)

Analyze a JSON API response payload structure — field count, size in bytes, max nesting depth, type distribution, null field count, and redundancy signals (empty arrays, null values).

输入模式

{
  "type": "object",
  "properties": {
    "payload": {
      "type": "object",
      "description": "JSON API response payload to analyze"
    }
  },
  "required": [
    "payload"
  ]
}
⚪field_prune_suggest(payload, threshold)

Identify and suggest unnecessary fields for removal from a JSON payload. Flags debug/temp/internal/deprecated fields, null values, empty arrays, and _ prefix fields.

输入模式

{
  "type": "object",
  "properties": {
    "payload": {
      "type": "object",
      "description": "JSON payload to audit for bloat"
    },
    "threshold": {
      "type": "number",
      "description": "Importance threshold 0-100 (default 60). Fields scored below this are flagged."
    }
  },
  "required": [
    "payload"
  ]
}
🟢bandwidth_cost_calc(payloadSizeBytes, monthlyRequests, region)

Calculate cloud API egress bandwidth costs for a given payload size and monthly traffic. Returns cost at 25%, 50%, and 75% reduction scenarios.

输入模式

{
  "type": "object",
  "properties": {
    "payloadSizeBytes": {
      "type": "number",
      "description": "Payload size in bytes"
    },
    "monthlyRequests": {
      "type": "number",
      "description": "Monthly API request volume (default 1,000,000)"
    },
    "region": {
      "type": "string",
      "description": "Cloud region: us, eu, ap, sa, af, me, or AWS region codes"
    }
  },
  "required": [
    "payloadSizeBytes"
  ]
}
⚪compare_payloads(original, optimized)

Compare an original payload to an optimized version. Returns size reduction %, removed field paths, and depth change.

输入模式

{
  "type": "object",
  "properties": {
    "original": {
      "type": "object",
      "description": "Original (before optimization) payload"
    },
    "optimized": {
      "type": "object",
      "description": "Optimized (after pruning) payload"
    }
  },
  "required": [
    "original",
    "optimized"
  ]
}

社区

评价此服务器

证据

最近观测

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