Documentation
¶
Overview ¶
Package mcp 通过 Model Context Protocol 暴露 Leros 运行时能力。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
RegisterRoutes 挂载 Leros MCP 可流式 HTTP 端点。
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server 持有 MCP SDK 服务器和 HTTP 传输层。
func NewServerWithTools ¶
NewServerWithTools 从 Leros 内部工具创建 Leros MCP 服务器。
Click to show internal directories.
Click to hide internal directories.