Skip to main content
mcpSource-backed
ToolHive logo

ToolHive MCP Platform

Open-source MCP platform for running MCP servers in isolated containers, managing registries, enforcing access policy, and operating local or Kubernetes-based MCP infrastructure.

by stacklok · submitted by oktofeesh1·added 2026-06-05·
Review first review before installing

Open the source and read safety notes before installing.

Citation facts

Source-backed facts for citing this resource, derived directly from the registry — also available as plain text for AI assistants.

Source URLs
https://docs.stacklok.com/toolhive, https://github.com/stacklok/toolhive, https://stacklok.com/download/
Brand
ToolHive
Brand domain
stacklok.com
Brand asset source
brandfetch
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.
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.

    Pending
  • Baseline comparison available

    No baseline peer selected yet.

    Pending
  • Diverging trust signals identified

    No major trust-signal divergence found.

    Pending

Setup at a glance

CLI install

Copy-ready — paste the snippet to get started.

20 minutes

Adoption plan

Balanced adoption plan

Current risk score 24/100. Use staged verification before broader rollout.

Risk 24

Pre-adoption checks

Validate source and review signals before any execution.

  • Confirm source provenanceRequired

    Source URL/provenance metadata is present.

    Done
  • Confirm metadata review state

    No review metadata found; increase manual validation.

    Pending
  • Verify install payload

    Install/config payload exists and can be inspected.

    Done

Security checks

Confirm safety, privacy, and package integrity signals.

  • Review safety notesRequired

    Safety notes are present.

    Done
  • Review privacy notesRequired

    Privacy notes are present.

    Done
  • Verify package integrity metadata

    No package verification/checksum metadata.

    Pending

Rollout

Adopt in controlled steps based on the selected plan.

  • Run in isolated sandbox firstRequired

    Use a constrained sandbox and observe behavior across multiple tasks.

    Pending
  • Roll out graduallyRequired

    Roll out to a small cohort before wider usage.

    Pending
  • Set monitoring and fallback

    Define rollback path and monitor errors after adoption.

    Pending

Evidence readiness

Evidence readiness matrix · balanced

Missing required evidence: Metadata review. Risk score 31.

Risk 31

Source provenance

Present

Source repository/provenance is listed.

Required in this preset

Metadata review

Missing

Review metadata is missing.

Required in this preset

Safety notes

Present

Safety notes are present.

Required in this preset

Privacy notes

Present

Privacy notes are present.

Optional in this preset

Package integrity

Missing

Package integrity metadata is missing.

Optional in this preset

Install payload

Present

Install payload is available.

Required in this preset

Required gaps: Metadata review

Decision timeline

Decision timeline · balanced

Blocking gaps: Check metadata review status. Risk 28.

Risk 28

triage

Confirm source provenanceRequired

Source/provenance metadata is available.

Done

triage

Check metadata review statusRequired

Review metadata is missing.

Pending

verify

Review safety notesRequired

Safety notes are available.

Done

verify

Review privacy notes

Privacy notes are available.

Done

verify

Validate package integrity metadata

Package integrity metadata is missing.

Pending

rollout

Verify install payload and commandsRequired

Install payload is available.

Done

Blockers: Check metadata review status

Prerequisite readiness

Prerequisite readiness

5 prerequisites to line up before setup. Includes a review or approval gate.

0/5 ready
Install & runtime2Permissions & scopes1Review & approval220 minutes

Safety & privacy surface

Safety & privacy surface

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.

Schema details

Install type
cli
Troubleshooting
No
Source repository stats
Scope
Source repo
Collection metadata
Estimated setup
20 minutes
Difficulty
advanced
Tool listing metadata
Full copyable content
thv mcp serve

About this resource

Content

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.

Source Review

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.

Source citations

Add this badge to your README

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.

Listed on HeyClaude
[![Listed on HeyClaude](https://heyclau.de/badge/mcp/toolhive-mcp-platform.svg)](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.

Field

Open-source MCP platform for running MCP servers in isolated containers, managing registries, enforcing access policy, and operating local or Kubernetes-based MCP infrastructure.

Open dossier

AGPL-licensed MCP-native platform with a private MCP registry, MCP gateway, Kubernetes MCP orchestrator, access control, credential resolution, observability, and deterministic tool guardrails for shared AI deployments.

Open dossier

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.

Open dossier

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.

Open dossier
Next steps
Trust
Review statusNot reviewedNot reviewedNot reviewedNot reviewed
Package trustPackage not verifiedPackage not verifiedPackage not verifiedPackage not verified
Source provenanceSource-backedSource-backedSource-backedSource-backed
Submitteroktofeesh1oktofeesh1oktofeesh1oktofeesh1
Install riskReview firstReview firstReview firstReview first
Notes Safety ✓ Privacy ✓ Safety ✓ Privacy ✓ Safety ✓ Privacy ✓ Safety ✓ Privacy ✓
BrandToolHive logoToolHiveArchestra logoArchestraMicrosoft MCP Gateway logoMicrosoft MCP Gatewayagentgateway logoagentgateway
Categorymcpmcpmcpmcp
SourceSource-backedSource-backedSource-backedSource-backed
Authorstacklokarchestra-aimicrosoftagentgateway
Added2026-06-052026-06-062026-06-062026-06-06
Platforms
Harness
Source repo
Safety notesToolHive 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 notesToolHive 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.
Install
brew tap stacklok/tap && brew install thv
docker pull archestra/platform:latest
kubectl apply -f deployment/k8s/local-deployment.yml
docker pull ghcr.io/agentgateway/agentgateway
Config
{
  "mcpServers": {
    "toolhive": {
      "url": "http://localhost:4483/mcp",
      "type": "http"
    }
  }
}
{
  "mcpServers": {
    "archestra": {
      "url": "LOCAL_ARCHESTRA_MCP_GATEWAY_URL",
      "headers": {
        "Authorization": "Bearer ARCHESTRA_GATEWAY_TOKEN"
      }
    }
  }
}
{
  "mcpServers": {
    "microsoft-mcp-gateway": {
      "url": "http://localhost:8000/mcp",
      "type": "http"
    }
  }
}
{
  "mcpServers": {
    "agentgateway": {
      "url": "LOCAL_AGENTGATEWAY_MCP_URL",
      "headers": {
        "Authorization": "Bearer AGENTGATEWAY_MCP_TOKEN"
      }
    }
  }
}
Citations
ClaimUnclaimedUnclaimedUnclaimedUnclaimed
Open 4 picks in the interactive comparison tool

Related guides

Signals

Loading live community signals…

More like this, weekly

A short, calm digest of reviewed Claude resources. Unsubscribe any time.