package
Version:
v0.2.15
Opens a new window with list of versions in this module.
Published: Dec 28, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewClient returns an initialized MCP client backed by the in-process shell server.
NewServer constructs an in process MCP server exposing a single shell_run tool
ExecOutcome captures the result of a shell execution.
type ShellRunResult struct {
ExitCode int `json:"exit_code"`
DurationMS int64 `json:"duration_ms"`
Stdout string `json:"stdout"`
Stderr string `json:"stderr"`
TimedOut bool `json:"timed_out"`
EffectiveDir string `json:"effective_dir"`
Command string `json:"command"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.