struct ACP::Protocol::McpCapabilities

Overview

MCP transport capabilities supported by the agent. See: https://agentclientprotocol.com/protocol/session-setup#checking-transport-support

Included Modules

Defined in:

acp/protocol/capabilities.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(http : Bool = false, sse : Bool = false, meta : Hash(String, JSON::Any) | Nil = nil) #

[View source]

Instance Method Detail

def http : Bool #

Whether the agent supports connecting to MCP servers over HTTP.


[View source]
def http=(http : Bool) #

Whether the agent supports connecting to MCP servers over HTTP.


[View source]
def meta : Hash(String, JSON::Any) | Nil #

Extension metadata.


[View source]
def meta=(meta : Hash(String, JSON::Any) | Nil) #

Extension metadata.


[View source]
def sse : Bool #

Whether the agent supports connecting to MCP servers over SSE. Note: SSE transport has been deprecated by the MCP spec.


[View source]
def sse=(sse : Bool) #

Whether the agent supports connecting to MCP servers over SSE. Note: SSE transport has been deprecated by the MCP spec.


[View source]