Documentation
¶
Index ¶
- func RegisterFindProcessByPort(srv *mcp.Server)
- func RegisterGetProcessInfo(srv *mcp.Server)
- func RegisterKillProcess(srv *mcp.Server)
- func RegisterKillProcessByPort(srv *mcp.Server)
- func RegisterListProcesses(srv *mcp.Server)
- type FindProcessByPortArgs
- type GetProcessInfoArgs
- type KillProcessArgs
- type KillProcessByPortArgs
- type ListProcessesArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGetProcessInfo ¶ added in v1.1.0
func RegisterKillProcess ¶
func RegisterListProcesses ¶
Types ¶
type FindProcessByPortArgs ¶
type FindProcessByPortArgs struct {
Port uint16 `json:"port" jsonschema:"TCP or UDP port number to look up"`
}
type GetProcessInfoArgs ¶ added in v1.1.0
type GetProcessInfoArgs struct {
PID uint32 `json:"pid" jsonschema:"process ID to inspect"`
}
type KillProcessArgs ¶
type KillProcessByPortArgs ¶
type ListProcessesArgs ¶
type ListProcessesArgs struct {
Filter string `json:"filter,omitempty" jsonschema:"filter by process name (case-insensitive substring match)"`
}
Click to show internal directories.
Click to hide internal directories.