internal/

directory
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT

Directories

Path Synopsis
Package cmdutil provides shared command-line helpers for MCP binaries.
Package cmdutil provides shared command-line helpers for MCP binaries.
Package e2e provides shared helpers and end-to-end tests for the ssh-mcp server using testcontainers and the official MCP Go SDK client over in-memory transport.
Package e2e provides shared helpers and end-to-end tests for the ssh-mcp server using testcontainers and the official MCP Go SDK client over in-memory transport.
Package gateway implements an MCP gateway that proxies multiple upstream MCP servers.
Package gateway implements an MCP gateway that proxies multiple upstream MCP servers.
middleware
Package middleware provides tool call middleware for the gateway.
Package middleware provides tool call middleware for the gateway.
router
Package router provides host and path based request routing.
Package router provides host and path based request routing.
transport
Package gatewaytransport builds mcp.Transport implementations from gateway config.
Package gatewaytransport builds mcp.Transport implementations from gateway config.
Package mcputil provides shared MCP server initialization and event logic.
Package mcputil provides shared MCP server initialization and event logic.
Package session provides SSH configuration parsing, host key handling, authentication methods, and connection pooling for remote machine access.
Package session provides SSH configuration parsing, host key handling, authentication methods, and connection pooling for remote machine access.
Package sshutil provides helpers for running commands over SSH connections.
Package sshutil provides helpers for running commands over SSH connections.
tools
alertmanager
Package alertmanager registers MCP tools for reading Alertmanager alerts, silences, receivers and status, plus a guarded silence-creation workflow and PromQL validate/evaluate helpers.
Package alertmanager registers MCP tools for reading Alertmanager alerts, silences, receivers and status, plus a guarded silence-creation workflow and PromQL validate/evaluate helpers.
core
Package core registers the core MCP tools for opening SSH sessions and running commands.
Package core registers the core MCP tools for opening SSH sessions and running commands.
disk
Package disk registers MCP tools for disk and filesystem inspection (lsblk).
Package disk registers MCP tools for disk and filesystem inspection (lsblk).
fs
Package fs registers MCP tools for remote file operations (ls, cat, upload, download, grep).
Package fs registers MCP tools for remote file operations (ls, cat, upload, download, grep).
grafana
Package grafana registers MCP tools to build, verify, and save Grafana dashboards.
Package grafana registers MCP tools to build, verify, and save Grafana dashboards.
mcputil
Package mcputil provides a generic helper for registering MCP tools with proper annotations (ReadOnlyHint, DestructiveHint) and defines structured result types used across tool packages to enable automatic InputSchema/OutputSchema inference while maintaining exact backwards-compatibility with JSON schemas.
Package mcputil provides a generic helper for registering MCP tools with proper annotations (ReadOnlyHint, DestructiveHint) and defines structured result types used across tool packages to enable automatic InputSchema/OutputSchema inference while maintaining exact backwards-compatibility with JSON schemas.
opencode
Package opencode registers MCP tools that delegate work to an opencode server.
Package opencode registers MCP tools that delegate work to an opencode server.
opencode/opencodeapi
Code generated by ogen, DO NOT EDIT.
Code generated by ogen, DO NOT EDIT.
proc
Package proc registers MCP tools for process inspection and management (ps, kill).
Package proc registers MCP tools for process inspection and management (ps, kill).
sysinfo
Package sysinfo registers MCP tools for system information (network, OS, users).
Package sysinfo registers MCP tools for system information (network, OS, users).
systemd
Package systemd registers MCP tools for inspecting systemd units.
Package systemd registers MCP tools for inspecting systemd units.
Package tunnel provides tunneling listeners.
Package tunnel provides tunneling listeners.

Jump to

Keyboard shortcuts

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