config args remove
mcpd config args remove¶
Remove arguments from an MCP server's configuration
Synopsis¶
Remove arguments from a specified MCP server in the runtime context configuration file (e.g. ~/.config/mcpd/secrets.dev.toml
).
This command removes ALL occurrences of each specified argument, whether they are: - Flags (e.g., --verbose, -v) - Flags with values (e.g., --config=file.json) - Positional arguments (e.g., /path/to/file)
Matching behavior: - Specifying '--verbose' removes ALL '--verbose' variants (--verbose, --verbose=true, etc.) - Specifying '--port=8080' removes ONLY exact matches of '--port=8080' - If an argument appears multiple times, all instances are removed
mcpd config args remove <server-name> -- [arg ...] [--arg ...] [flags]
Examples¶
remove time -- --local-timezone
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 args - Manages MCP server command line args configuration