
Graphql Dos Shield
This is a Cloudflare Workers-based MCP server that protects GraphQL APIs from denial-of-service attacks. The repository is sparse on implementation details, but the positioning suggests it provides operations for query complexity analysis, rate limiting, and depth checking for GraphQL endpoints. You'd reach for this when you need to harden a GraphQL API against malicious queries that could exhaust server resources through nested fields or expensive operations. It's deployed as a remotely accessible service at api.lazy-mac.com rather than running locally, which means the DoS protection logic runs on Cloudflare's edge network. The mcpize.yaml configuration file indicates it's built with the MCP framework, though the actual shield operations and thresholds aren't visible in the public repository.
- tools
- 3
- transport
- HTTP
- last updated
- May 16, 2026
Install
From registry metadata$ npx add-mcp https://api.lazy-mac.com/graphql-dos-shield/mcp --name graphql-dos-shieldRun in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.
Review the command, arguments and environment values before installing. MCP servers run with your local permissions.
Other ways
Claude Code
$ claude mcp add --transport http graphql-dos-shield https://api.lazy-mac.com/graphql-dos-shield/mcpRun in your terminal. Add --scope user to make it available in every project.
Tools
Verified live · 3 toolsVerified live against the running server on Nov 6, 2026.
complexity_meterAnalyze GraphQL query complexity. Returns depth, field count, list multipliers, and a risk level (LOW/MEDIUM/HIGH/CRITICAL). CRITICAL means the query should be rejected.1 params
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.
query*stringrate_limiterCheck and enforce rate limiting for a client. In-memory sliding window — state resets on cold start.3 params
Check and enforce rate limiting for a client. In-memory sliding window — state resets on cold start.
client_id*stringlimitintegerwindow_msintegerquery_rewriterText-level rewrite of an overly complex GraphQL query: strips excess nesting depth and truncates too many fields.3 params
Text-level rewrite of an overly complex GraphQL query: strips excess nesting depth and truncates too many fields.
max_depthintegermax_fieldsintegerquery*stringSponsors
Readme
Details
- Repository
- github.com/lazymac2x/graphql-dos-shield-api
- Category
- Cloud & Infrastructure
- Transport
- HTTP
- Registry
- MCP registry, active
- Tools verified
- Nov 6, 2026
More from lazymac2x
- Graphql Rest Bridge
- Llm Output Quality Monitor
- Api Mock Server
- Interactive Api Playground
- Smart Data Extractor
- Mcpwatch
- A11y Scorer
- Agent Loop Detector
- Agent Memory
- Agent Trace Auditor
- Agent Workflow Engine
- Ai Agent Scratchpad
- Ai Budget Planner
- Ai Changelog Writer
- Ai Cost Optimizer
- Ai Eval
- Ai Guardrails
- Ai Model Router
- Ai Prompt Optimizer
- Ai Provider Status
- Ai Rate Limit Tracker
- Ai Token Counter
- Api Changelog Tracker
- Api Composition Gateway