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

config env remove

Remove environment variables for an MCP server

Synopsis

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

mcpd config env remove <server-name> KEY [KEY ...] [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 env - Manages environment variable configuration for MCP servers

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

Last updated