Toolhive

Security

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

Your AI app calls the Toolhive MCP server, which does the security work and sends the result back to the chat.

About Toolhive

Toolhive is a community MCP server from stacklok, filed in our directory under security. ToolHive is an enterprise-grade platform for running and managing Model Context Protocol (MCP) servers.

At a glance

Publisher
stacklok (community)
Runs
See the README for setup
Written in
Go
License
Apache-2.0
GitHub stars
2,366

How to set up Toolhive

  1. Follow the install steps in the Toolhive README; it is written in Go, so have that toolchain ready.
  2. Check the Toolhive README for keys or settings; the registry lists none that Toolhive requires.
  3. Add Toolhive to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Toolhive tools to confirm the connection.
  5. Run one read-only task with Toolhive first, and keep your app asking before each tool call until the results look right.

Toolhive compared with similar servers

  • Emp3r0r by jm33-m0 has fewer GitHub stars than Toolhive (2.2k against 2.4k); both are community servers, and both run locally.
  • X64dbg by duty1g has more GitHub stars than Toolhive (2.9k against 2.4k); both are community servers, and both run locally.
  • Jshookmcp by vmoranv has fewer GitHub stars than Toolhive (2.1k against 2.4k); both are community servers, and both run locally.

Before you connect Toolhive

  • Give Toolhive its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Toolhive tool call until you trust what it does with them.
  • Treat text that Toolhive fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Toolhive on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Toolhive

How marketing and sales teams put Toolhive to work, by company size. Pick the size closest to yours and start Toolhive on one use case.

Small business

  • A small business can use Toolhive to check its domains, logins and site for common gaps before they cost a customer's trust.
  • Owners can ask Toolhive whether a tool or vendor has known issues before connecting it to customer data.
  • Toolhive runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can use Toolhive to review what each connected app can access and remove keys nobody uses.
  • Security and web teams can connect Toolhive to scan campaign sites and forms before launch, not after an incident.
  • Start Toolhive on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run Toolhive in the security team's tooling, so marketing's agents and apps are reviewed like any other system.
  • Large orgs can use Toolhive to keep evidence for audits, showing which agents reached which data and when.
  • Toolhive is a community server, so have security review the code and pin a version before Toolhive touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Toolhive README

From stacklok/toolhive on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

The open source MCP platform trusted by developers and enterprises

Run any MCP server securely, instantly, anywhere.

ToolHive runs every MCP server in an isolated container, enforces identity and access policy per request when configured with an authentication source, and gives platform teams the observability they need to put MCP in production.

Why ToolHive?

Here are some of the more common use cases for ToolHive:

Developers. Run MCP servers with more security and more (token) savings Platform Engineers. Run MCP on your existing Kubernetes infrastructure Enterprises. Self-host MCP servers and stay in control of your data
Connect Claude Code, Cursor, GitHub Copilot, or your preferred client to MCP servers with a single click or command.

ToolHive wraps every MCP server in an isolated container with a minimal permission file (no local credentials) and uses semantic tool search to reduce your token usage by up to 85%.
Put an end to shadow MCP use by your developers, and give your security team the audit logs and configurable identity enforcement they require.

ToolHive includes a Kubernetes operator, so you can declare policies, integrate with your IdP and observability stack, emit OTel traces, and more … all with familiar tools and patterns.
Most MCP solutions are SaaS, but your compliance requirements prohibit sensitive info from being processed by SaaS providers.

ToolHive is the exception that allows you to self-host your MCP registry, gateway, etc. You can pilot the entire platform, and when you’re ready to scale, Stacklok’s got the added capabilities and expert team ready!
Download ToolHive and get started Explore the Kubernetes operator in our docs

Read more about running MCP on Kubernetes
Learn more about Stacklok’s platform

Compare open source ToolHive and Stacklok Enterprise

Quick links

Core capabilities

ToolHive architecture: Gateway, Registry Server, and Runtime, accessible through ToolHive UI and the CLI

ToolHive is built on a modular architecture to streamline secure MCP server management and integration. Here's how the main components work.

🔌 Gateway

Define dedicated endpoints from which your teams can securely and efficiently access tools.

  • Orchestrate multiple tools into a virtual MCP with a deterministic workflow engine
  • Define access policies and network endpoints
  • Centralize control of security policy, authentication, authorization, auditing, etc.
  • Integrate with your IdP for SSO (OIDC/OAuth compatible)
  • Customize and filter tools and descriptions to improve performance and reduce token usage
  • Connect with local clients like Claude Desktop, Cursor, VS Code, and VS Code Server
📦 Registry Server

Curate a catalog of trusted servers your teams can quickly discover and deploy.

  • Integrate with the official MCP registry
  • Add custom MCP servers
  • Group servers based on role or use case
  • Manage your registry with an API-driven interface (or embed in existing workflows for seamless integration and governance)
  • Verify provenance and sign servers with built-in security controls
  • Preset configurations and permissions for a frictionless user experience
⚙️ Runtime

Deploy, run, and manage MCP servers locally or in a Kubernetes cluster with security guardrails.

  • Deploy MCP servers in the cloud via Kubernetes for enterprise scalability
  • Run MCP servers locally via Docker or Podman
  • Proxy remote MCP servers securely for unified management
  • Kubernetes Operator for fleet and resource management
  • Leverage OpenTelemetry and Prometheus for monitoring and audit logging
💻 Interfaces

Choose the interface that best fits your workflow.

  • Use ToolHive UI for a cross-platform desktop experience
  • Use the ToolHive CLI for terminal workflows and automation
  • Discover, configure, and run MCP servers
  • Automatically connect managed MCP servers to compatible AI clients
How it works together
  1. Admins curate and organize MCP servers in the Registry, configuring access and policies.
  2. Users discover, configure, and run MCP servers through ToolHive UI or the CLI, and ToolHive orchestrates deployment and access.
  3. Runtime securely deploys and manages MCP servers across local and cloud environments, integrating seamlessly with existing SDLC workflows, exporting analytics, and enforcing fine-grained access control.
  4. Gateway handles all inbound traffic, secures context and credentials, optimizes tool selection, and applies organizational policies.

Flexible deployment

Desktop experience

Individual developers can get started in minutes with the desktop UI or CLI, then apply the same concepts in enterprise environments.

Key features:

  • Run any MCP server from a container image, or build one dynamically from common package managers
  • Manage encrypted secrets and control network isolation with simple, local tooling
  • Test and validate MCP servers using built-in tools like the official MCP Inspector
  • Optimize token usage and tool execution with the MCP Optimizer

Get started with the UI: Quickstart, How-to guides
Get started with the CLI: Quickstart, How-to guides, Command reference

MCP guides: learn how to run common MCP servers with ToolHive

Kubernetes Operator

Teams and organizations manage MCP servers and registries centrally using familiar Kubernetes workflows.

Key features:

  • Custom Resource Definitions for MCP servers, registries, and other ToolHive components
  • Secure execution with container-based isolation and multi-namespace support
  • Automated service creation and discovery, with ingress integration for secure access
  • Enterprise-grade security and observability: OIDC/OAuth SSO, secure token exchange, audit logging, OpenTelemetry, and Prometheus metrics
  • Hybrid registry server: curate from upstream registries, dynamically register local MCP servers, or proxy trusted remote services

Get started: Quickstart, How-to guides, CRD reference, Example manifests

Hybrid

ToolHive's complete solution for teams and enterprises supports MCP servers across all environments: on developer machines, inside your Kubernetes clusters, or hosted externally by trusted SaaS providers.

End users and developers manage approved MCP servers through ToolHive UI or the CLI, from guided desktop workflows to terminal-based automation and testing.

Enterprise teams can also leverage ToolHive to integrate MCP servers into custom internal tools, agentic workflows, or chat-based interfaces, using the same runtime and access controls.

Contributing

We welcome contributions and feedback from the community!

If you have ideas, suggestions, or want to get involved, check out our contributing guide or open an issue. Join us in making ToolHive even better!

Contribute to the CLI, API, and Kubernetes Operator (this repo):

Contribute to the UI, registry, and docs:

License

This project is licensed under the Apache 2.0 License.

Questions about Toolhive

What is the Toolhive MCP server?

ToolHive is an enterprise-grade platform for running and managing Model Context Protocol (MCP) servers. Toolhive is maintained by stacklok on GitHub at stacklok/toolhive, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Toolhive MCP server?

Toolhive doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (stacklok/toolhive). Like most servers, Toolhive ends with a command or URL you paste into your AI app's MCP config.

Does Toolhive need an API key?

The registry lists no required keys for Toolhive. Check the Toolhive README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Toolhive an official MCP server?

No. Toolhive is a community server maintained by stacklok. Community servers can be excellent; read the code and the open issues before you give Toolhive access to company data.

What license is Toolhive under?

Toolhive is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Toolhive; the service it connects to has its own terms.