Skip to content

Server — CLI Command

Usage

momentry server [OPTIONS]

Description

Start the Momentry API server for HTTP endpoints.

Arguments

None.

Options

Option Type Required Default Description
--host string No 127.0.0.1 Server host address
--port u16 No MOMENTRY_SERVER_PORT or 3002 Server port

Examples

# Start server on default port (3002)
momentry server

# Start on custom port
momentry server --port 3003

# Start on specific host
momentry server --host 0.0.0.0 --port 3002

Agent Callable

Format: Not directly callable via agent JSON args.

Note: Server runs as a long-running HTTP service.

  • worker — Start job worker
  • api-key — Manage API keys for server auth