blackarch-AI MCP Server
Enables red-team and blue-team security workflows on BlackArch Linux by wrapping local tools like nmap, gobuster, nikto, and hydra as MCP tools, with scope-gating that prevents unauthorized scanning against any target not explicitly listed in a local scope.yaml file.
README
blackarch-AI
A scope-gated MCP server and set of Claude Code Skills for red-team and blue-team security workflows on BlackArch Linux.
What this is
- MCP server (
src/blackarch_ai_mcp/) — wraps local security tools (nmap, gobuster, nikto, hydra, plus local blue-team audits) as MCP tools, so any MCP-compatible client can call them. - Claude Code Skills (
.claude/skills/) — markdown playbooks that walk through red-team and blue-team workflows using those tools.
Safety model: scope-gating
No red-team tool will run against a target that isn't explicitly authorized. Every tool that touches a network target (nmap_scan, gobuster_dir, nikto_scan, hydra_bruteforce) checks scope.yaml first and refuses with a clear message if the target isn't listed with valid, non-expired authorization.
cp scope.example.yaml scope.yaml
# edit scope.yaml: add host/cidr, authorized_by, authorization_ref, expires
scope.yaml is gitignored — it's local, never published. See docs/SCOPE.md for the full contract.
Blue-team tools (audit_listening_ports, audit_suid_world_writable, review_auth_log, lint_ssh_config, audit_pacman_packages, crack_hash_offline) are local-only and not gated — they never touch a third party.
This project does not grant authorization to test anything. You are responsible for having explicit, written permission before pointing any red-team tool at a target. Unauthorized scanning/exploitation of systems you don't own or have written permission to test is illegal in most jurisdictions.
Install
sudo pacman -S --needed python-uv
uv sync
Run the MCP server standalone
uv run python -m blackarch_ai_mcp.server
Register with Claude Code
claude mcp add blackarch-ai -- uv --directory /path/to/blackarch-ai run python -m blackarch_ai_mcp.server
Then in a Claude Code session, invoke a Skill (e.g. "run a host audit", or /blue-team-host-audit if slash-invocation is enabled) or call an mcp__blackarch-ai__* tool directly.
Layout
See docs/ARCHITECTURE.md for how the pieces fit together and docs/TOOLS.md for the full tool reference.
Tests
uv run pytest
License
MIT — see LICENSE.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.