Skip to content

init

mcpd init

Initializes the current directory as an mcpd project

Synopsis

Initializes the current directory as an mcpd project, creating a .mcpd.toml configuration file.

This command sets up the basic structure required for an mcpd project.

The configuration file path can be overridden using the --config-file flag or the MCPD_CONFIG_FILE environment variable

mcpd init [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 - mcpd CLI is the primary interface for developers to interact with, and configure mcpd
Auto generated by spf13/cobra on 18-Jul-2025