# Functions
NewBaseServer creates a new BaseServer instance with the given options.
No description provided by the author
NewLogManager creates a new LogManager with the specified output writer.
NewSSEServer creates a new SSEServer.
No description provided by the author
NewStdIOServer creates a new StdIOServer.
No description provided by the author
No description provided by the author
UseLogger sets a custom logger.
UseLogLevel sets minimum log level.
UseServerInfo sets server name and version.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
BaseServer contains the common fields and methods for all MCP server implementations.
CallToolParams represents parameters for calling a tool.
CallToolResult represents the result of calling a tool.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Error represents a JSON-RPC error object.
No description provided by the author
No description provided by the author
No description provided by the author
InitializeResult represents the result of server initialization.
No description provided by the author
No description provided by the author
ListResourcesResult represents the result of listing resources.
ListToolsResult represents the result of listing available tools.
LogManager handles logging operations and level management.
LogMessageParams represents the parameters for logging a message.
Notification represents a JSON-RPC notification message.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReadResourceParams represents parameters for reading a resource.
ReadResourceResult represents the result of reading a resource.
No description provided by the author
Resource represents a content resource in the MCP system.
ResourceContent represents the actual content of a resource.
Response represents a JSON-RPC response message.
ResponseToStartupClientRequest represents a JSON-RPC response message.
ServerConfig holds all configuration for BaseServer.
ServerInfo represents server information.
SetLogLevelParams represents the parameters for setting the log level.
No description provided by the author
SSEServer is the MCP server implementation using Server-Sent Events.
No description provided by the author
No description provided by the author
StdIOServer is the MCP server implementation using standard input/output.
No description provided by the author
Tool represents a callable tool in the MCP system.
ToolResultContent represents the content returned by a tool.
# Type aliases
No description provided by the author
LogLevel represents the severity level of a log message.
ServerConfigOption is a function that modifies ServerConfig.
No description provided by the author