Back to Home
stacklok icon

toolhive-registry-server

Verified Safe

by stacklok

Overview

The ToolHive Registry Server acts as a central metadata hub for enterprises to curate, discover, and govern Model Context Protocol (MCP) servers, providing a unified catalog from various sources with built-in security and auditability.

Installation

Run Command
thv-registry-api serve --config examples/config-git.yaml

Environment Variables

  • LOG_LEVEL
  • THV_DATABASE_PASSWORD
  • THV_DATABASE_MIGRATION_PASSWORD
  • PGPASSFILE
  • PGHOST
  • PGPORT
  • PGDATABASE
  • PGUSER

Security Notes

The server demonstrates a strong focus on security, with OAuth/OIDC authentication enabled by default and extensive documentation on secure configuration (e.g., `sslMode: verify-full`, `pgpass` files for database credentials, two-user database security model). It also has a clear `SECURITY.md` policy for vulnerability reporting. While `docker/postgres-init.sh` contains hardcoded passwords for `app_password` and `migration_password`, this is within an initialization script for initial setup and explicitly advises using a `pgpass` file for password management, which mitigates the risk for production environments. The project uses `sqlc` for database interaction, which helps prevent SQL injection vulnerabilities.

Similar Servers

Stats

Interest Score41
Security Score9
Cost ClassLow
Avg Tokens100
Stars11
Forks4
Last Update2025-12-06

Tags

APIRegistryMetadataGovernanceDiscoveryPostgreSQLOAuthKubernetes