stacklok/toolhive

▲ 9 stars today★ 2,251⑂ 315

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

About stacklok/toolhive

stacklok/toolhive is an open-source project on GitHub, mainly written in Go. ToolHive is an enterprise-grade platform for running and managing Model Context Protocol (MCP) servers. It currently holds 2,251 stars and 315 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #53 with 9 new stars today.

GitHub Repository Details

Repository stacklok/toolhive · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

https://github.com/stacklok/toolhive/blob/HEAD/ToolHive logo


The open source MCP platform trusted by developers and enterprises

[![Release][release-img]][release] [![Build status][ci-img]][ci] [![Coverage Status][coveralls-img]][coveralls] [![License: Apache 2.0][license-img]][license] [![Star on GitHub][stars-img]][stars] [![Discord][discord-img]][discord]

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

https://github.com/stacklok/toolhive/blob/HEAD/ToolHive diagram

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.

📦 Registry Server

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

⚙️ Runtime

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

💻 Interfaces

Choose the interface that best fits your workflow.

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:

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:

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.

https://github.com/stacklok/toolhive/blob/HEAD/ToolHive platform diagram

---

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:

https://github.com/stacklok/toolhive/blob/HEAD/ToolHive mascot

---

License

This project is licensed under the Apache 2.0 License.

[release-img]: https://img.shields.io/github/v/release/stacklok/toolhive?style=flat&label=Latest%20version [release]: https://github.com/stacklok/toolhive/releases/latest [ci-img]: https://img.shields.io/github/actions/workflow/status/stacklok/toolhive/run-on-main.yml?style=flat&logo=github&label=Build [ci]: https://github.com/stacklok/toolhive/actions/workflows/run-on-main.yml [coveralls-img]: https://coveralls.io/repos/github/stacklok/toolhive/badge.svg?branch=main [coveralls]: https://coveralls.io/github/stacklok/toolhive?branch=main [license-img]: https://img.shields.io/badge/License-Apache2.0-blue.svg?style=flat [license]: https://opensource.org/licenses/Apache-2.0 [stars-img]: https://img.shields.io/github/stars/stacklok/toolhive.svg?style=flat&logo=github&label=Stars [stars]: https://github.com/stacklok/toolhive [discord-img]: https://img.shields.io/discord/1184987096302239844?style=flat&logo=discord&logoColor=white&label=Discord [discord]: https://discord.gg/stacklok

GitHub Stars & Activity

2,251Stars
315Forks
0Open issues
GoLanguage

GitHub Popularity

GitHub stars2,251
Forks315
Open issues0
Primary languageGo
License-
Stars gained today9
Created-
Last pushed-

Trending History

Daily boardrank #53 · ▲ 9 stars

Related AI Projects

1

ollama / ollama

Go★ 182,401⑂ 18,161▲ 127 stars
→
2

docker / docker-agent

Go★ 4,211⑂ 493▲ 628 stars
→
3

kai-scheduler / KAI-Scheduler

Go★ 1,559⑂ 295▲ 3 stars
→
4

mhtsec / ARTEX

Go★ 655⑂ 1,735
→
5

llm-d / llm-d-router

Go★ 380⑂ 423▲ 4 stars
→
6

mattpocock / skills

Shell★ 280,863⑂ 23,548▲ 1,770 stars
→
7

affaan-m / ECC

JavaScript★ 275,257⑂ 0
→
8

NousResearch / hermes-agent

Python★ 252,006⑂ 0
→

More AI Rankings