iagctl mcp server add
Register an MCP server.
Use this command to register an external MCP (Model Context Protocol) server with Itential Gateway. After registration, Itential Gateway connects to the server, discovers the tools it exposes, and surfaces them in Gateway Manager as native gateway services.
For more information, see Register and manage MCP servers.
Syntax
Transport auto-detection
If you omit the --transport flag, Itential Gateway detects the transport type automatically:
- Arguments beginning with
httpusestreamable-httptransport. - All other arguments use
stdiotransport.
Use --transport to set the transport explicitly when auto-detection would produce the wrong result.
Secret references
The <command_or_url> argument and the --env and --header flag values support Go template syntax. Use {{ secret "name" }} to reference a secret stored in Itential Gateway’s secret store instead of providing a sensitive value as plain text.