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

config env set

Set or update environment variables for an MCP server

Synopsis

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

mcpd config env set <server-name> KEY=VALUE [KEY=VALUE ...] [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