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

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 to wait between MCP server health check attempts; a unit is required (e.g. 30s, 1m) (default "10s")
      --timeout-api-shutdown string   Timeout to wait for graceful API server shutdown; a bare number is seconds (e.g. 15, 30s, 1m) (default "5s")
      --timeout-mcp-health string     Timeout to wait for completion of MCP server health checks; a bare number is seconds (e.g. 15, 30s, 1m) (default "3s")
      --timeout-mcp-init string       Timeout to wait per MCP server for initialization; a bare number is seconds (e.g. 15, 30s, 1m) (default "30s")
      --timeout-mcp-request string    Timeout to wait for MCP tool call requests; a bare number is seconds (e.g. 15, 30s, 1m) (default "15s")
      --timeout-mcp-shutdown string   Timeout to wait for shutdown of MCP servers; a bare number is seconds (e.g. 15, 30s, 1m) (default "5s")

Options inherited from parent commands

SEE ALSO

  • mcpd - mcpd CLI is the primary interface for developers to interact with, and configure mcpd

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

Last updated