CLI
Besides running the server, the typress binary has a few commands.
Commands
typress: start the servertypress setup: the setup screen (run as root; the installer calls it)typress admin …: admin commands, belowtypress mcp: an MCP server for AI assistantstypress relay: a relay for remote access
typress admin
Each one opens the database in TYPRESS_DATA_DIR directly and works while the server runs. In production, load the settings file and run as the typress user:
sudo systemd-run --quiet --pipe --wait -p User=typress \
-p EnvironmentFile=/etc/typress/typress.env \
/opt/typress/typress admin list-userslist-users: list usersreset-password <email>: set a new password (signs that user out everywhere)make-admin <email>: promote to admintotp-disable <email>: turn off two-factorself-update <manifest-url>: replace the binary from a signed manifest (needsTYPRESS_UPDATE_KEYS). The old binary stays at${TYPRESS_DATA_DIR}/typress.previous.
typress mcp
Lets an AI assistant such as Claude read posts or write drafts. It speaks over stdio, and only the operations you grant with --grant exist.
read(default): read posts, pages, terms and commentsdraft: create and edit draftspublish: publish and unpublishmoderate: approve comments or mark them spam
{
"command": "/opt/typress/typress",
"args": ["mcp", "--grant", "read,draft"]
}--as <email> picks the acting user (default: the first admin).
typress relay
A relay that lets the phone app manage a site it can't reach directly. Traffic is encrypted between the device and the site; the relay can't read it and stores nothing. typress runs no public relay, so you run your own.
typress relay --port 8443On the site, enter the relay URL under Remote access and turn it on.