Skip to content

config env clear

mcpd config env clear

Clears configured environment variables for an MCP server

Synopsis

Clears environment variables for a specified MCP server from the runtime context configuration file (e.g. ~/.config/mcpd/secrets.dev.toml)

mcpd config env clear <server-name> [flags]

Options

      --force   Force clearing of all environment variables for the specified server without confirmation

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 env - Manages environment variable configuration for MCP servers
Auto generated by spf13/cobra on 18-Jul-2025