BotArmor: LLM red teaming for chatbots
v0.2.1LLM red teaming and prompt injection testing for chatbots and AI agents: A-F grade, prompt fixes.
Values you need
| Variable | What it is | |
|---|---|---|
BOTARMOR_API_KEY | required secret | BotArmor API key (ba_live_...), from the client area, tab API |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add botarmor -e 'BOTARMOR_API_KEY=<BOTARMOR_API_KEY>' -- npx -y --package=@botarmor/mcp@0.2.1 botarmor-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"botarmor": {
"args": [
"-y",
"--package=@botarmor/mcp@0.2.1",
"botarmor-mcp"
],
"command": "npx",
"env": {
"BOTARMOR_API_KEY": "<BOTARMOR_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"botarmor": {
"args": [
"-y",
"--package=@botarmor/mcp@0.2.1",
"botarmor-mcp"
],
"command": "npx",
"env": {
"BOTARMOR_API_KEY": "<BOTARMOR_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "BOTARMOR_API_KEY",
"id": "botarmor-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"botarmor": {
"args": [
"-y",
"--package=@botarmor/mcp@0.2.1",
"botarmor-mcp"
],
"command": "npx",
"env": {
"BOTARMOR_API_KEY": "${input:botarmor-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.botarmor]
command = "npx"
args = ["-y", "--package=@botarmor/mcp@0.2.1", "botarmor-mcp"]
env = { "BOTARMOR_API_KEY" = "<BOTARMOR_API_KEY>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http botarmor https://app.botarmor.eu/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"botarmor": {
"args": [
"-y",
"mcp-remote",
"https://app.botarmor.eu/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"botarmor": {
"url": "https://app.botarmor.eu/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"botarmor": {
"type": "http",
"url": "https://app.botarmor.eu/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.botarmor]
command = "npx"
args = ["-y", "mcp-remote", "https://app.botarmor.eu/mcp"]For AI agents
- Ask the user for: BOTARMOR_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: start_audit, get_audit_status, get_audit_report, list_audits.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json