LXD MCP Bridge (lxd-mcp-server) Package name

Install latest/edge of LXD MCP Bridge

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install lxd-mcp-server --edge

Don't have snapd? Get set up for snaps.

LXD MCP Bridge is only available on the unstable edge channel. It could break and change often.

Channel Version Published

Details for LXD MCP Bridge

Package name

  • lxd-mcp-server

License

  • GPL-2.0-or-later

Last updated

  • Today - latest/edge

Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.

LXD MCP Server for container management

An MCP server that bridges between an LLM and LXD containers on the same host.

The package will autmatically start a daemon listening on port 8005 by default. Point your LLM to http://127.0.0.1:8005/mcp in its MCP settings and make sure to connect the lxd interface for this snap with:

sudo snap connect lxd-mcp-server:lxd lxd:lxd

So that the bridge can actually talk to your lxd instance.

The MCP server provides 9 tools to your LLM that you can use:

  • list_containers (lists existing containers)
  • create_container (creates a new container, with <name> and <release>)
  • start_container (fires up the named container)
  • stop_container (stops the named container)
  • execute_command (runs a command inside the container)
  • push_file (copies files into the container)
  • pull_file (copies files out of the container)
  • limit_resources (allows to limit ram and cpu usage for a container)

There are also two config options you can use with snap set:

  • port (defaults to 8005)
  • debug (defaults ot being off)

Note that you might need to enable the built in LLM proxy in some LLMs (i.e. in llama-server this is the "Use llama-server proxy" option in the llama-ui)

Revision Channel Version Published Build Commit

The build and commit information is derived from build infrastructure records.


Install LXD MCP Bridge on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.