Valkyrian Labs

Installation

Install forti-mcp from the APT repository or Homebrew, or build it from source.

Installation

forti-mcp is a single executable, forti-mcp. libcurl is its only runtime dependency. Install it from the ValkyrianLabs APT repository, from Homebrew, or build it from source, then check the version it reports.

Install forti as well

forti-mcp does not depend on the forti-cli package, but you will want forti as well: it creates the forti home (~/.forti) and its device profiles, approves plans and sets up the agent workspace (see How it relates to forti-cli). Each install path below includes it.

Install

forti-mcp is published to the ValkyrianLabs APT repository (amd64):

1sudo install -d -m 0755 /etc/apt/keyrings2sudo curl -fsSL https://apt.valkyrianlabs.com/pubkey.gpg \3  -o /etc/apt/keyrings/valkyrianlabs.gpg4sudo chmod 0644 /etc/apt/keyrings/valkyrianlabs.gpg5 6echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/valkyrianlabs.gpg] https://apt.valkyrianlabs.com stable main" | \7  sudo tee /etc/apt/sources.list.d/valkyrianlabs.list > /dev/null8 9sudo apt update10sudo apt install -y forti-cli      # the forti CLI, which recommends (and so installs) forti-mcp11sudo apt install -y forti-mcp      # forti-mcp alone, without the CLI

The packages recommend valkyrianlabs-archive-keyring (APT installs it by default), which puts the repository key at /usr/share/keyrings/valkyrianlabs.gpg and keeps it current through normal upgrades (for example when its expiry changes). When the key downloaded above is unmodified, the package replaces it with a symlink to the packaged key, so the source line above keeps working and you never need to download the key again. Removing the package turns the symlink back into a plain copy. Signing key fingerprint: 494D 71A1 EEDD F87B D48E 5048 6D64 CB7B DFC3 0EC6.

The package installs /usr/bin/forti-mcp.

Check the installation

1forti-mcp --version
1forti-mcp 0.3.0 (engine forti-cli d0e83a8, forti-api 1.1.0)

The version line names what the binary was built from: the forti-cli engine revision and the forti-api version. A build from a modified engine checkout shows the revision with -dirty.

The forti home

forti-mcp keeps nothing of its own. It reads the forti home that the forti CLI manages: ~/.forti, or the directory $FORTI_HOME names. forti configure creates it (mode 0700) with the first device profile, and forti home shows every location in it:

1$ forti home2forti home: ~/.forti3  config       ~/.forti/config.json4  credentials  ~/.forti/credentials/  file store5  state        ~/.forti/state/  plans, approvals, audit log, backups6  cache        ~/.forti/cache/7  certs        ~/.forti/certs/  client certificates (forti cert list)8  forti CA     ~/.forti/ca/  issues them; its key never leaves this machine9  secrets      macOS Keychain (service "forti")

The home is also where you start your AI agent: forti mcp install --scope workspace registers forti-mcp there and nowhere else (Connecting AI clients). Command line lists the variables that move single locations.

Upgrading from 0.1

Releases before 0.2 kept the configuration in ~/.config/forti, the state in ~/.local/state/forti and the cache in ~/.cache/forti (or under the XDG_* variables). While ~/.forti/config.json does not exist, that older configuration does and FORTI_HOME is not set, forti and forti-mcp keep using the old locations, so an existing setup works unchanged. Move it into the home with:

1forti home migrate

It moves config.json, credentials/, the state and the cache, keeping their modes, never overwrites a config.json already in the home, and is harmless to run again. Keychain items need no change. forti home and forti doctor point out a setup that has not been migrated.

Next