api_config_mcp

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2026 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIConfigMCP

type APIConfigMCP struct {
	Enabled          bool             `yaml:"enabled" json:"enabled" toml:"enabled"`
	Port             int              `yaml:"port" json:"port" toml:"port"`
	MCPTransportType MCPTransportType `yaml:"mcp_transport_type" json:"mcp_transport_type" toml:"mcp_transport_type"`
}
var (
	CurrentAPICfgMCP *APIConfigMCP
)

type MCPTransportType

type MCPTransportType string
const (
	MCPTransportTypeStdio          MCPTransportType = "stdio"           // local process via stdin/stdout
	MCPTransportTypeSSE            MCPTransportType = "sse"             // HTTP + Server-Sent Events
	MCPTransportTypeStreamableHTTP MCPTransportType = "streamable-http" // Streamable HTTP (preferred)
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL