package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jul 29, 2026
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package tools defines opsgate's structured MCP tools and the gate every
call passes through: policy check -> human approval -> execute -> audit.
Register adds every enabled tool to the server.
Gate owns the shared state every tool needs.
NewGate builds a Gate. Executors are created lazily on first use per host.
Close releases every open executor.
Config exposes the loaded config (used by cmd for banners).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.