Server — CLI Command¶
Usage¶
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.
Related Commands¶
worker— Start job workerapi-key— Manage API keys for server auth