Skip to content

config args set

mcpd config args set

Set or replace startup command line arguments for an MCP server

Synopsis

Set startup command line arguments for an MCP server in the runtime context configuration file (e.g. ~/.config/mcpd/secrets.dev.toml).

By default, this command completely replaces all existing arguments with the new ones provided.

Use the --merge-flags option to preserve existing flags while updating: it replaces all positional arguments with the new ones and merges flags (new flags override existing ones, non-conflicting flags are preserved).

mcpd config args set <server-name> -- [positional-args...] [--flag=value...] [--bool-flag...] [flags]

Options

      --merge-flags   Replace positional args but merge flags (new flags override, others preserved)

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

Auto generated by spf13/cobra on 26-Sep-2025