struct
ACP::Protocol::McpCapabilities
- ACP::Protocol::McpCapabilities
- Struct
- Value
- Object
Overview
MCP transport capabilities supported by the agent. See: https://agentclientprotocol.com/protocol/session-setup#checking-transport-support
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/capabilities.crConstructors
- .new(pull : JSON::PullParser)
- .new(http : Bool = false, sse : Bool = false, meta : Hash(String, JSON::Any) | Nil = nil)
Instance Method Summary
-
#http : Bool
Whether the agent supports connecting to MCP servers over HTTP.
-
#http=(http : Bool)
Whether the agent supports connecting to MCP servers over HTTP.
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata.
-
#sse : Bool
Whether the agent supports connecting to MCP servers over SSE.
-
#sse=(sse : Bool)
Whether the agent supports connecting to MCP servers over SSE.
Constructor Detail
Instance Method Detail
def sse : Bool
#
Whether the agent supports connecting to MCP servers over SSE. Note: SSE transport has been deprecated by the MCP spec.
def sse=(sse : Bool)
#
Whether the agent supports connecting to MCP servers over SSE. Note: SSE transport has been deprecated by the MCP spec.