Skip to content
MCP server

toolhive

Open source platform to run, secure and govern MCP servers, self-hosted or on desktop

Actively maintainedStatus and history

The repository was last updated yesterday and is published under Apache-2.0.

Pricing
Open source
Platforms
macOS, Windows, Linux
GitHub stars
2.3K
Last commit
1 day ago
Language
Go
License
Apache-2.0

Similar MCP servers

About toolhive

toolhive is an open-source MCP server for agent tooling. It is available on macOS, Windows, Linux, CLI, API, self-hosted and vscode.

The README says ToolHive runs each MCP server in an isolated container and can enforce identity and access policy on every request once an authentication source is configured. Teams get a single gateway endpoint that fronts their tools, along with audit logging and OpenTelemetry or Prometheus metrics for monitoring.

The project is split into parts: a desktop UI and CLI for individual developers, a Kubernetes operator for managing MCP servers as cluster resources, a registry server for curating approved servers, and a runtime that starts servers via Docker or Podman locally or on Kubernetes. The gateway can also combine several tools into one virtual MCP endpoint and filter tool descriptions to reduce token use.

It suits developers who want to run MCP servers more safely on their own machines, and platform or security teams that need to keep MCP traffic inside their own infrastructure rather than through a SaaS gateway. The website says it works with Claude Code, Cursor and GitHub Copilot among other clients.

What it does

Isolated container runtime
Each MCP server runs in its own container with a minimal permission file, so it does not use local credentials.
Single gateway endpoint
Teams reach all their MCP servers through one endpoint with centralised authentication and policy.
Curated server registry
A registry of vetted official and community servers that can be extended with custom entries.
Kubernetes operator
Custom resources for declaring MCP servers and registries using standard Kubernetes workflows.
Semantic tool search
The MCP Optimizer surfaces only relevant tools per request, which the site says cuts token usage by 60 to 85 percent.
Audit and observability
Audit logging, OpenTelemetry traces and Prometheus metrics for monitoring MCP usage.

Good for

  • Running MCP servers locally in containers with less exposure of credentials
  • Giving developers a vetted catalogue of MCP servers to install
  • Self-hosting an MCP gateway where data must stay inside private infrastructure
  • Enforcing SSO and audit logging over MCP tool access in an enterprise

Pricing

Open source

Open source under Apache 2.0; Stacklok Enterprise adds a hardened distribution and support.

Prices change. Check stacklok.com before you buy.

toolhive FAQ

What license is ToolHive released under?

ToolHive is licensed under the Apache 2.0 License, according to the README and the website.

Can it run without a SaaS dependency?

The website says ToolHive runs within your own infrastructure, including private cloud, on-premises, or self-managed Kubernetes, with no SaaS dependency for runtime operation.

Which AI clients are supported?

The website names Claude Code, Cursor and GitHub Copilot among supported clients and links to a full compatibility list in the docs.

How do I install the desktop app or CLI?

The download page lists Homebrew (brew tap stacklok/tap, then brew install thv) and winget (winget install stacklok.thv) commands.

Is toolhive free?

Yes. toolhive is open source, so you can use and self-host it for free.

What are the best alternatives to toolhive?

The closest alternatives to toolhive are mcp-gateway-registry and Security Mcp.

Where this comes from

  • Description: written from the project's README and the project's website.

How AIPoweredBot checks servers