Directories
¶
Path | Synopsis |
---|---|
Package api contains the REST API for ToolHive.
|
Package api contains the REST API for ToolHive. |
v1
Package v1 contains the V1 API for ToolHive.
|
Package v1 contains the V1 API for ToolHive. |
Package audit provides audit logging functionality for ToolHive.
|
Package audit provides audit logging functionality for ToolHive. |
Package auth provides authentication and authorization utilities.
|
Package auth provides authentication and authorization utilities. |
discovery
Package discovery provides authentication discovery utilities for detecting authentication requirements from remote servers.
|
Package discovery provides authentication discovery utilities for detecting authentication requirements from remote servers. |
oauth
Package oauth provides OAuth 2.0 and OIDC authentication functionality.
|
Package oauth provides OAuth 2.0 and OIDC authentication functionality. |
Package authz provides authorization utilities using Cedar policies.
|
Package authz provides authorization utilities using Cedar policies. |
Package certs provides utilities for certificate validation and handling.
|
Package certs provides utilities for certificate validation and handling. |
Package client provides utilities for managing client configurations and interacting with MCP servers.
|
Package client provides utilities for managing client configurations and interacting with MCP servers. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Package config contains the definition of the application config structure and logic required to load and update it.
|
Package config contains the definition of the application config structure and logic required to load and update it. |
Package container provides utilities for managing containers, including creating, starting, stopping, and monitoring containers.
|
Package container provides utilities for managing containers, including creating, starting, stopping, and monitoring containers. |
docker
Package docker provides Docker-specific implementation of container runtime, including creating, starting, stopping, and monitoring containers.
|
Package docker provides Docker-specific implementation of container runtime, including creating, starting, stopping, and monitoring containers. |
docker/sdk
Package sdk provides a factory method for creating a Docker client.
|
Package sdk provides a factory method for creating a Docker client. |
images
Package images handles container image management operations.
|
Package images handles container image management operations. |
kubernetes
Package kubernetes provides a client for the Kubernetes runtime including creating, starting, stopping, and retrieving container information.
|
Package kubernetes provides a client for the Kubernetes runtime including creating, starting, stopping, and retrieving container information. |
runtime
Package runtime provides interfaces and types for container runtimes, including creating, starting, stopping, and monitoring containers.
|
Package runtime provides interfaces and types for container runtimes, including creating, starting, stopping, and monitoring containers. |
runtime/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
templates
Package templates provides utilities for generating Dockerfile templates based on different transport types (uvx, npx).
|
Package templates provides utilities for generating Dockerfile templates based on different transport types (uvx, npx). |
verifier
Package verifier provides a client for verifying artifacts using sigstore
|
Package verifier provides a client for verifying artifacts using sigstore |
Package core provides the core domain model for the ToolHive system.
|
Package core provides the core domain model for the ToolHive system. |
Package env provides abstractions for environment variable access to enable dependency injection and testing isolation.
|
Package env provides abstractions for environment variable access to enable dependency injection and testing isolation. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Package environment provides utilities for handling environment variables and environment-related operations for containers.
|
Package environment provides utilities for handling environment variables and environment-related operations for containers. |
Package errors provides error types and utilities for the toolhive application.
|
Package errors provides error types and utilities for the toolhive application. |
Package groups provides functionality for managing logical groupings of MCP servers.
|
Package groups provides functionality for managing logical groupings of MCP servers. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Package healthcheck provides common healthcheck functionality for ToolHive proxies.
|
Package healthcheck provides common healthcheck functionality for ToolHive proxies. |
Package ignore provides functionality for processing .thvignore files to filter bind mount contents using tmpfs overlays.
|
Package ignore provides functionality for processing .thvignore files to filter bind mount contents using tmpfs overlays. |
Package labels provides utilities for managing container labels used by the toolhive application.
|
Package labels provides utilities for managing container labels used by the toolhive application. |
Package logger provides a logging capability for toolhive for running locally as a CLI and in Kubernetes
|
Package logger provides a logging capability for toolhive for running locally as a CLI and in Kubernetes |
Package mcp provides MCP (Model Context Protocol) parsing utilities and middleware.
|
Package mcp provides MCP (Model Context Protocol) parsing utilities and middleware. |
server
Package server provides the MCP (Model Context Protocol) server implementation for ToolHive.
|
Package server provides the MCP (Model Context Protocol) server implementation for ToolHive. |
Package migration handles any migrations needed to maintain compatibility
|
Package migration handles any migrations needed to maintain compatibility |
Package networking provides utilities for network operations, such as finding available ports and checking network connectivity.
|
Package networking provides utilities for network operations, such as finding available ports and checking network connectivity. |
operator
|
|
telemetry
Package telemetry provides telemetry functionality for the ToolHive operator.
|
Package telemetry provides telemetry functionality for the ToolHive operator. |
Package permissions provides utilities for managing container permissions and permission profiles for the toolhive application.
|
Package permissions provides utilities for managing container permissions and permission profiles for the toolhive application. |
Package process provides utilities for managing process-related operations, such as PID file handling and process management.
|
Package process provides utilities for managing process-related operations, such as PID file handling and process management. |
Package registry provides access to the MCP server registry
|
Package registry provides access to the MCP server registry |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Package runner provides functionality for running MCP servers
|
Package runner provides functionality for running MCP servers |
retriever
Package retriever contains logic for fetching or building MCP servers.
|
Package retriever contains logic for fetching or building MCP servers. |
Package secrets contains the secrets management logic for ToolHive.
|
Package secrets contains the secrets management logic for ToolHive. |
aes
Package aes contains functions for encrypting and decrypting data using AES-GCM
|
Package aes contains functions for encrypting and decrypting data using AES-GCM |
clients
Package clients contains code for connecting to secret provider APIs.
|
Package clients contains code for connecting to secret provider APIs. |
clients/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
keyring
Package keyring provides a composite keyring provider that supports multiple backends.
|
Package keyring provides a composite keyring provider that supports multiple backends. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Package state provides functionality for storing and retrieving runner state across different environments (local filesystem, Kubernetes, etc.)
|
Package state provides functionality for storing and retrieving runner state across different environments (local filesystem, Kubernetes, etc.) |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Package telemetry provides OpenTelemetry instrumentation for ToolHive MCP server proxies.
|
Package telemetry provides OpenTelemetry instrumentation for ToolHive MCP server proxies. |
Package transport provides utilities for handling different transport modes for communication between the client and MCP server.
|
Package transport provides utilities for handling different transport modes for communication between the client and MCP server. |
errors
Package errors provides error types and constants for the transport package.
|
Package errors provides error types and constants for the transport package. |
proxy
Package proxy contains code for managing proxy processes.
|
Package proxy contains code for managing proxy processes. |
proxy/httpsse
Package httpsse provides an HTTP proxy implementation for Server-Sent Events (SSE) used in communication between the client and MCP server.
|
Package httpsse provides an HTTP proxy implementation for Server-Sent Events (SSE) used in communication between the client and MCP server. |
proxy/streamable
Package streamable provides a streamable HTTP proxy for MCP servers.
|
Package streamable provides a streamable HTTP proxy for MCP servers. |
proxy/transparent
Package transparent provides MCP ping functionality for transparent proxies.
|
Package transparent provides MCP ping functionality for transparent proxies. |
session
Package session provides a session manager with TTL cleanup.
|
Package session provides a session manager with TTL cleanup. |
ssecommon
Package ssecommon provides common types and utilities for Server-Sent Events (SSE) used in communication between the client and MCP server.
|
Package ssecommon provides common types and utilities for Server-Sent Events (SSE) used in communication between the client and MCP server. |
streamable
Package streamable provides common types and utilities for Streamable HTTP connections used in communication between the client and MCP server.
|
Package streamable provides common types and utilities for Streamable HTTP connections used in communication between the client and MCP server. |
tunnel/ngrok
Package ngrok provides an implementation of the TunnelProvider interface using ngrok.
|
Package ngrok provides an implementation of the TunnelProvider interface using ngrok. |
types
Package types provides common types and interfaces for the transport package used in communication between the client and MCP server.
|
Package types provides common types and interfaces for the transport package used in communication between the client and MCP server. |
types/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Package updates contains logic for checking if an update is available for ToolHive.
|
Package updates contains logic for checking if an update is available for ToolHive. |
Package validation provides functions for validating input data.
|
Package validation provides functions for validating input data. |
Package versions provides version information for the ToolHive application.
|
Package versions provides version information for the ToolHive application. |
Package workloads contains high-level logic for managing the lifecycle of ToolHive-managed containers.
|
Package workloads contains high-level logic for managing the lifecycle of ToolHive-managed containers. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
statuses
Package statuses provides an interface and implementation for managing workload statuses.
|
Package statuses provides an interface and implementation for managing workload statuses. |
statuses/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
types
Package types contains types and validation functions for workloads in ToolHive.
|
Package types contains types and validation functions for workloads in ToolHive. |
Click to show internal directories.
Click to hide internal directories.