For the complete documentation index, see llms.txt. This page is also available as Markdown.

config volumes set

Set or update volume mappings for an MCP server

Synopsis

Set volume mappings for an MCP server in the runtime context configuration file (e.g. /home/runner/.config/mcpd/secrets.dev.toml).

Volume mappings associate volume names with host paths or named Docker volumes. Use -- to separate the server name from the volume mappings.

Examples:

Set a single volume mapping

mcpd config volumes set filesystem -- --workspace=/Users/foo/repos/mcpd

Set multiple volume mappings

mcpd config volumes set filesystem -- --workspace="/Users/foo/repos" --gdrive="/mcp/gdrive"

Use a named Docker volume

mcpd config volumes set myserver -- --data=my-named-volume

mcpd config volumes set <server-name> -- --<volume-name>=<host-path> [--<volume-name>=<host-path>...] [flags]

Options inherited from parent commands

SEE ALSO

Auto generated by spf13/cobra on 14-Aug-2026

Last updated