Skip to content

daemon

mcpd daemon

Launches an mcpd daemon instance

Synopsis

Launches an mcpd daemon instance, which starts MCP servers and provides routing via HTTP API

mcpd daemon [--dev] [--addr] [--cors-enable] [--cors-origin]... [flags]

Options

      --addr string                   Address for the daemon to bind (not applicable in --dev mode) (default "0.0.0.0:8090")
      --cors-allow-credentials        Allow credentials in CORS requests
      --cors-allow-header strings     Allowed CORS request header (can be repeated) (default [Accept,Accept-Language,Content-Language,Content-Type,Range])
      --cors-allow-method strings     Allowed CORS request method, e.g. 'GET' (can be repeated) (default [GET,POST,PUT,DELETE,OPTIONS])
      --cors-allow-origin strings     Allowed CORS origin (can be repeated)
      --cors-enable                   Enable Cross-Origin Resource Sharing (CORS) for browser clients.
      --cors-expose-header strings    CORS response headers that should be made available to scripts in the browser (can be repeated)
      --cors-max-age string           CORS preflight max age (e.g., '5m', '300s') (default "5m0s")
      --dev                           Run the daemon in development-focused mode
      --interval-mcp-health string    Time interval in seconds to wait between MCP server health check attempts (e.g. 5s, 10s) (default "10s")
      --timeout-api-shutdown string   Timeout in seconds to wait for graceful API server shutdown (e.g. 5s, 10s) (default "5s")
      --timeout-mcp-health string     Timeout in seconds to wait for completion of MCP server health checks (e.g. 5s, 10s) (default "3s")
      --timeout-mcp-init string       Timeout in seconds to wait per MCP server for initialization (e.g. 5s, 10s) (default "30s")
      --timeout-mcp-shutdown string   Timeout in seconds to wait for shutdown of MCP servers (e.g. 5s, 10s) (default "5s")

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 20-Aug-2025