struct
ACP::Protocol::McpServerStdio
- ACP::Protocol::McpServerStdio
- Struct
- Value
- Object
Overview
Configuration for connecting to an MCP server via stdio transport. All Agents MUST support this transport. See: https://agentclientprotocol.com/protocol/session-setup#stdio-transport
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/capabilities.crConstructors
- .new(name : String, command : String, args : Array(String) = [] of String, env : Array(EnvVariable) = [] of EnvVariable)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#args : Array(String)
Command-line arguments to pass to the MCP server.
-
#args=(args : Array(String))
Command-line arguments to pass to the MCP server.
-
#command : String
Path to the MCP server executable.
-
#command=(command : String)
Path to the MCP server executable.
-
#env : Array(EnvVariable)
Environment variables to set when launching the MCP server.
-
#env=(env : Array(EnvVariable))
Environment variables to set when launching the MCP server.
-
#name : String
Human-readable name identifying this MCP server.
-
#name=(name : String)
Human-readable name identifying this MCP server.
Constructor Detail
def self.new(name : String, command : String, args : Array(String) = [] of String, env : Array(EnvVariable) = [] of EnvVariable)
#