Start Ultra as an MCP server that proxies requests to upstream MCP servers. Ultra acts as an intermediary between MCP clients and upstream servers, providing observability, audit logging, and metrics.Documentation Index
Fetch the complete documentation index at: https://docs.ultra.security/llms.txt
Use this file to discover all available pages before exploring further.
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 local storage at
~/.config/ultra/ultra.db - Sets up the observability pipeline
- 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)