Documentation
¶
Index ¶
- Variables
- func New() *cobra.Command
- func NewAdd() *cobra.Command
- func NewDestroy() *cobra.Command
- func NewInspect() *cobra.Command
- func NewLaunch() *cobra.Command
- func NewProxy() *cobra.Command
- func NewRemove() *cobra.Command
- func NewWrap() *cobra.Command
- func UpdateConfig(ctx context.Context, path string, configKey string, server string, ...) error
- type ConfigPath
- type MCPServer
- type Server
Constants ¶
This section is empty.
Variables ¶
View Source
var COMMANDS = slices.Concat( mcpServer.AppCommands, mcpServer.LogCommands, mcpServer.MachineCommands, mcpServer.OrgCommands, mcpServer.PlatformCommands, mcpServer.StatusCommands, mcpServer.VolumeCommands, )
View Source
var McpClients = map[string]string{
"claude": "Claude",
"vscode": "VS Code",
"cursor": "Cursor",
"neovim": "Neovim",
"windsurf": "Windsurf",
"zed": "Zed",
}
Functions ¶
func NewDestroy ¶ added in v0.3.125
func NewInspect ¶ added in v0.3.125
Types ¶
type ConfigPath ¶ added in v0.3.123
ConfigPath represents a configuration file path
func ListConfigPaths ¶ added in v0.3.129
func ListConfigPaths(ctx context.Context, configIsArray bool) ([]ConfigPath, error)
Build a list of configuration paths to update
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server handles HTTP requests and communicates with the remote program
func (*Server) HandleHTTPRequest ¶
func (s *Server) HandleHTTPRequest(w http.ResponseWriter, r *http.Request)
HandleHTTPRequest handles incoming HTTP requests
func (*Server) ReadFromProgram ¶
func (s *Server) ReadFromProgram()
ReadFromProgram continuously reads from the program's stdout
func (*Server) StartProgram ¶
StartProgram starts the remote program and connects to its stdin/stdout
Source Files
¶
Click to show internal directories.
Click to hide internal directories.