Toolhive logo

Toolhive

Runs MCP servers in isolated local or Kubernetes environments with registry, gateway, policy, and observability controls.

Install Toolhive

Run the project’s own setup commands, in order.

Setup steps from the project

toolhive installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: stacklok.com

  1. 1. Install
    brew tap stacklok/tap
    
  2. 2. Install
    brew install thv
    
  3. 3. Install
    winget install stacklok.thv
    

Overview

toolhive manages MCP servers across developer machines and Kubernetes clusters, using container isolation and a runtime for deployment and lifecycle control. Its gateway centralizes authentication, authorization, access policies, auditing, tool filtering, and connections to local AI clients. A registry provides a curated catalog of trusted servers, while the CLI and desktop UI support discovery, configuration, testing, and execution. Reach for it when you need governed self-hosting, centralized MCP operations, or a consistent way to connect approved servers to clients such as Claude Desktop, Cursor, and VS Code.

Use cases

  • Run MCP servers in isolated local containers
  • Deploy approved MCP servers across Kubernetes namespaces
  • Curate and distribute an internal MCP server catalog
  • Connect governed MCP tools to Claude Desktop, Cursor, or VS Code
  • Apply identity and access policies to MCP traffic

Key features

  • Container-isolated MCP server runtime
  • Kubernetes operator with custom resources
  • Registry for trusted and custom MCP servers
  • Gateway with authentication, authorization, and tool filtering
  • CLI and cross-platform desktop UI
  • OpenTelemetry, Prometheus, and audit logging support

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2.4kStargazers on the source repository.
Last commitTodayMost recent push to the default branch.

How Toolhive works

What toolhive does

toolhive provides a platform for deploying, operating, and governing MCP servers in local and enterprise environments. It can run servers locally with Docker or Podman, deploy them to Kubernetes, or proxy remote MCP services. Each managed server runs inside an isolated container, with controls for permissions, secrets, and network access.

The platform is organized around three main components. The runtime handles deployment and execution. The gateway provides controlled endpoints for accessing tools and applies authentication, authorization, policy, auditing, and tool-selection rules. The registry stores a catalog of approved servers, including servers from the official MCP registry and custom entries, with support for grouping, configuration presets, provenance verification, and signing.

How it works

Administrators curate servers and policies in the registry. Developers then discover and configure approved servers through the ToolHive UI or CLI. The runtime launches those servers locally or in Kubernetes, and the gateway manages inbound traffic, credentials, identity checks, and tool exposure.

The gateway can combine multiple tools into a virtual MCP with a deterministic workflow engine. It also supports OIDC/OAuth-compatible identity providers for single sign-on and can filter tools and descriptions to reduce unnecessary context. Managed servers can be connected to clients including Claude Desktop, Cursor, VS Code, and VS Code Server.

For Kubernetes deployments, the operator introduces custom resource definitions for MCP servers, registries, and other ToolHive components. It can create services, support multiple namespaces, integrate with ingress, and manage hybrid environments containing local, cluster-hosted, and trusted remote services.

Setup and configuration

Local deployments can start from a container image or build an MCP server dynamically with common package managers. Docker or Podman provides the execution environment, while the local tooling manages encrypted secrets and network isolation. The desktop UI and CLI are separate ways to discover, configure, run, test, and connect managed servers to compatible clients.

The desktop workflow includes the official MCP Inspector for testing and validation, along with the MCP Optimizer for tool execution and token-use optimization. Kubernetes users configure ToolHive resources through the operator, using manifests and the available custom resource definitions.

ToolHive can be self-hosted, including its registry and gateway components. Kubernetes installations can connect to an organization’s identity provider and observability systems, and can emit OpenTelemetry data and Prometheus metrics.

Tools and capabilities

  • Run MCP servers in isolated containers with Docker, Podman, or Kubernetes.
  • Proxy remote MCP servers through a centrally managed gateway.
  • Curate, group, configure, and deploy servers from a registry.
  • Apply identity, authorization, network, credential, and access policies.
  • Connect managed servers to supported desktop and coding clients.
  • Inspect and validate servers with MCP Inspector.
  • Export audit information, OpenTelemetry traces, and Prometheus metrics.
  • Use semantic tool search and tool-description filtering to reduce token usage.

Limitations and notes

toolhive is suited to managing MCP infrastructure rather than acting as a single-purpose business-data connector. Some capabilities, including identity-provider integration, audit controls, Kubernetes fleet management, and observability exports, depend on the relevant gateway, operator, or enterprise deployment configuration. Local and Kubernetes installations use different operational workflows, with the CLI and desktop UI focused on developer and terminal use and the operator focused on cluster management.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Toolhive

toolhive is an MCP server that runs and manages other MCP servers through its gateway, registry, runtime, CLI, and desktop UI. It connects AI clients such as Claude Desktop, Cursor, and VS Code to managed MCP tools across local Docker or Podman environments and Kubernetes deployments.

Install toolhive through its desktop UI, CLI, or Kubernetes operator workflow. Local usage runs servers with Docker or Podman, while cluster deployments use the operator and ToolHive custom resources. The project provides separate quickstarts for the desktop application, CLI, and Kubernetes operator.

Yes, toolhive can connect managed MCP servers to Cursor. The gateway exposes controlled endpoints, and the desktop or CLI workflows can automatically connect managed servers to compatible AI clients, including Cursor.

Yes, toolhive includes a Kubernetes operator for deploying and managing MCP servers and registries. It supports custom resources, container isolation, multiple namespaces, service discovery, ingress integration, identity controls, audit logging, OpenTelemetry, and Prometheus metrics.

Yes, toolhive runs MCP servers locally with Docker or Podman. Its UI and CLI can launch servers from container images or build them dynamically with common package managers, while also managing encrypted secrets and network isolation.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewToolhive AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/toolhive?style=directory)](https://allmcps.com/mcp/toolhive)
HTML Embed
<a href="https://allmcps.com/mcp/toolhive"><img src="https://allmcps.com/api/badge/toolhive?style=directory" alt="Toolhive on AllMCPs" /></a>