mirror of
https://github.com/sipeed/NanoKVM.git
synced 2026-09-11 00:22:56 -05:00
Add an MCP Streamable HTTP server with token authentication, screenshot capture, keyboard, and mouse tools. Introduce shared control-mode and input-control coordination so MCP, PicoClaw, and local HID paths serialize ownership safely. Integrate PicoClaw gateway/runtime control handoff with PID-managed startup and focused unit coverage.
13 lines
312 B
Go
13 lines
312 B
Go
package proto
|
|
|
|
type GetMCPConfigRsp struct {
|
|
Enabled bool `json:"enabled"`
|
|
APIKey string `json:"apiKey"`
|
|
ControlMode string `json:"controlMode"`
|
|
Transitioning bool `json:"transitioning"`
|
|
}
|
|
|
|
type SetMCPConfigReq struct {
|
|
Enabled *bool `json:"enabled" form:"enabled" validate:"required"`
|
|
}
|