graphql-dos-shield

Cloudflare Workers MCP server: graphql-dos-shield

我該用這個嗎

品質與安全性

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

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

上下文成本

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

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

安裝

一鍵安裝

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

{
  "mcpServers": {
    "graphql-dos-shield": {
      "url": "https://api.lazy-mac.com/graphql-dos-shield/mcp"
    }
  }
}

遠端端點

https://api.lazy-mac.com/graphql-dos-shield/mcpstreamable-http

它能做什麼

工具清單

工具(3)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢complexity_meter(query)

Analyze GraphQL query complexity. Returns depth, field count, list multipliers, and a risk level (LOW/MEDIUM/HIGH/CRITICAL). CRITICAL means the query should be rejected.

輸入結構描述

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "GraphQL query string to analyze"
    }
  },
  "required": [
    "query"
  ]
}
🟢rate_limiter(client_id, limit, window_ms)

Check and enforce rate limiting for a client. In-memory sliding window — state resets on cold start.

輸入結構描述

{
  "type": "object",
  "properties": {
    "client_id": {
      "type": "string",
      "description": "Unique client identifier"
    },
    "limit": {
      "type": "integer",
      "description": "Max requests per window (default: 100)"
    },
    "window_ms": {
      "type": "integer",
      "description": "Window in ms (default: 60000)"
    }
  },
  "required": [
    "client_id"
  ]
}
🟢query_rewriter(query, max_depth, max_fields)

Text-level rewrite of an overly complex GraphQL query: strips excess nesting depth and truncates too many fields.

輸入結構描述

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "GraphQL query to simplify"
    },
    "max_depth": {
      "type": "integer",
      "description": "Max nesting depth (default: 3)"
    },
    "max_fields": {
      "type": "integer",
      "description": "Max fields (default: 10)"
    }
  },
  "required": [
    "query"
  ]
}

社群

為此伺服器評分

證據

近期觀測

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