Getting started
ARTEX is an MCP server. Claude Code (or any other MCP client) launches it, discovers its 62 tools, and drives the engagement through them. All state lives in PostgreSQL, so you can stop and resume at any point.
Install
Section titled “Install”macOS and Linux (Homebrew 4.5 or later):
brew install --cask sresarehumantoo/tap/artex-ccThe cask is published starting with the first release after v0.4.0. For v0.4.0, use a pre-built binary.
Starts PostgreSQL and ARTEX together. See Docker below for the MCP config.
git clone https://github.com/SREsAreHumanToo/ARTEX-CC.gitcd ARTEX-CCdocker compose upDownload an archive for your platform from the Releases page. Each release includes checksums.
Requires Go 1.26 or later.
go install github.com/SREsAreHumanToo/ARTEX-CC/cmd/artex-cc@latestQuick start
Section titled “Quick start”You need PostgreSQL running locally (or anywhere reachable).
-
Create the database and initialize an engagement:
Terminal window createdb ccartexartex-cc init --pg "postgres://localhost/ccartex" --goal "Pentest example.com"initcreates the schema, sets up the engagement, generates a CA certificate for HTTPS interception, and prints trust instructions for your OS. See Proxy CA trust. -
Add the MCP server to Claude Code, in
~/.claude.jsonor a project.mcp.json:{"mcpServers": {"artex": {"command": "artex-cc","args": ["serve", "--stdio", "--pg", "postgres://localhost/ccartex", "--proxy", ":8788"]}}}--proxystarts a recording MITM proxy alongside the MCP server. Point your tools athttp://localhost:8788to capture traffic. Without it, the traffic tools are not registered and ARTEX runs as a pure data server. -
Start Claude Code and ask:
Pentest example.com, starting with reconnaissance.Claude calls
graph_overviewto orient, then inserts assets, plans intents, tests surfaces, records findings and tracks coverage. If you stop and come back later,graph_overviewbrings it back up to speed.
For Cursor, Cline, Windsurf, Zed and other clients, see MCP clients. To let Claude run on its own, see Hands-free mode.
Docker
Section titled “Docker”docker compose up starts PostgreSQL and ARTEX together. On first run it creates the database schema and a default engagement. The MCP server listens on localhost:9400 and the recording proxy on localhost:8788.
To set the engagement goal:
ARTEX_GOAL="Pentest example.com" docker compose upConnect Claude Code over HTTP:
{ "mcpServers": { "artex": { "type": "http", "url": "http://localhost:9400/mcp", "headers": { "Authorization": "Bearer <token>" } } }}The container generates a new bearer token every time it starts and writes a ready-made config containing it to /app/data/mcp-config.json. Read it with docker compose exec artex cat /app/data/mcp-config.json and update the header after each restart.
Or use the stdio transport through Docker:
{ "mcpServers": { "artex": { "command": "docker", "args": [ "compose", "exec", "-T", "artex", "/app/artex-cc", "serve", "--stdio", "--pg", "postgres://ccartex:ccartex@postgres:5432/ccartex?sslmode=disable", "--data", "/app/data", "--proxy", "127.0.0.1:0" ] } }}The container’s main process already runs the recording proxy on :8788, so this second process takes a throwaway port (127.0.0.1:0) only to enable the traffic tools. Both read the same captured traffic.
The Docker image also enables the web UI at http://localhost:9400.
Next steps
Section titled “Next steps”- Configuration: flags, environment variables, credential encryption.
- Example walkthrough: a full engagement, phase by phase.
- Tool reference: every tool and its parameters.