Gen0Sec WAF Rule MCP Server
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WAF_VALIDATION_API_URL | No | URL of the Wirefilter rules-validator API used for rule validation and context fetching. If unset, falls back to the value in server/config.yaml. | https://public.gen0sec.com/v1/waf/validate |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| fetch_cve_vulnerability_templateB | Retrieve a CVE Indexed vulnerability template from multiple sources (Nuclei Open Source, Nuclei Paid API). Returns detailed information for the exploit including metadata, severity, description, references, classification, and characteristic request patterns. |
| list_cve_sourcesB | List all registered CVE source plugins and their status. |
| fetch_cve_from_all_sourcesA | Fetch CVE vulnerability template from ALL enabled sources. Useful for comparing data across different sources. |
| validate_waf_expressionA | Validate a Wirefilter rule expression. rule_type selects the scheme: 'waf' (HTTP L7 fields, default) or 'smart_firewall' (L3/L4 + JA4 fields; http.* fields are NOT available and will be rejected). Optionally test against custom test data. Returns a dictionary with valid (boolean) and error_message (string) when invalid. |
| validate_waf_expression_with_testsA | Validate a Wirefilter rule expression and match it against test data (mock data if none given). rule_type selects the scheme: 'waf' (HTTP L7, default) or 'smart_firewall' (L3/L4 + JA4; no http.* fields). Returns valid (boolean), error_message (string), matched (boolean), and test_error (string) if the test fails. |
| get_waf_contextB | Fetch WAF context from Wirefilter documentation about actions, expressions, fields, functions, operators and values. |
| get_rule_fieldsA | Fetch the live, authoritative Wirefilter field/function schema directly from the rules-validator for the given rule_type ('waf' = HTTP L7 fields; 'smart_firewall' = L3/L4 + JA4 fields, no http.*). This is the single source of truth and never drifts from what validation accepts — prefer it over the static wafcontext://fields resource when building expressions. Falls back to static context if the validator is unreachable. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| natural_waf_rule_generation_prompt | Outlines steps for generating a WAF rule from a natural language description |
| cve_waf_rule_generation_prompt | Outlines steps for generating a WAF rule from a CVE index |
| smart_firewall_rule_generation_prompt | Outlines steps for generating an L3/L4 + JA4 Smart Firewall rule (no http.* fields; actions block/allow) from a natural language description |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| waf_actions | Reference on actions available in the Rules language. |
| waf_expressions | Reference on expressions available in the Rules language. |
| waf_fields | Reference on fields available in the Rules language. |
| waf_functions | Reference on functions available in the Rules language. |
| waf_operators | Reference on operators available in the Rules language. |
| waf_values | Refernece on values available in the Rules language. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gen0sec/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server