
crowdsecurity/crowdsec-local-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP는 사용자가 WAF 규칙, 시나리오 등을 작성하는 데 도움이 신속한 및 도구를 폭발합니다.
개요
CrowdSec WAF 규칙 및 Scenarios를 생성, 검증 및 배포하는 모델 Context Protocol (MCP) 서버. - : 사용자 입력 또는 CVE 참조에서 CrowdSec WAF 규칙 생성 - : WAF 규칙의 구문 결정 - : 경고 및 힌트를 사용하여 WAF 규칙을 개선하십시오 - : 단계별 배포 지침 - : CrowdSec + nginx + false 긍정적 인 / 부정 행위에 대한 규칙을 연습하기 위해 CrowdSec + nginx + Bouncr - : 공식 프로젝트 디커버리 / Nuclei-templates의 기존 템플릿으로 빠르게 점프 - : CrowdSec 시나리오 생성 - : 시나리오의 구문 정정을 검증 - : 귀하의 시나리오를 개선하기 위해 경고와 힌트를 가져옵니다 - : 단계별 배포 지침 - : CrowdSec을 테스트 시나리오 행동 - 자연적인 언어의 규칙 창조 - CVE 참고에서 규칙 창조 - HTTP 이벤트에 대한 규칙 작성 - GeoLocation 요소를 기반으로하는 규칙 생성 - uv 0.4 또는 newer, 아래 예제에서 사용되는 uvx 런너를 제공합니다.
개요(AI 번역)
** 생활은 너무 짧은 YAML을 작성, 그냥 잘 부탁!**
CrowdSec WAF 규칙 및 Scenarios를 생성, 검증 및 배포하는 모델 Context Protocol (MCP) 서버.
특징
WAF 규칙 특징
- **WAF 규칙 생성 **: 사용자 입력 또는 CVE 참조에서 CrowdSec WAF 규칙 생성
- ** 신청**: WAF 규칙의 구문 결정
- Linting: WAF 규칙을 개선하기 위해 경고와 힌트를 얻으십시오.
- Deployment Guide: 단계별 배포 지침
- Docker Test 마구: CrowdSec + nginx + false Positives/negatives를 위한 운동 규칙에 도약기
- Nuclei Lookup: 공식
projectdiscovery/nuclei-templates]의 기존 템플릿으로 빠르게 이동
Scenarios 특징
- CrowdSec Scenarios Generation: CrowdSec 시나리오 생성
- ** 신청**: 시나리오의 구문 결정
- Linting: 경고와 힌트를 가져와 시나리오를 개선
- Deployment Guide: 단계별 배포 지침
- Docker Test 마구: CrowdSec을 테스트 시나리오 동작
데모
WAF 규칙 창조와 테스트
- 자연 언어의 규칙 작성
- CVE 참조의 규칙 생성
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 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-templatesrepository 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
uvxrunner 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
uvpath in the extension settings ifuvisn’t installed in the standard path.
Using uvx
- Configure supported clients automatically with
uvx --from crowdsec-local-mcp init, where `` is one ofclaude-desktop,claude-code,chatgpt,vscode, orstdio:
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-desktop→claude_desktop_config.jsonin the Claude Desktop settings directoryclaude-code→ invokeclaude mcpcommand with needed args
설치
uvx --from crowdsec-local-mcp init --dry-run claude-code