config volumes set
mcpd 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¶
--config-file string path to config file (default ".mcpd.toml")
--log-level string log level for mcpd logs (default "info")
--log-path string log file path to use for log output
--runtime-file string path to runtime (execution context) file that contains env vars, and arguments for your MCP servers (default "/home/runner/.config/mcpd/secrets.dev.toml")
SEE ALSO¶
- mcpd config volumes - Manages volume configuration for MCP servers