ARTEX MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ARTEX_MODE | No | ssh (MCP remote) or local (MCP on the ARTEX host). | ssh |
| ARTEX_API_URL | No | ARTEX REST base — reached via curl through the transport (so in ssh mode this is localhost on the ARTEX host). | http://127.0.0.1:8787 |
| ARTEX_SSH_KEY | No | SSH private key path (preferred over password). | |
| ARTEX_MCP_BIND | No | http transport bind address. | 127.0.0.1 |
| ARTEX_MCP_PORT | No | http transport bind port. | 3009 |
| ARTEX_PASSWORD | Yes | ARTEX admin password. | |
| ARTEX_SSH_HOST | No | ARTEX host (ssh mode). | |
| ARTEX_SSH_PORT | No | SSH port. | 22 |
| ARTEX_SSH_USER | No | SSH user. | root |
| ARTEX_USERNAME | No | ARTEX admin user (literally ARTEX in the reference lab). | ARTEX |
| ARTEX_CONTAINER | No | ARTEX server container name. | artex-artex-1 |
| ARTEX_ALLOW_SHELL | No | true enables run_command / run_sudo_command. | false |
| ARTEX_PROJECT_DIR | No | compose dir (for artex_restart). | /opt/artex |
| ARTEX_PG_CONTAINER | No | PostgreSQL container name. | artex-postgres-1 |
| ARTEX_SSH_PASSWORD | No | SSH password (prefer key auth). | |
| ARTEX_MCP_TRANSPORT | No | stdio (for claude mcp add) or http (hosted service). | stdio |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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. |
| artex_list_profilesA | List all ARTEX LLM profiles (id, name, provider, model, base_url, rate_per_minute / rate_per_second, retry settings, active flag). |
| 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) |
| artex_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. |
| artex_list_tasksA | List all ARTEX tasks with status, goals, and findings counts. |
| artex_get_taskB | Get one task's full record (status, goals, config, timing). |
| artex_task_statsB | Live stats for a task: running flag, engine mode, goals total/met, in-flight intents, assets, and budget (tokens / turns). |
| 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. |
| 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). |
| 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). |
| 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. |
| 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. |
| 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. |
| artex_docker_psA | List Docker containers on the ARTEX host (name, status, image). |
| artex_docker_logsC | Tail a container's logs (default: the ARTEX server container). |
| 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. |
| artex_restartA | Restart the ARTEX stack: |
| artex_full_diagnosticA | One-shot ARTEX health check — the first move for any troubleshooting:
|
| 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). |
| run_sudo_commandB | Run a shell command with |
| read_fileC | Read a file on the ARTEX host. |
| write_fileB | Write content to a file on the ARTEX host (overwrites). Base64-safe transfer. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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.