struct CrystalMcp::Config

Overview

Configuration settings for the MCP server.

Defined in:

config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def host : String #

The host to bind to (for future network transport support).


[View source]
def host=(host : String) #

The host to bind to (for future network transport support).


[View source]
def initialize #

[View source]
def log_file : String | Nil #

The path to the log file. If nil, logging goes to standard error.


[View source]
def log_file=(log_file : String | Nil) #

The path to the log file. If nil, logging goes to standard error.


[View source]
def port : Int32 | Nil #

The port to listen on (for future network transport support).


[View source]
def port=(port : Int32 | Nil) #

The port to listen on (for future network transport support).


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

Whether to enable verbose logging.


[View source]
def verbose? : Bool #

Whether to enable verbose logging.


[View source]