graphql-dos-shield
Cloudflare Workers MCP server: graphql-dos-shield
使うべきか
品質と安全性
A
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
~287トークン数(ツール定義)
~686 B一般的なレスポンスサイズ
注意への影響は最小限(128k コンテキストの 0.22%)
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `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 件