# toolhive [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/stacklok/toolhive  
**GitHub Stars:** 2356  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/toolhive

## Description
ToolHive is an enterprise-grade platform for running and managing Model Context Protocol (MCP) servers.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://stacklok.com/download/), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
brew tap stacklok/tap
```

2. Install:

```sh
brew install thv
```

3. Install:

```sh
winget install stacklok.thv
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/toolhive/readme_

