Raxol.AgentClientProtocol.Schema.AgentTypes.McpServerStdio (Raxol Agent Client Protocol v0.1.0)

Copy Markdown View Source

A stdio-launched MCP server descriptor (the untagged wire variant: no "type" field).

Ported from the MIT f1729/agent_client_protocol (c) 2025 f1729; see NOTICE.md.

Summary

Types

t()

@type t() :: %Raxol.AgentClientProtocol.Schema.AgentTypes.McpServerStdio{
  _meta: map(),
  args: [String.t()],
  command: String.t(),
  env: [Raxol.AgentClientProtocol.Schema.AgentTypes.EnvVariable.t()],
  name: String.t()
}

Functions

from_json(map)

@spec from_json(term()) :: {:ok, t()} | {:error, term()}

new(name, command)

@spec new(String.t(), String.t()) :: t()

to_json(s)

@spec to_json(t()) :: map()