ARTEX MCP Server
Click on "Deploy 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., "@ARTEX MCP Server launch a scan on example.com and report findings as they come in"
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.
CyberHawk Threat Intel
⚠️ Authorized security research & penetration testing only. Unauthorized use is illegal.
Overview
ARTEX MCP gives Claude Code (or any MCP client) direct control of an ARTEX autonomous penetration-testing deployment — 22 tools covering the full lifecycle: launch and monitor scans, inspect findings and the agent activity stream, manage LLM profiles, and operate / diagnose the Docker stack, without leaving your assistant.
ARTEX is a closed-loop multi-agent pentest engine (Go + Next.js + PostgreSQL): a planner decomposes a goal into intents, worker agents run real tools (nmap, nuclei, ffuf, sqlmap, bbot, Playwright), findings flow into a fact graph, and an adversarial gate verifies them. This MCP is the control plane for it.
Built by CyberHawk Threat Intel.
What it does:
Run — create tasks with an LLM profile chain, list/get tasks, live stats, delete stale tasks, reopen blocked intents
Use — list findings, stream real-time worker/planner activity, run ad-hoc SQL, purge the global asset graph
Operate — LLM profile switch,
docker ps/logs, agentcore warm-up, fulldown && up -drestart (reloads.env)Diagnose — one-shot health check (containers + API + active profile + findings + error logs)
VM ops — gated shell (
run_command/run_sudo_command) and file read/write on the ARTEX host
It talks to ARTEX two ways: the REST API (JWT auth) for engine control, and the PostgreSQL DB / Docker (via docker exec) for findings, activity, and lifecycle — reached either locally (MCP on the ARTEX host) or over SSH (MCP remote; API calls tunnel through the SSH channel so they work even when the API port is firewalled off).
Related MCP server: Claude Code MCP Bridge
Quick Install (One Command)
Claude Code — run ARTEX MCP straight from GitHub with uv (uvx), no manual clone/build:
claude mcp add artex-mcp -s user \
-e ARTEX_MODE=ssh \
-e ARTEX_SSH_HOST=your-artex-host \
-e ARTEX_SSH_USER=youruser \
-e ARTEX_SSH_KEY=/home/you/.ssh/artex_key \
-e ARTEX_USERNAME=ARTEX \
-e ARTEX_PASSWORD=your-artex-admin-password \
-- uvx --from git+https://github.com/rudraverma/artex-mcp artex-mcpThat's it — the tools load as mcp__artex-mcp__*. (pipx equivalent: pipx run --spec git+https://github.com/rudraverma/artex-mcp artex-mcp.)
Config Block (Claude Desktop / other MCP clients)
Add to claude_desktop_config.json (%APPDATA%\Claude\ on Windows, ~/Library/Application Support/Claude/ on macOS):
{
"mcpServers": {
"artex-mcp": {
"command": "uvx",
"args": ["--from", "git+https://github.com/rudraverma/artex-mcp", "artex-mcp"],
"env": {
"ARTEX_MODE": "ssh",
"ARTEX_SSH_HOST": "your-artex-host",
"ARTEX_SSH_USER": "youruser",
"ARTEX_SSH_KEY": "/home/you/.ssh/artex_key",
"ARTEX_USERNAME": "ARTEX",
"ARTEX_PASSWORD": "your-artex-admin-password"
}
}
}
}From Source (offline / air-gapped / development)
git clone https://github.com/rudraverma/artex-mcp.git
cd artex-mcp
pip install -e .
cp .env.example .env # edit with your ARTEX host details
artex-mcp # stdio by default; set ARTEX_MCP_TRANSPORT=http to serve streamable-httpThen point your client at the artex-mcp command (stdio), or at http://<host>:3009/mcp when run with ARTEX_MCP_TRANSPORT=http.
Environment Variables
Variable | Default | Description |
|
|
|
|
| ARTEX REST base — reached via curl through the transport (so in ssh mode this is localhost on the ARTEX host) |
|
| ARTEX admin user (literally |
| — | ARTEX admin password |
| — | ARTEX host (ssh mode) |
|
| SSH port |
|
| SSH user |
| — | SSH private key path (preferred over password) |
| — | SSH password (prefer key auth) |
|
| PostgreSQL container name |
|
| ARTEX server container name |
|
| compose dir (for |
|
|
|
|
|
|
|
| http transport bind |
Tool Reference
Health & LLM profiles
Tool | Description |
| API reachability + active LLM profile / rate limits — run first |
| All LLM profiles (id, model, provider, rate limits, active flag) |
| Set active profile by id (5=Super 120B · 4=Ultra 550B · 3=Lightning 30B) |
Tasks (run / use)
Tool | Description |
| Create + auto-start a task ( |
| All tasks with status / goals / findings |
| One task's full record |
| Live stats — running, engine mode, goals met, in-flight, assets, budget |
| Delete a task (clear stale tasks after a restart) |
| Reopen blocked intents (after a 429 storm, prefer a fresh task) |
Findings / activity / DB (inspect)
Tool | Description |
| Findings (vulnclass, severity, verification_status), optional per-task |
| Real-time worker/planner activity stream for a task |
| Raw SQL against the ARTEX PostgreSQL DB |
| TRUNCATE the global asset graph for a lean fresh run |
Operate
Tool | Description |
| List containers on the ARTEX host |
| Tail a container's logs (default the ARTEX server) |
|
|
|
|
Diagnose
Tool | Description |
| One-shot: containers + API + active profile + recent findings + error logs |
VM ops (gated)
Tool | Description |
| Arbitrary shell on the ARTEX host — needs |
|
|
| Read / write a file on the ARTEX host (base64-safe) |
Example Usage in Claude Code
Check ARTEX health and tell me which LLM profile is activeLaunch a full pentest of https://example.com using the Super 120B profileShow live activity for task 26 and its current findingsTask 25 is stuck idle after a 429 storm — delete it, purge assets, and start a fresh oneRun a full diagnostic on ARTEX — containers, API, errorsArchitecture
Claude Code / MCP client
│ MCP (stdio, or streamable-http)
▼
artex-mcp server (Python / FastMCP)
│
├── ArtexApi ── curl (JWT) ─────► ARTEX REST API :8787 (tasks, stats, LLM profiles)
│ (via transport, so localhost-on-host in ssh mode)
│
└── ArtexTransport
├── local → subprocess ──► docker exec psql / docker / compose
└── ssh → paramiko ───► ARTEX host (your-artex-host)
├── artex-artex-1 (engine)
└── artex-postgres-1 (findings / activity / assets)Requirements
Python 3.10+ (deps:
mcp,paramiko,python-dotenv)An ARTEX deployment reachable in
localorsshmode, withcurl+ Docker on the hostARTEX admin credentials (REST API JWT login)
Security Notes
Use SSH key auth; never commit
.env(it is git-ignored).run_command/run_sudo_commandare off by default — enable withARTEX_ALLOW_SHELL=trueonly when you need host shell access.artex_db_queryhas full SQL access andartex_restartterminates running tasks — both are intentional operate tools; use deliberately.Launch scans only against targets you own or are explicitly authorized to test. ARTEX runs real exploit tooling.
Disclaimer
Authorized security research & penetration testing only. Unauthorized use is illegal.
This MCP server provides full control of an autonomous penetration-testing engine that runs live offensive tooling. Use only on infrastructure you own or have explicit written authorization to test. CyberHawk Threat Intel and Rudra Verma accept no liability for misuse.
Connect with CyberHawk Threat Intel
License
MIT License — see LICENSE for details.
Rudra Verma | Senior Cyber Security Architect & Researcher | CyberHawk Threat Intel
Available Tools
22 toolsartex_create_taskA
Create (and auto-start) an ARTEX pentest task.
goal: natural-language objective. The goal gate REQUIRES it to name a concrete target (URL / domain / IP / path) OR be >= 80 chars, else the task is rejected. Example: "Full penetration test of https://example.com: enumerate subdomains and services, find and verify vulnerabilities, and report all findings." profile_ids: ordered LLM profile chain; the FIRST entry drives the planner. Omit to use the currently-active profile. rotate: if True (llm_rotate), worker intents rotate across profile_ids — use for a fast-planner / deep-worker split.
AUTHORIZED TARGETS ONLY. Only launch against assets you own or have explicit written authorization to test.
Inputs: goal (required), rotate, profile_ids. Returns: result
artex_db_queryA
Run a raw SQL query against the ARTEX PostgreSQL DB (psql -t) for ad-hoc inspection of explorations, goals, assets, findings, or activity. Full SQL access — prefer read-only SELECTs unless you intend to modify engine state.
Inputs: sql (required). Returns: result
artex_delete_taskB
Delete an ARTEX task. Use to clear stale tasks after a container restart (the resume-mode bug marks them 'started' -> 0 goals -> instant 'done') before creating fresh ones.
Inputs: task_id (required). Returns: result
artex_docker_logsC
Tail a container's logs (default: the ARTEX server container).
Inputs: tail, container. Returns: result
artex_docker_psA
List Docker containers on the ARTEX host (name, status, image).
Inputs: no named parameters. Returns: result
artex_full_diagnosticA
One-shot ARTEX health check — the first move for any troubleshooting:
container status 2. API reachability + active profile/rate limits
task list 4. recent findings 5. recent error log lines
Inputs: no named parameters. Returns: result
artex_get_taskB
Get one task's full record (status, goals, config, timing).
Inputs: task_id (required). Returns: result
artex_healthA
Confirm the ARTEX API is reachable and show the active LLM config (active profile, model, rate_per_minute / rate_per_second). Run this FIRST in any ARTEX session to verify connectivity and which model is driving the engine.
Inputs: no named parameters. Returns: result
artex_list_findingsA
List findings (id, task_id, vulnclass, severity, verification_status, name). Optionally filter by task_id. verification_status 'verified' means the adversarial gate confirmed it (only verified findings satisfy a goal).
Inputs: limit, task_id. Returns: result
artex_list_profilesA
List all ARTEX LLM profiles (id, name, provider, model, base_url, rate_per_minute / rate_per_second, retry settings, active flag).
Inputs: no named parameters. Returns: result
artex_list_tasksA
List all ARTEX tasks with status, goals, and findings counts.
Inputs: no named parameters. Returns: result
artex_purge_assetsA
TRUNCATE the GLOBAL asset graph (assets CASCADE) for a lean restart. The asset graph is shared across ALL tasks (assets.task_ids), so stale assets from prior targets bloat every planner context. Leaves findings / explorations / activity intact. Do this before a fresh run on a new target.
Inputs: no named parameters. Returns: result
artex_rerun_blocked_intentsA
Reopen a task's blocked intents (POST /api/tasks/{id}/intents/rerun-blocked). NOTE: after a provider 429 storm the run loop may not reclaim them and the task sits engine_mode=idle — in that case prefer deleting it and creating a FRESH task (a new exploration gets a fresh run loop).
Inputs: task_id (required). Returns: result
artex_restartA
Restart the ARTEX stack: docker compose down && up -d (this RELOADS .env;
docker compose restart alone does NOT), then warm up agentcore.
WARNING: terminates running tasks — afterward delete stale tasks (resume-mode
bug) and create fresh ones. Requires ARTEX_PROJECT_DIR.
Inputs: no named parameters. Returns: result
artex_set_active_profileA
Set the active ARTEX LLM profile by id. Persists in the DB and rebuilds the provider (so DB rate-limit changes take effect). Reference lab profiles: 5 = Nemotron Super 120B — balanced default (fast + correct tool-calls) 4 = Nemotron Ultra 550B — deepest exploitation (proven findings) 3 = Nemotron Lightning 30B — fastest, but shallow (tends to bail)
Inputs: profile_id (required). Returns: result
artex_task_activityB
Recent worker/planner activity for a task (worker, kind, tool, summary, time) — the real-time stream of tool calls and reasoning. Best way to see what the agents are actually doing right now.
Inputs: task_id (required), limit. Returns: result
artex_task_statsB
Live stats for a task: running flag, engine mode, goals total/met, in-flight intents, assets, and budget (tokens / turns).
Inputs: task_id (required). Returns: result
artex_warmupA
Warm up agentcore after a (re)start: docker exec kill -3 1. The first /api/llm/test after boot always times out until agentcore finishes its >30s one-time init; this goroutine-dump forces it. Run ~10s post-start.
Inputs: no named parameters. Returns: result
read_fileC
Read a file on the ARTEX host.
Inputs: path (required). Returns: result
run_commandA
Run an arbitrary shell command on the ARTEX host (as the SSH/local user). Gated: set ARTEX_ALLOW_SHELL=true to enable (off by default for safety).
Inputs: command (required), timeout. Returns: result
run_sudo_commandB
Run a shell command with sudo -n on the ARTEX host.
Gated: set ARTEX_ALLOW_SHELL=true to enable.
Inputs: command (required), timeout. Returns: result
write_fileB
Write content to a file on the ARTEX host (overwrites). Base64-safe transfer.
Inputs: path (required), content (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Most tools target a distinct resource+action (tasks, findings, profiles, docker, files, shell). The main overlaps are between artex_health and artex_full_diagnostic, and among artex_task_stats / artex_task_activity / artex_db_query, but descriptions clarify that one is a one-shot rollup, one is live counters, one is a tool-call stream, and one is raw SQL. run_command vs run_sudo_command is clearly delineated by privilege level.
The bulk of the surface uses a consistent artex_ prefix with snake_case verb_noun names (artex_list_tasks, artex_get_task, artex_create_task). The host-level utilities (run_command, run_sudo_command, read_file, write_file) drop the prefix, which is a minor but noticeable deviation. Verb style itself is consistent (list/get/create/delete/run/read/write).
22 tools is on the heavy side but the domain genuinely spans task orchestration, findings, LLM profiles, diagnostics, Docker, DB access, and host file/shell operations. Each tool maps to a distinct operation with no obvious filler, though artex_warmup and artex_purge_assets are narrow niche helpers that could arguably be folded into diagnostics/restart.
Task lifecycle is partial: create/list/get/stats/delete exist but there is no stop/pause/cancel-task or update-task operation, so agents must resort to delete or a full stack restart to halt work. Findings are read-only (no get-by-id, no manual create/verify), profiles cannot be created or edited (only listed and activated), and assets can only be purged, not listed — notable gaps for a pentest platform.
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
MCP facade over the Nebelus Construction API. ~48 tools give full agent build parity: create/update/probe agents, edit graphs, attach knowledge and vector stores, wire connectors, set governance policies and locked guardrails, enable grounding-trace, and read deployment wiring. Purpose-built for regulated industries: data residency is enforced per region (EU / GCC-KSA), with PII controls and an audit trail. Agents are created as drafts — no deploy tool is exposed over MCP by design; publishing happens in the Nebelus console.
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceWraps common web penetration testing tools in a Docker container and exposes them as Claude tools for educational use in controlled lab environments.-
- FlicenseNot gradedqualityDmaintenanceExposes Claude Code's file editing, command execution, and test running capabilities as composable MCP tools for any MCP-compatible host, enabling code operations via a stateless bridge.-
- FlicenseNot gradedqualityDmaintenanceEnables Claude or any MCP-compatible client to execute cybersecurity workflows like incident response, cloud audits, and pentests by calling tools with 323 prompts across 8 categories.1-
- FlicenseNot gradedqualityBmaintenanceExposes 21 tools over stdio that let any MCP-capable AI agent run real Kali-container security tools (nmap, nuclei, sqlmap, Metasploit), search a local 59,000+ CVE vulnerability database, and browse a 5,266-entry GitHub security tool index. Built-in guardrails refuse government, education, and military domains, and only whitelisted in-container executables can be invoked.3-