Hospital WAF MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WAF_MCP_HOST | No | Bind address for network transports in MCP server | 127.0.0.1 |
| WAF_MCP_PORT | No | Listen port for network transports in MCP server | 8000 |
| WAF_RULES_FILE | No | Path to the regex rule JSON used by WAFEngine | rules/waf_rules.mcp.json |
| WAF_MCP_TRANSPORT | No | Transport mode for MCP server: stdio, http, or sse | stdio |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| waf_check_requestB | 对 HTTP 请求做 WAF 规则检测,返回命中的告警列表(无命中则为空列表)。url 建议包含完整查询串。 |
| waf_rule_statsA | 返回当前已加载规则的统计:含 rules_file、compiled_rules、compile_failed、compile_errors(截断)及分类计数。 |
| waf_reload_rulesA | 重新从磁盘加载 WAF_RULES_FILE(或默认 rules/waf_rules.mcp.json)并编译。用于修改规则文件后无需重启 MCP。 |
| waf_run_self_testsA | 运行内置 SQLi/XSS/命令注入/路径遍历样例,用于快速验证引擎是否检出攻击。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
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/12211725-star/hospital-waf-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server