ToolHive logo

ToolHive

by StacklokLabs

ToolHive is a lightweight utility designed to simplify the deployment and management of MCP (Model Context Protocol) servers, ensuring ease of use, consistency, and security. It aims to solve challenges like complex deployment processes and insecure secret management.

View on GitHub

Last updated: N/A

What is ToolHive?

ToolHive is a CLI tool that simplifies the deployment and management of MCP servers by running them in containers with minimal permissions. It provides a curated registry of MCPs, secure secret management, and enterprise-ready authorization.

How to use ToolHive?

To use ToolHive, first install it via Homebrew, by downloading the binary, or building from source. Then, you can use the thv run command to start MCP servers from the registry or run custom MCP servers by specifying the image name and arguments. ToolHive also supports auto-discovery and configuration of clients like VS Code Copilot and Cursor.

Key features of ToolHive

  • Curated MCP registry

  • Enterprise-ready authorization

  • Seamless integration with development tools

  • Secure secrets management

  • Standardized packaging using OCI containers

Use cases of ToolHive

  • Deploying MCP servers for GitHub Copilot

  • Running MCP servers for Cursor

  • Managing secrets for MCP servers

  • Running custom MCP servers

  • Deploying MCP servers in Kubernetes

FAQ from ToolHive

What is an MCP server?

MCP stands for Model Context Protocol. MCP servers provide context to LLMs.

What clients are compatible with ToolHive?

ToolHive has been tested with Copilot (VS Code), Cursor, Roo Code, and PydanticAI. Other clients that support SSE can also be used.

How does ToolHive manage secrets?

ToolHive provides a secure way to manage secrets using an encrypted secrets store. The encryption password is stored in your operating system's keyring service.

Can I run a custom MCP server with ToolHive?

Yes, you can run a custom MCP server by specifying the image name and any additional arguments using the thv run command.

How can I contribute to ToolHive?

You can contribute by reviewing the CONTRIBUTING guide, opening an issue, or joining the community Discord server.