Skip to main content
Glama
WangYihang

multipass-mcp

by WangYihang

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_instancesA

List all Multipass instances with their current state and IP addresses.

find_imagesB

Find available Multipass images for launching new instances.

launch_instanceA

Launch a new Multipass instance.

Args: name: Optional name for the instance. image: Image to use (e.g., '22.04', 'charm-dev', 'docker'). Defaults to latest Ubuntu LTS. cpus: Number of CPUs to allocate. memory: Amount of memory (e.g., '2G', '512M'). disk: Disk space (e.g., '10G', '40G').

start_instanceC

Start a stopped Multipass instance.

stop_instanceB

Stop a running Multipass instance.

restart_instanceA

Restart Multipass instances.

Args: name: Name of the instance to restart. If omitted and all_instances is False, 'primary' is assumed. all_instances: If True, restart all instances.

suspend_instanceB

Suspend a running Multipass instance, saving its state to disk.

resume_instanceC

Resume a suspended Multipass instance.

delete_instanceA

Delete a Multipass instance.

Args: name: Name of the instance to delete. purge: If True, immediately purge the instance (cannot be recovered).

purge_instancesA

Purge all deleted Multipass instances to free up disk space.

execute_commandB

Execute a shell command inside a Multipass instance.

Args: name: Name of the instance. command: The command to run (e.g., 'ls -la', 'uname -a').

get_instance_infoB

Get detailed information about a Multipass instance (CPU, Memory, Disk usage).

get_snapshot_infoC

Get detailed information about a Multipass snapshot.

Args: instance: Name of the instance. snapshot: Name of the snapshot.

get_versionA

Get Multipass version information for the client and daemon.

list_networksA

List host network interfaces available for use with Multipass instances.

get_configA

Get Multipass configuration settings.

Args: key: The configuration key to retrieve (e.g., 'local.driver'). If omitted, lists all available keys.

set_configB

Set a Multipass configuration setting.

Args: key: The configuration key to set (e.g., 'local.driver'). value: The value to set for the key.

clone_instanceB

Clone an existing Multipass instance.

Args: source: The name of the source Multipass instance to be cloned. name: An optional custom name for the cloned instance.

mount_directoryA

Mount a local directory inside a Multipass instance.

Args: source: Path of the local directory to mount. instance: Name of the Multipass instance. target: Optional target mount point inside the instance. uid_map: Optional list of UID mappings (host:instance). gid_map: Optional list of GID mappings (host:instance). mount_type: Type of mount ('classic' or 'native').

umount_directoryA

Unmount a directory from a Multipass instance.

Args: instance: Name of the Multipass instance. path: Optional specific mount point to unmount. If omitted, all mounts are removed.

transfer_fileA

Transfer files/directories between the host and Multipass instances.

Args: source: Source path (prefix with 'name:' for Multipass instance paths). destination: Destination path (prefix with 'name:' for Multipass instance paths). recursive: Recursively copy entire directories. parents: Make parent directories as needed.

snapshot_instanceA

Take a snapshot of a stopped Multipass instance.

Args: instance: The name of the Multipass instance. name: Optional name for the snapshot. comment: Optional comment for the snapshot.

restore_instanceA

Restore a Multipass instance to a previously taken snapshot.

Args: instance: The name of the Multipass instance. snapshot: The name of the snapshot to restore. destructive: If True, discard the current state of the instance.

list_snapshotsA

List all available Multipass snapshots.

recover_instanceC

Recover deleted Multipass instances.

Args: name: Name of the Multipass instance to recover. all_instances: If True, recover all deleted instances.

create_aliasA

Create a Multipass alias to be executed on a given Multipass instance.

Args: instance: Name of the Multipass instance. command: Command to execute. alias_name: Optional name for the alias. Defaults to command name. map_working_directory: If True, automatically map host execution path to mounted path.

list_aliasesB

List available Multipass aliases.

remove_aliasA

Remove Multipass aliases.

Args: alias_names: Optional list of Multipass alias names to remove. all_aliases: If True, remove all aliases from current context.

switch_alias_contextA

Switch the current Multipass alias context.

Args: context_name: Name of the Multipass alias context to switch to.

authenticateC

Authenticate with the Multipass service.

Args: passphrase: Passphrase provided by a system administrator.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WangYihang/multipass-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server