ban_ip
Prepare and audit a cscli command to add a CrowdSec ban decision for a specific IP, returning the command for review without executing changes.
Instructions
Prepare and audit a potential cscli command to add a CrowdSec ban decision for one IP. The MCP does not execute it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ip": "<ip>",
"reason": "<reason>"
},
"name": "ban_ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 or IPv6 address to inspect or operate on. | |
| reason | Yes | ||
| execute | No | Legacy no-op flag. The MCP never executes writes; it only prepares an audited potential cscli command. | |
| duration | No | 4h |