Usage
Flags
| Flag | Short | Default | Description |
|---|---|---|---|
--config | -c | Auto-discovered | Path to configuration file |
Examples
What Happens
- Loads configuration (auto-discovers or uses
--configpath) - Initializes SQLite storage at
~/.config/ultra/ultra.db - Sets up the observability pipeline (trace, logging, audit, metrics interceptors)
- Connects to all enabled upstream servers
- Registers aggregated tools, resources, and prompts
- Starts the MCP server on stdio transport
- If Hub is configured, starts background sync
Signals
- Ctrl+C (SIGINT) or SIGTERM — Graceful shutdown. Ultra stops upstream connections, flushes pending data, and exits.
- Client disconnect (EOF/pipe close) — Ultra exits gracefully when the MCP client disconnects.
Hub Sync
When Hub is enabled and the gateway is linked,ultra start runs background sync:
- Data sync at the configured interval (default: 60s)
- Heartbeats at half the sync interval (minimum 30s)
- OAuth token refresh happens automatically
- Terminal auth errors disable sync with a single warning (no error spam)