module ACP::Protocol::McpServerParser

Overview

Helper module for MCP server JSON parsing.

Defined in:

acp/protocol/capabilities.cr

Class Method Summary

Class Method Detail

def self.array_from_json(value : JSON::Any) : Array(McpServer) #

Parses a JSON array of MCP servers.


[View source]
def self.from_json_any(value : JSON::Any) : McpServer #

Parses a JSON::Any value into the appropriate McpServer subtype.


[View source]