Hermes.Transport.STDIO (hermes_mcp v0.14.1)
A transport implementation that uses standard input/output.
Notes
For initialization and setup, check our Installation & Setup and the Transport options guides for reference.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
@type option() :: {:command, Path.t()} | {:args, [String.t()] | nil} | {:env, map() | nil} | {:cwd, Path.t() | nil} | {:client, GenServer.server()} | GenServer.option()
The options for the STDIO transport.
:command- The command to run, it will be searched in the system's PATH.:args- The arguments to pass to the command, as a list of strings.:env- The extra environment variables to set for the command, as a map.:cwd- The working directory for the command.:client- The client to send the messages to, respecting theGenServer"Name Registration" section
And any other GenServer init option.
@type params_t() :: Enumerable.t(option())
@type t() :: GenServer.server()