iai mcps port-forward
Forward a local port to an mcp
Synopsis
Open a local TCP listener and tunnel traffic to an mcp running in the platform.
The remote port defaults to the mcp's configured port. Use --port to override. Use --local-port to choose the local listening port (defaults to --port when set, or an available OS-assigned port otherwise).
iai mcps port-forward <mcp_name> [flags]Examples
iai mcps port-forward my-tool
iai mcps port-forward my-tool --port 8080
iai mcps port-forward my-tool --port 8080 --local-port 9090Options
-h, --help help for port-forward
--local-port int Local port to listen on (defaults to the remote port)
--port int Remote port on the mcp (defaults to the mcp's configured port)Options inherited from parent commands
SEE ALSO
iai mcps - Deploy and manage MCP servers
Last updated
Was this helpful?

