mcidrac [--transport {http,stdio,sse}] [--host HOST] [--port PORT]
[--path PATH] [--config FILE] [--check]
Flag
Default
Purpose
--transport
http
http = streamable-HTTP (network clients), stdio = spawned per session by an MCP client, sse = legacy SSE.
--host
127.0.0.1
HTTP bind address. Bind wider only on trusted networks — there is no auth layer.
--port
7903
HTTP bind port.
--path
/mcp
HTTP path prefix.
--config
search order
Explicit registry path, overriding the search order .
--check
—
Load and validate the registry, print the banner, exit.
Code
Meaning
0
Clean start / --check passed
2
Registry config error (message on stderr says exactly what)
The registry is loaded before the server starts serving, so a bad
config fails fast at launch rather than on the first tool call. The
banner (stderr) lists the transport, endpoint, and configured iDRAC
names:
transport: http @ http://127.0.0.1:7903/mcp
iDRACs: 2 configured -> r740-lab, r650-prod
mcidrac --check # validate config
mcidrac # HTTP on 127.0.0.1:7903/mcp
mcidrac --transport stdio # for MCP client spawning
MCIDRAC_CONFIG = ./lab.toml mcidrac --check