Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultSWURL = "http://localhost:12800/graphql"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MCPServerConfig ¶
type MCPServerConfig struct {
// SkyWalking OAP URL to target for API requests (e.g. localhost:12800)
URL string
// ReadOnly indicates if we should only offer read-only tools
ReadOnly bool
// Path to the log file if not stderr
LogFilePath string
}
MCPServerConfig holds the application configuration.
type SSEServerConfig ¶
type SSEServerConfig struct {
// SkyWalking OAP URL to target for API requests (e.g. localhost:12800)
URL string
// ReadOnly indicates if we should only offer read-only tools
ReadOnly bool
// Path to the log file if not stderr
LogFilePath string
// LogCommands indicates if we should log commands
LogCommands bool
// The host and port to start the sse server on
Address string
// Base path for the sse server
BasePath string
}
SSEServerConfig holds the configuration for Stdio.
type StdioServerConfig ¶
type StdioServerConfig struct {
// SkyWalking OAP URL to target for API requests (e.g. localhost:12800)
URL string
// ReadOnly indicates if we should only offer read-only tools
ReadOnly bool
// Path to the log file if not stderr
LogFilePath string
// LogCommands indicates if we should log commands
LogCommands bool
}
StdioServerConfig holds the configuration for Stdio.
type StreamableServerConfig ¶
type StreamableServerConfig struct {
// SkyWalking OAP URL to target for API requests (e.g. localhost:12800)
URL string
// ReadOnly indicates if we should only offer read-only tools
ReadOnly bool
// Path to the log file if not stderr
LogFilePath string
// LogCommands indicates if we should log commands
LogCommands bool
// The host and port to start the Streamable HTTP transport on
// e.g. ":8080" and the default streamable http endpoint will be "/mcp"
Address string
// Base path for the Streamable HTTP transport server
EndpointPath string
}
Click to show internal directories.
Click to hide internal directories.