crowdsec-ops-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@crowdsec-ops-mcpshow top offending IPs in the last 24h"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
crowdsec-ops-mcp
crowdsec-ops-mcp is a local MCP server for CrowdSec operations.
It exposes CrowdSec decisions, alerts, summaries, and safe single-IP action proposals to MCP clients. It is intentionally CrowdSec-only: it does not connect to VictoriaMetrics, VictoriaLogs, Grafana, Snort, reverse proxies, or Docker.
Supported runtime reads use CrowdSec LAPI. Actual cscli reads or cscli execution are not supported by the MCP today; write tools only generate cscli command text for an operator to review and run outside the MCP if appropriate.
Contents
Related MCP server: LimaCharlie MCP
What You Can Do
Check whether the CrowdSec backend is reachable.
Inspect active decisions and recent alerts for one IP.
Summarize recent CrowdSec activity.
Find top offending source IPs.
Generate scenario-tuning proposals from repeated alert patterns.
Prepare audited single-IP ban, allow, or unban commands for manual review.
Write tools do not execute CrowdSec changes. They validate a single IP, prepare a plausible cscli command for an operator to review, append the prepared intent to the JSON Lines audit log, and return executed=false.
Getting Started
See ONBOARDING.md for installation, deployment, MCP client configuration, first tool calls, safety notes, and troubleshooting.
See docs/decision-inventory-example.md for example decision_inventory tool calls.
Tools
crowdsec_health(include_sample_counts=false)inspect_ip(ip, window?)security_summary(window?)top_offenders(window?)recent_crowdsec_decisions(window?)decision_inventory(action?, origin?, scenario?, country?, asn?, ip?, limit?, expiring_soon_hours?, long_lived_days?)recent_crowdsec_alerts(window?)suggest_scenario(window?)unban_ip(ip, reason?, execute=false)allow_ip(ip, duration?, reason, execute=false)ban_ip(ip, duration?, reason, execute=false)
Configuration
Variable | Purpose |
| CrowdSec LAPI base URL. Required for supported read operation. |
| CrowdSec LAPI key for decision reads. |
| Command name/path used only when formatting prepared |
| Default lookback window, defaults to |
| JSON Lines audit trail for prepared write intents, defaults to |
| Python log level, defaults to |
Project Documents
ONBOARDING.md: user installation and first-use guide
CHANGELOG.md: version history
docs/decision-inventory-example.md: example
decision_inventorytool callsdocs/agent-usage.md: agent prompt patterns and investigation guidance
docs/development.md: local development workflow
docs/roadmap.md: project roadmap
docs/release-notes/v0.2.1.md: release notes for
v0.2.1docs/RELEASE.md: release process
docs/pull-request-rules.md: pull request rules
docs/release-notes-template.md: release notes template
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceRead-only MCP server for safe Kubernetes inspection, diagnosis, and debugging. Supports Kubernetes core, Helm, Argo Workflows, and Argo CD.Last updated2644MIT
- AlicenseCqualityBmaintenanceA local MCP server for the LimaCharlie security platform that provides investigation, administration, and content-review workflows via a broad read-only tool surface with explicit organization scoping and audit logging.Last updated100MIT
- Alicense-qualityCmaintenanceA read-only MCP server that exposes CrowdSec decisions and alerts via the LAPI. Provides tools such as list_decisions, decisions_stream, list_alerts, and get_alert.Last updatedMIT
- Alicense-qualityBmaintenanceLocal MCP server for Survey Solutions Headquarters workflows, enabling connection profile management, read operations, export handling, and guarded fieldwork/admin actions through natural language.Last updatedMIT
Related MCP Connectors
A paid remote MCP for hosted MCP server, built to return verdicts, receipts, usage logs, and audit-r
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/frli4797/crowdsec-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server