tools

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFindProcessByPort

func RegisterFindProcessByPort(srv *mcp.Server)

func RegisterKillProcess

func RegisterKillProcess(srv *mcp.Server)

func RegisterKillProcessByPort

func RegisterKillProcessByPort(srv *mcp.Server)

func RegisterListProcesses

func RegisterListProcesses(srv *mcp.Server)

Types

type FindProcessByPortArgs

type FindProcessByPortArgs struct {
	Port uint16 `json:"port" jsonschema:"required,TCP port number to look up"`
}

type KillProcessArgs

type KillProcessArgs struct {
	PID uint32 `json:"pid" jsonschema:"required,process ID to kill"`
}

type KillProcessByPortArgs

type KillProcessByPortArgs struct {
	Port uint16 `json:"port" jsonschema:"required,TCP port number - kill the process using this port"`
}

type ListProcessesArgs

type ListProcessesArgs struct {
	Filter string `json:"filter,omitempty" jsonschema:"optional filter by process name (case-insensitive substring match)"`
}

Jump to

Keyboard shortcuts

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