Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

flockmcp and flockmcpd are shipped as two Debian packages, and flockmcpd also as a container image. Install the one your AI assistant needs. Neither need be on a router: each reaches the routers over the network.

  • flockmcp, the utility, is installed on the host the AI assistant runs on, which starts it.
  • flockmcpd, the service, is installed on a host the assistant can reach over HTTP, for an assistant that connects to an MCP server by URL rather than starting one.

Download the latest Debian packages from the Flock Networks demo page.

flockmcp

Install it from its Debian package (as root or using sudo);

# dpkg -i flockmcp_<version>-1_amd64.deb

The Flock MCP Utility flockmcp is copied to;

/usr/bin/flockmcp

Check the installation;

$ flockmcp --version

flockmcp is not a service and has no configuration file. The AI assistant starts it when it is needed, with the options that name the routers, and stops it when the conversation ends. See MCP Clients.

flockmcpd

Install it from its Debian package (as root or using sudo);

# dpkg -i flockmcpd_<version>-1_amd64.deb

The package installs;

/usr/sbin/flockmcpd                           the Flock MCP Service
/etc/flockmcpd/flockmcpd.json                 its configuration file
/etc/flockmcpd/flockmcpd.json.sample          an example with every key
/usr/lib/systemd/system/flockmcpd.service     its systemd unit

The service is enabled, so it starts when the host boots, but it is not started by the install. The configuration file installed is {}: it serves on [::1]:8650 and talks to the flockd on the same host. Name the routers in /etc/flockmcpd/flockmcpd.json, then start it;

# systemctl start flockmcpd

Check it is running;

$ systemctl status flockmcpd

An upgrade restarts the service if it is running. Removing the package stops it. See Running as a service.

Which version to install

The major and minor version of flockmcp are those of the flockd release line it is built for, and its patch number is its own. flockmcp talks only to a flockd of the same major and minor version, so flockmcp 26.5.x is for routers running flockd 26.5.x. See Versions.