1. Conduid
  2. Developer Tools
  3. Crowdsec Local MCP
MCP server · Developer Tools

Crowdsec Local MCP

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

Unclaimed MIT last commit 6 months ago devtools
61Good

Scored yesterday · breakdown

About Crowdsec Local MCP

Crowdsec Local MCP is an MCP server published by crowdsecurity in the Developer Tools category: an MCP exposing prompts and tools to help users write WAF rules, scenarios etc. It has been installed 0 times through Conduid.

The repository has 11 stars and 2 forks, with the last commit 6 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx crowdsec-local-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Crowdsec Local MCP

Powered by Claude · Grounded in docs

I know everything about Crowdsec Local MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.9.2v0.9.2 · 28 Jul 2026What's Changed allow mixed and/or + warning to escape double-quotes and others in the \xHH form by @buixor in https://github.com/crowdsecurity/crowdsec-local-mcp/pull/36 Full Changelog**:…
v0.9.1v0.9.1 · 10 Mar 2026What's Changed fix tainted releases by @buixor in https://github.com/crowdsecurity/crowdsec-local-mcp/pull/33 Full Changelog**: https://github.com/crowdsecurity/crowdsec-local-mcp/compare/v0.9.0...v0.9.1
v0.9.0v0.9.0 · 5 Mar 2026What's Changed Improve further WAF generation: add one last verification step, and ensure LLM run tests @buixor in https://github.com/crowdsecurity/crowdsec-local-mcp/pull/30 fix the workflow for pypi and prerelease tags by @buixor in…
v0.8.0v0.8.0 · 4 Feb 2026What's Changed pull the correct repository by @buixor in https://github.com/crowdsecurity/crowdsec-local-mcp/pull/28 add tools to help the user prepare PRs to the hub by @buixor in…
v0.7.0v0.7.0 · 30 Oct 2025What's Changed First public release : Scenarios & WAF rules creation and testing MCPB and UV packages Full Changelog**: https://github.com/crowdsecurity/crowdsec-local-mcp/compare/v0.5.0...v0.7.0

README

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

Prerequisites

  • uv 0.4 or newer, which provides the uvx runner used in the examples below.
  • Docker with the Compose plugin (Compose v2).

Installation

You can install the MCP using uvx or use packaged .mcpb file for claude code.

Using .mcpb package

If you're using claude desktop, you can configure the MCP directly by double-clicking the .mcpb file that accompanies the release.

[!IMPORTANT] On MacOS, configure uv path in the extension settings if uv isn't installed in the standard path.

Using uvx

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

Run uvx --from crowdsec-local-mcp init --help to see all flags and supported targets.

What init configures

The init helper writes the CrowdSec MCP server definition into the client’s JSON configuration:

  • claude-desktopclaude_desktop_config.json in the Claude Desktop settings directory
  • claude-code → invoke claude mcp command with needed args
  • chatgptconfig.json in the ChatGPT Desktop settings directory
  • vscodemcp.json for VS Code (stable and insiders are both detected)

If the client's configuration file already exists, a .bak backup is created before the MCP server block is updated. When the file is missing you can either pass --force to create it, or point --config-path to a custom location. Combine --dry-run with these options to preview the JSON without making any changes.

By default the CLI launches the server with uvx --from crowdsec-local-mcp crowdsec-mcp. If neither uvx nor uv is available, it falls back to your current Python interpreter; you can override the executable with --command and the working directory with --cwd.

Using the stdio target

stdio does not modify any files. Instead, init stdio prints a ready-to-paste JSON snippet that you can drop into any stdio-compatible MCP client configuration. This is useful when you want to manually wire the server into tools that do not have built-in automation support yet.

Troubleshooting

If you just installed the mcp extension via .mcpb and uv or uvx isn't in the standard path, check the extension settings to configure uv path.

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.

README mirrored from the source repository yesterday. The original is authoritative.

Questions

About Crowdsec Local MCP

How do I install Crowdsec Local MCP?

Run npx crowdsec-local-mcp, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Crowdsec Local MCP safe to use with an AI agent?

Its trust score is 61 out of 100 (good). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Crowdsec Local MCP still maintained?

Yes — the latest release is v0.9.2 (28 Jul 2026), and the last commit was 6 months ago. The repository has 11 stars and 0 open issues.