Open-source MCP platform for running MCP servers in isolated containers, managing registries, enforcing access policy, and operating local or Kubernetes-based MCP infrastructure.
ToolHive runs MCP servers and can connect them to local clients or Kubernetes infrastructure, so every selected server image and registry entry should be treated as executable supply-chain input., Container isolation reduces local risk but does not remove the need to review server permissions, mounted files, network access, secrets, and tool behavior., Registry, gateway, and operator features can centralize access to many MCP servers; enforce least privilege, approval workflows, and audit review before broad rollout., OIDC/OAuth, authorization policy, remote MCP authentication, and Kubernetes operator controls should be configured before exposing shared endpoints., Built-in client setup can modify local MCP client configuration; review generated changes before connecting sensitive workspaces., The `thv mcp serve` control server is experimental and can expose tools that search the registry, run servers, stop servers, remove servers, inspect logs, and manage secrets.
Privacy notes
ToolHive may handle MCP server configs, registry metadata, container images, permission files, secrets, client config paths, prompts, tool arguments, tool outputs, traces, metrics, audit logs, and identity claims., Local configuration, keyring entries, runtime logs, OpenTelemetry traces, Prometheus metrics, Kubernetes custom resources, and registry contents can reveal private server names, endpoints, credentials, and tool schemas., Downstream MCP servers may forward workspace files, cloud data, database results, tickets, browser state, or account data through ToolHive to connected clients and model providers., Do not commit real ToolHive configs, registry overrides, secrets, permission files, kubeconfigs, OIDC credentials, telemetry exports, or generated client configs.
Author
stacklok
Submitted by
oktofeesh1
Claim status
unclaimed
Last verified
2026-06-05
Decision playbook
Review trust signals before you adopt
Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.
Compare context
Selected
0
Current score
63
Baseline
—
Delta
No baseline selected
No major trust-signal divergence detected in the current selection.
Source and provenance checks
Needs review
Confirm ownership and provenance before trusting install instructions.
Source link availableRequired
Open the canonical repository and verify ownership.
Done
Source provenance statusRequired
Marked as source-backed.
Done
Metadata reviewed
No reviewed flag detected in metadata.
Pending
Safety and privacy checks
Complete
Validate risk disclosures before installation or API wiring.
Safety notes presentRequired
Review the listed safety guidance before running commands.
Done
Privacy notes presentRequired
Review data handling notes before connecting accounts or secrets.
Done
Trust level risk gateRequired
Trust level does not block evaluation.
Done
Package and install checks
Needs review
Check package metadata and artifact integrity signals.
Install payload available
Install or copy payload is available for review.
Done
Package verification flag
No package verification flag provided.
Pending
Checksum metadata
No checksum provided for downloaded artifact.
Pending
Compare-driven decision checks
Needs review
Use compare context to validate trade-offs before adoption.
Compare tray has multiple entries
Add at least one more entry to compare trust differences.
6 safety and 4 privacy notes across 4 risk areas. Review closely: credentials & tokens, third-party handling.
4 areas
SafetyExecution & processesToolHive runs MCP servers and can connect them to local clients or Kubernetes infrastructure, so every selected server image and registry entry should be treated as executable supply-chain input.
SafetyCredentials & tokensContainer isolation reduces local risk but does not remove the need to review server permissions, mounted files, network access, secrets, and tool behavior.
SafetyGeneralRegistry, gateway, and operator features can centralize access to many MCP servers; enforce least privilege, approval workflows, and audit review before broad rollout.
SafetyCredentials & tokensOIDC/OAuth, authorization policy, remote MCP authentication, and Kubernetes operator controls should be configured before exposing shared endpoints.
SafetyGeneralBuilt-in client setup can modify local MCP client configuration; review generated changes before connecting sensitive workspaces.
SafetyCredentials & tokensThe `thv mcp serve` control server is experimental and can expose tools that search the registry, run servers, stop servers, remove servers, inspect logs, and manage secrets.
PrivacyCredentials & tokensToolHive may handle MCP server configs, registry metadata, container images, permission files, secrets, client config paths, prompts, tool arguments, tool outputs, traces, metrics, audit logs, and identity claims.
PrivacyCredentials & tokensLocal configuration, keyring entries, runtime logs, OpenTelemetry traces, Prometheus metrics, Kubernetes custom resources, and registry contents can reveal private server names, endpoints, credentials, and tool schemas.
PrivacyThird-party handlingDownstream MCP servers may forward workspace files, cloud data, database results, tickets, browser state, or account data through ToolHive to connected clients and model providers.
PrivacyCredentials & tokensDo not commit real ToolHive configs, registry overrides, secrets, permission files, kubeconfigs, OIDC credentials, telemetry exports, or generated client configs.
Safety notes
ToolHive runs MCP servers and can connect them to local clients or Kubernetes infrastructure, so every selected server image and registry entry should be treated as executable supply-chain input.
Container isolation reduces local risk but does not remove the need to review server permissions, mounted files, network access, secrets, and tool behavior.
Registry, gateway, and operator features can centralize access to many MCP servers; enforce least privilege, approval workflows, and audit review before broad rollout.
OIDC/OAuth, authorization policy, remote MCP authentication, and Kubernetes operator controls should be configured before exposing shared endpoints.
Built-in client setup can modify local MCP client configuration; review generated changes before connecting sensitive workspaces.
The `thv mcp serve` control server is experimental and can expose tools that search the registry, run servers, stop servers, remove servers, inspect logs, and manage secrets.
Privacy notes
ToolHive may handle MCP server configs, registry metadata, container images, permission files, secrets, client config paths, prompts, tool arguments, tool outputs, traces, metrics, audit logs, and identity claims.
Local configuration, keyring entries, runtime logs, OpenTelemetry traces, Prometheus metrics, Kubernetes custom resources, and registry contents can reveal private server names, endpoints, credentials, and tool schemas.
Downstream MCP servers may forward workspace files, cloud data, database results, tickets, browser state, or account data through ToolHive to connected clients and model providers.
Do not commit real ToolHive configs, registry overrides, secrets, permission files, kubeconfigs, OIDC credentials, telemetry exports, or generated client configs.
Prerequisites
Docker or Podman available for local containerized MCP server runtime.
ToolHive CLI installed through Homebrew, winget, release archive, or source build.
MCP client configuration reviewed before connecting to `thv mcp serve` or running `thv client setup`.
Registry entries, server images, permissions, secrets, and network access reviewed before running MCP servers.
Kubernetes cluster, operator permissions, ingress, identity provider, and observability stack planned before cluster deployment.
ToolHive is an open-source platform for running and managing MCP servers. Its
thv CLI can discover registry entries, run approved MCP servers in isolated
containers, set up supported MCP clients, and manage local server lifecycle.
The same project also includes gateway, registry, runtime, and Kubernetes
operator components for teams that need central governance around MCP usage.
The repo positions ToolHive as a production-oriented MCP platform rather than a
single-purpose server. It is useful when a developer or platform team wants to
run MCP servers through container isolation, curated registries, secrets
handling, authorization policy, audit logs, observability, and Kubernetes-based
deployment patterns.
These sources were reviewed on 2026-06-07. Prefer the live repository,
README, license, security policy, architecture notes, authorization notes,
observability notes, remote MCP authentication notes, secrets and permissions
docs, MCP serve docs and source, operator values, release page, CLI docs, UI
docs, Kubernetes docs, MCP guides, and download page for current installation
and operating guidance.
Features
Run MCP servers locally through the thv CLI.
Expose an experimental local ToolHive control MCP server through thv mcp serve.
Use Docker or Podman-backed container isolation for MCP servers.
Discover approved servers through registries.
Set up supported local MCP clients from the CLI.
Manage server lifecycle with list, run, stop, remove, restart, and proxy-port options.
Store and manage secrets for MCP server runtime.
Apply authorization and remote MCP authentication patterns.
Export logs, OpenTelemetry traces, Prometheus metrics, and audit signals.
Operate MCP servers through a Kubernetes operator.
Use gateway, registry server, runtime, and portal components for larger deployments.
Installation
Install the CLI with Homebrew on macOS or Linux:
brew tap stacklok/tap
brew install thv
The install guide also documents winget, release archives, and source builds.
After installing, start with a registry entry from the quickstart:
thv registry list
thv registry info toolhive-doc-mcp
thv run toolhive-doc-mcp
thv client setup
Review the registry entry, server image, permissions, and generated client
configuration before connecting the server to a sensitive workspace.
To expose ToolHive itself as an MCP control server, run:
thv mcp serve
The CLI reference documents this as an experimental MCP server for controlling
ToolHive. The source sets the default host to localhost, the default port to
4483, and the Streamable HTTP endpoint path to /mcp, so the default client
URL is http://localhost:4483/mcp.
Use Cases
Run MCP servers locally without giving each server direct host-level access.
Curate registry entries that developers can discover and launch consistently.
Connect Claude, Cursor, VS Code, or other clients to approved MCP servers.
Centralize secrets and permission review for MCP server runtime.
Add observability and audit data around MCP usage.
Run MCP infrastructure in Kubernetes with operator-managed resources.
Standardize MCP adoption across a team that needs policy and identity controls.
Safety and Privacy
ToolHive improves MCP server operations, but it is still executing and exposing
tools. Review every registry entry, server image, run configuration, permission
file, secret, and network path before connecting an agent. Keep approval in the
loop for servers that can read local files, execute code, mutate cloud services,
send messages, change tickets, or access production data.
Treat ToolHive's local and cluster state as sensitive. Runtime logs,
OpenTelemetry traces, Prometheus metrics, audit logs, Kubernetes resources,
secret stores, permission files, and generated client configs can reveal private
tooling, endpoints, credentials, prompts, arguments, responses, and identity
claims.
The ToolHive MCP control server is stronger than a passive status endpoint. It
can expose tools for running and removing servers and for interacting with the
local ToolHive secret store, so keep it bound to localhost and only connect
trusted clients.
Duplicate Check
No stacklok/toolhive entry, ToolHive MCP Platform entry, or matching source
URL was found in content/mcp. This entry now uses the documented
thv mcp serve local Streamable HTTP endpoint for the installable ToolHive
control server.
Show that ToolHive MCP Platform is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.
[](https://heyclau.de/entry/mcp/toolhive-mcp-platform)
How it compares
ToolHive MCP Platform side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.
Open-source MCP platform for running MCP servers in isolated containers, managing registries, enforcing access policy, and operating local or Kubernetes-based MCP infrastructure.
MIT-licensed Kubernetes gateway and management layer for MCP servers, with session-aware routing, adapter lifecycle APIs, tool registration, Entra ID role authorization, and optional agent/session preview resources.
Apache-2.0 agentic proxy that can expose stdio, HTTP, SSE, and Streamable HTTP MCP servers through a managed gateway with federation, OAuth/JWT authentication, RBAC/CEL policy, CORS, TLS, observability, and Kubernetes Gateway API support.
✓ToolHive runs MCP servers and can connect them to local clients or Kubernetes infrastructure, so every selected server image and registry entry should be treated as executable supply-chain input.
Container isolation reduces local risk but does not remove the need to review server permissions, mounted files, network access, secrets, and tool behavior.
Registry, gateway, and operator features can centralize access to many MCP servers; enforce least privilege, approval workflows, and audit review before broad rollout.
OIDC/OAuth, authorization policy, remote MCP authentication, and Kubernetes operator controls should be configured before exposing shared endpoints.
Built-in client setup can modify local MCP client configuration; review generated changes before connecting sensitive workspaces.
The `thv mcp serve` control server is experimental and can expose tools that search the registry, run servers, stop servers, remove servers, inspect logs, and manage secrets.
✓Archestra is a platform/control-plane entry, not a single-purpose local MCP helper; admins can expose many MCP servers, agents, tools, and credentials through one gateway.
The upstream quickstart mounts the host Docker socket so the platform can run MCP servers; treat that as highly privileged host access and avoid using it on sensitive machines without isolation.
Self-hosted MCP servers may run as Kubernetes workloads with injected environment variables, secrets, images, network policies, and restart controls.
Tool assignments, gateway visibility, credential resolution, custom headers, and load-tools-on-demand settings should be reviewed per team and environment.
Deterministic tool guardrails can reduce some unsafe tool chains, but they depend on correct policies and do not make untrusted MCP servers safe by default.
✓Microsoft MCP Gateway can deploy, update, delete, and route MCP server adapters in Kubernetes through its management API.
The dynamic `/mcp` tool router can route tool calls to registered tool servers, so tool definitions and execution endpoints must be reviewed before registration.
Adapter and tool write access is limited to the creator or `mcp.admin`, while read access depends on creator, admin, and configured required roles.
The optional agents and sessions subsystem is documented as preview and single-replica; built-in bash and file tools run in the gateway pod and are not a production sandbox.
Proxying local stdio servers into remotely accessible services can expose local tools and workload identity permissions if access controls are too broad.
✓Agentgateway can aggregate and expose many downstream MCP targets through one endpoint; every target's permissions become part of the gateway surface.
Stdio targets are spawned by the gateway process, so commands such as package runners or containers inherit the gateway host's trust boundary.
Demo configs use permissive CORS and local authorization servers; lock down origins, headers, issuers, audiences, JWKS, and resource metadata before production use.
CEL/RBAC policies can inspect MCP tool names, arguments, results, prompts, resources, request bodies, JWT claims, API keys, and backend metadata; test policies before relying on them.
Remote MCP proxying, OAuth provider adaptation, Kubernetes routing, TLS termination, and guardrails are infrastructure changes that should go through normal security review.
Privacy notes
✓ToolHive may handle MCP server configs, registry metadata, container images, permission files, secrets, client config paths, prompts, tool arguments, tool outputs, traces, metrics, audit logs, and identity claims.
Local configuration, keyring entries, runtime logs, OpenTelemetry traces, Prometheus metrics, Kubernetes custom resources, and registry contents can reveal private server names, endpoints, credentials, and tool schemas.
Downstream MCP servers may forward workspace files, cloud data, database results, tickets, browser state, or account data through ToolHive to connected clients and model providers.
Do not commit real ToolHive configs, registry overrides, secrets, permission files, kubeconfigs, OIDC credentials, telemetry exports, or generated client configs.
✓MCP server definitions, tool schemas, gateway tokens, upstream credentials, OAuth tokens, API keys, custom headers, logs, traces, and tool results may be stored or processed by the platform.
Built-in observability, LLM proxy, chat, agents, and policy features can reveal prompts, tool arguments, tool outputs, token usage, user identities, team membership, and trace metadata.
Registry entries and installations can use personal, team-scoped, or shared credentials; choose the narrowest scope that matches the use case.
When external MCP clients call an Archestra gateway, downstream tool results can still be sent by the MCP client to the configured model provider.
✓The gateway may process bearer tokens, Entra ID role claims, adapter metadata, registered tool schemas, session IDs, MCP requests, tool arguments, tool results, logs, container image names, environment variables, and Kubernetes deployment status.
Adapter logs and session streams can reveal prompts, tool inputs, tool outputs, upstream MCP responses, and internal service names.
Workload identity, Azure resource access, Foundry settings, and MCP proxy environment variables can expose cloud permissions if logged or shared.
Store tokens, role assignments, registry credentials, deployment payloads, and model provider settings in controlled secrets rather than committed examples.
✓MCP requests, tool arguments, tool results, prompt names, resource names, session IDs, JWT/API-key claims, raw request/response bodies, logs, traces, and telemetry may pass through the gateway.
CEL policy and observability features may buffer or inspect request and response bodies depending on configuration.
OAuth/JWT metadata, bearer tokens, API keys, DCR secrets, Keycloak/Auth0/Okta settings, and upstream MCP credentials must be protected as secrets.
Any data returned by downstream MCP tools can still be sent onward by the MCP client to the configured model provider.
Prerequisites
Docker or Podman available for local containerized MCP server runtime.
ToolHive CLI installed through Homebrew, winget, release archive, or source build.
MCP client configuration reviewed before connecting to `thv mcp serve` or running `thv client setup`.
Registry entries, server images, permissions, secrets, and network access reviewed before running MCP servers.
Docker for local evaluation, or Kubernetes and Helm/Terraform-style deployment planning for production use.
Organization policy for which MCP servers, credentials, teams, environments, and external network destinations may be exposed.
LLM provider keys or local model configuration if using Archestra's built-in chat, agents, or LLM proxy features.
Admin review of the quickstart container command before mounting the Docker socket.
Kubernetes cluster access with permission to deploy gateway, adapter, tool router, and sample MCP server workloads.
.NET 8 SDK, Docker Desktop, local registry, and Kubernetes enabled for the documented local deployment flow.
MCP server images built and pushed to the registry used by the gateway deployment.
Bearer authentication, Entra ID app roles, `mcp.admin`, and per-resource `requiredRoles` configured before exposing management APIs.
Agentgateway binary, container image, or source checkout from the upstream release/container/docs path.
At least one downstream MCP target, such as a stdio command, remote MCP server, SSE server, or Streamable HTTP server.
MCP client that can connect to the exposed Streamable HTTP or SSE route.
Auth, CORS, TLS, route, and policy configuration reviewed before shared or remote exposure.