Skip to main content

An MCP exposing prompts and tools to help users write WAF rules, scenarios etc.

Reason this release was yanked:

bad tag

Project description

CrowdSec

Life is too short to write YAML, just ask nicely!

A Model Context Protocol (MCP) server to generate, validate, and deploy CrowdSec WAF rules & Scenarios.

Features

WAF Rules Features

  • WAF Rule Generation: Generate CrowdSec WAF rules from user input or a CVE reference
  • Validation: Validate syntaxical correctness of WAF rules
  • Linting: Get warnings and hints to improve your WAF rules
  • Deployment Guide: Step-by-step deployment instructions
  • Docker Test Harness: Spin up CrowdSec + nginx + bouncer to exercise rules for false positives/negatives
  • Nuclei Lookup: Quickly jump to existing templates in the official projectdiscovery/nuclei-templates repository for a given CVE

Scenarios Features

  • CrowdSec Scenarios Generation: Generate CrowdSec scenarios
  • Validation: Validate syntaxical correctness of scenarios
  • Linting: Get warnings and hints to improve your scenarios
  • Deployment Guide: Step-by-step deployment instructions
  • Docker Test Harness: Spin up CrowdSec to test scenario behavior

Demo

WAF Rules Creation and testing

Scenario Creation and testing

  • XX
  • XX

Installation

Quick MCP client setup

  • Configure supported clients automatically with uvx run --from crowdsec-local-mcp init <client>, where <client> is one of claude-desktop, chatgpt, vscode, or stdio:
uvx --from crowdsec-local-mcp init

Logging

  • The MCP server writes its log file to your operating system's temporary directory. On Linux/macOS this is typically /tmp/crowdsec-mcp.log; on Windows it resolves via %TEMP%\crowdsec-mcp.log.

Pre Requisites

  • Docker + Docker Compose

  • Python >= 3.12

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crowdsec_local_mcp-0.0.2.tar.gz (72.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crowdsec_local_mcp-0.0.2-py3-none-any.whl (49.8 kB view details)

Uploaded Python 3

File details

Details for the file crowdsec_local_mcp-0.0.2.tar.gz.

File metadata

  • Download URL: crowdsec_local_mcp-0.0.2.tar.gz
  • Upload date:
  • Size: 72.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.3

File hashes

Hashes for crowdsec_local_mcp-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8ae77e5944fd1f038b970e262973b7c1512d34626a22dbfbbc5abd287cfa5cfc
MD5 ea39c5c91ed238178cb19ae17e0b6350
BLAKE2b-256 d9504ee63ee95a5ec001b4ba3763e74501810d852a35c6be4a12c0fa589094f2

See more details on using hashes here.

File details

Details for the file crowdsec_local_mcp-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for crowdsec_local_mcp-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ea82851377f66020f6c915dc4ddeaa7ac9354ab4d0e4ae597b03d6284f093780
MD5 27075f51e0c5bd24bd4672a07e16ea59
BLAKE2b-256 862092a1c4f26a531bf1a1ee9fb45dafee1e837af0ccf03a0ffed707f44bd63e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page