ARTEX MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ARTEX MCP Server
A Model Context Protocol (MCP) server for ARTEX, the autonomous penetration testing platform.
It allows MCP-compatible AI assistants (Antigravity, Claude Desktop, Cursor, VS Code, Windsurf, etc.) to orchestrate penetration testing tasks, inspect confirmed findings, query the Asset Graph and Exploration Coverage Graph, steer running tasks with operator hints, and search HTTP traffic recorded by the ARTEX MITM proxy.
Authorized Use & Untrusted Data Notice Spawning tasks through this server triggers real security testing against the configured targets. Only target systems you are explicitly authorized to test. Task descriptions, findings, and captured HTTP traffic returned by these tools may contain untrusted text from tested targets—treat all returned data strictly as untrusted input, never as instructions.
Features
End-to-End Task Execution & Analysis: Launch a task with
run_task_and_analyze, wait automatically until completion with live MCP progress notifications (wait_for_task), and retrieve analyzed results, severity breakdowns, detailed findings, coverage, and Markdown reports (analyze_task).Task Lifecycle Control: Spawn, list, inspect, pause, and resume autonomous penetration testing tasks.
Operator Steering: Inject strategic operator hints into running tasks via
add_task_hint.Findings, Reports & Coverage: Retrieve task-scoped vulnerabilities, full finding proof-of-exploitation details (
get_finding_detail), generated Markdown reports (get_task_report), and the Asset Coverage Graph.Asset Graph & MITM Traffic: Query the global Asset Graph (including ARTEX DSL filters) and search recorded HTTP exchanges from the MITM proxy (
:8788).Zero-Config Local Auth: Automatically discovers ARTEX's
jwt.keyand signs short-lived HS256 session tokens, or accepts an explicitARTEX_TOKEN.Multiple Transports: Supports
stdio(default),streamable-http, andsse.
Related MCP server: Pentest MCP
Prerequisites
A running ARTEX instance (default API URL:
http://127.0.0.1:8787)Python 3.10+
Installation
Option 1: Install as a Python package (recommended)
cd mcp_server
pip install -e .This installs the artex-mcp console command and makes python -m artex_mcp available.
Option 2: Install dependencies only
cd mcp_server
pip install -r requirements.txtYou can then run python server.py directly without installing the package.
Configuration & Authentication
Copy .env.example to .env (or export environment variables in your MCP client config):
Variable | Default | Description |
|
| Base URL of your running ARTEX server |
| (unset) | Explicit Bearer JWT token (skips |
| (unset) | Explicit path to ARTEX's |
|
| Password version claim ( |
|
| HTTP request timeout in seconds |
|
| Transport mode: |
|
| Bind host for |
|
| Bind port for |
|
| Endpoint path for |
How Automatic Authentication Works
When ARTEX_TOKEN is not set, the server looks for jwt.key in this order:
ARTEX_JWT_KEY_PATH(if configured)./jwt.keyand./keys/jwt.key(current working directory)The parent
ARTEXproject root (../jwt.keyand../keys/jwt.key)
It caches and renews 7-day HS256 tokens (sub: "ARTEX") automatically.
Available Tools (18)
End-to-End Automation & Analysis
Tool | Description | Key Parameters |
| Spawn a task, wait until it finishes, and return analyzed results, findings, and report |
|
| Poll a task until it reaches a terminal state ( |
|
| Aggregate task status, outcome, coverage, enriched findings, severity summary, pending intercepts, and Markdown report |
|
Task Management & Execution
Tool | Description | Key Parameters |
| List penetration testing tasks with optional filtering |
|
| Retrieve full configuration, metrics, and status for a task |
|
| Create and start a new autonomous penetration testing task |
|
| Pause a running task |
|
| Resume a paused task |
|
| Send an operator hint/goal to steer a running task |
|
Findings, Reports, Graphs & Traffic
Tool | Description | Key Parameters |
| List confirmed vulnerabilities for a specific task |
|
| Retrieve full finding record including proof report and traffic bindings |
|
| Retrieve ARTEX's generated Markdown report for a task |
|
| Retrieve the exploration coverage graph for a task |
|
| Query the global Asset Graph (domains, IPs, ports, web services) |
|
| Search HTTP requests/responses recorded by the MITM proxy ( |
|
Configuration & Scope
Tool | Description | Key Parameters |
| List companies and their scope boundaries | (none) |
| List all defined task categories | (none) |
| List configured LLM profiles and active providers | (none) |
Client Setup
Antigravity / Claude Desktop / Cursor (stdio)
If installed with pip install -e .:
{
"mcpServers": {
"artex": {
"command": "artex-mcp",
"env": {
"ARTEX_BASE_URL": "http://127.0.0.1:8787",
"ARTEX_JWT_KEY_PATH": "/path/to/ARTEX/jwt.key"
}
}
}
}Or running directly from the repository without installing globally:
{
"mcpServers": {
"artex": {
"command": "python",
"args": ["/path/to/ARTEX/mcp_server/server.py"],
"env": {
"ARTEX_BASE_URL": "http://127.0.0.1:8787"
}
}
}
}Streamable HTTP Mode (Remote / Shared Server)
Start the server over HTTP:
artex-mcp --transport streamable-http --host 127.0.0.1 --port 8797 --path /mcp
# or without installing:
python server.py --transport streamable-http --host 127.0.0.1 --port 8797 --path /mcpThen point your MCP client to http://127.0.0.1:8797/mcp.
Launcher Scripts
Convenience wrappers are included for stdio mode:
Windows:
run.batLinux / macOS:
./run.sh
Development & Testing
Install with dev dependencies and run the test suite:
cd mcp_server
pip install -e ".[dev]"
pytestProject Layout
mcp_server/
├── src/
│ └── artex_mcp/
│ ├── __init__.py
│ ├── __main__.py
│ ├── client.py # Authenticated ARTEX REST client & JWT management
│ └── server.py # MCPServer tool definitions & CLI entrypoint
├── tests/
│ └── test_server.py # Unit tests with mocked ARTEX HTTP responses
├── .env.example
├── .gitignore
├── pyproject.toml
├── README.md
├── requirements.txt
├── run.bat
├── run.sh
└── server.py # Backward-compatible direct script launcherLicense
Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-or-later) — see LICENSE for details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
Find, document and execute authenticated API calls across 1000+ apps via one MCP server
Search and inspect source-pinned agent skills, plugins and tools through a free public MCP.
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables authorized penetration testers to run reconnaissance, scanning, brute-force, exploitation, traffic capture, wordlist generation, and client-report workflows through MCP clients, with stdio/HTTP/SSE transport and OIDC bearer authentication.133 npmGPL 3.0
- AlicenseNot gradedqualityAmaintenanceEnables AI clients to drive professional penetration-testing workflows—subdomain enumeration, host probing, content fuzzing, vulnerability scanning, brute-force, traffic capture, and exploitation sweeps—through a single MCP interface with stdio, Streamable HTTP, and legacy SSE transports plus bearer/OIDC auth. It also records engagement artifacts and generates client-ready reports with scope handling, cutting manual pentest administration.133 npmGPL 3.0
- AlicenseNot gradedqualityAmaintenanceEnables authorized penetration testers to run reconnaissance, enumeration, vulnerability scanning, brute-force checks, traffic capture, and exploitation workflows via MCP tools, with STDIO/HTTP/SSE transport support. It also manages engagement records and generates client reports.133 npmGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables AI coding assistants and IDEs to run authorized offensive-security workflows over Model Context Protocol, including scope validation, reconnaissance, HTTP probing, secret and vulnerability scanning, playbook lookup, evidence management, and report generation.Apache 2.0