ToolHive
Open source platform from Stacklok for running, securing, and managing MCP servers in isolated containers locally or on Kubernetes.
At a Glance
Self-hosted open source ToolHive platform (CLI, desktop UI, Kubernetes operator, registry server, gateway) licensed under Apache 2.0.
Engagement
Available On
Alternatives
Listed Nov 2026
About ToolHive
ToolHive is an open source MCP platform built by Stacklok and maintained by Stacklok and Red Hat, licensed under Apache 2.0. It runs Model Context Protocol servers in isolated containers and is available as a desktop app, a CLI (thv), and a Kubernetes operator.
What It Is
ToolHive is a platform for running and managing MCP servers. It wraps each MCP server in an isolated container with a minimal permission profile, and it can enforce identity and access policy per request when configured with an authentication source. Individual developers use it to connect clients such as Claude Code, Cursor, or GitHub Copilot to MCP servers. Platform teams use it to run MCP on existing Kubernetes infrastructure and self-host it.
Core Components
The README describes a modular architecture of four parts:
- Registry: a curated catalog of vetted official and community MCP servers, with support for custom servers, grouping by role, provenance verification, and integration with the official MCP registry.
- Runtime: runs servers locally via Docker or Podman, or in Kubernetes, and can proxy remote MCP servers. It uses OpenTelemetry and Prometheus for monitoring and audit logging.
- Gateway: a single endpoint for accessing servers, with IdP SSO (OIDC/OAuth), access policies, tool filtering, and virtual MCP workflows. Stacklok says its embedded semantic tool search (MCP Optimizer) reduces token usage by 60-85%.
- Portal and interfaces: a desktop UI and a CLI for discovering, configuring, and running servers, and for automatically connecting them to compatible AI clients.
Deployment Paths
On a developer machine, users can run servers from container images or build them from common package managers. They can manage encrypted secrets, control network isolation, and test servers with the MCP Inspector. The Kubernetes operator adds custom resource definitions for servers and registries, multi-namespace support, ingress integration, audit logging, and OpenTelemetry and Prometheus metrics. Stacklok states that ToolHive runs entirely within the user's own infrastructure, with no SaaS dependency at runtime. Stacklok also offers an Enterprise Platform with a hardened ToolHive distribution.
Community Discussions
Be the first to start a conversation about ToolHive
Share your experience with ToolHive, ask questions, or help others learn from your insights.
Pricing
Open Source (Apache 2.0)
Self-hosted open source ToolHive platform (CLI, desktop UI, Kubernetes operator, registry server, gateway) licensed under Apache 2.0.
- Apache 2.0 licensed core
- Desktop app and CLI
- Kubernetes operator
- Registry and gateway with MCP Optimizer
- Runs entirely within your own infrastructure
Capabilities
Key Features
- Runs every MCP server in an isolated container
- Per-request identity and access policy enforcement
- Registry of vetted official and community MCP servers
- MCP gateway with single endpoint and virtual MCP workflows
- MCP Optimizer semantic tool search to reduce token usage
- Kubernetes operator with CRDs for MCP servers and registries
- Local runtime via Docker or Podman
- Remote MCP server proxying
- OIDC/OAuth SSO integration
- OpenTelemetry and Prometheus monitoring and audit logging
- Encrypted secrets management and network isolation
- Desktop app and CLI
- Built-in MCP Inspector for testing
