← Back to Plugins
MCP Server MCP

io.github.egoughnour/code-firewall-mcp

github By github 👁 1 views ▲ 0 votes

Structural similarity-based code filter. Stops malicious code pattern reaching execution tools.

Homepage Verified source GitHub

Install

uvx code-firewall-mcp

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "code-firewall-mcp",
      "version": "0.7.0",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Directory for storing ChromaDB data",
          "format": "string",
          "name": "FIREWALL_DATA_DIR"
        },
        {
          "description": "URL for Ollama server (default: http://localhost:11434)",
          "format": "string",
          "name": "OLLAMA_URL"
        },
        {
          "description": "Ollama embedding model (default: nomic-embed-text)",
          "format": "string",
          "name": "EMBEDDING_MODEL"
        },
        {
          "description": "Block threshold 0-1 (default: 0.85)",
          "format": "string",
          "name": "SIMILARITY_THRESHOLD"
        }
      ]
    },
    {
      "registryType": "mcpb",
      "identifier": "https://github.com/egoughnour/code-firewall-mcp/releases/download/v0.7.0/code-firewall-mcp.mcpb",
      "fileSha256": "aaa0a4256f7402f950d2fe6bbf95e262a36aa84d95c32e94401e263801a387b4",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Directory for storing ChromaDB data",
          "format": "string",
          "name": "FIREWALL_DATA_DIR"
        },
        {
          "description": "URL for Ollama server (default: http://localhost:11434)",
          "format": "string",
          "name": "OLLAMA_URL"
        },
        {
          "description": "Ollama embedding model (default: nomic-embed-text)",
          "format": "string",
          "name": "EMBEDDING_MODEL"
        },
        {
          "description": "Block threshold 0-1 (default: 0.85)",
          "format": "string",
          "name": "SIMILARITY_THRESHOLD"
        }
      ]
    }
  ]
}
mcp model-context-protocol pypi mcpb

Comments

Sign in to leave a comment

Loading comments...