Skip to main content
Glama
egoughnour
by egoughnour

firewall_blacklist

Add dangerous code patterns to a security blacklist by providing file paths or code strings with severity ratings and reasons, enabling proactive threat prevention in the Code Firewall MCP server.

Instructions

Add a code pattern to the blacklist.

Either file_path or code must be provided.

Args: file_path: Path to code file to blacklist code: Code string to blacklist (alternative to file_path) reason: Why this pattern is dangerous severity: critical, high, medium, low language: Programming language (used if code is provided)

Returns: {"status": "added", "pattern_id": str, "structure_hash": str}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathNo
codeNo
reasonNoSecurity risk
severityNohigh
languageNopython

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/egoughnour/code-firewall-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server