toolhive-cloud-ui
Verified Safeby stacklok
Overview
A UI for interacting with AI models via OpenRouter and managing/utilizing MCP (Model Context Protocol) servers and their tools from a centralized catalog.
Installation
pnpm devEnvironment Variables
- OPENROUTER_API_KEY
- OIDC_ISSUER_URL
- OIDC_CLIENT_ID
- OIDC_CLIENT_SECRET
- OIDC_PROVIDER_ID
- BETTER_AUTH_URL
- BETTER_AUTH_SECRET
- API_BASE_URL
Security Notes
The application leverages external OIDC providers and OpenRouter for AI models. It connects to external MCP servers, which could pose a risk if server URLs or tools are not properly validated/trusted from the configured catalog. However, the provided code demonstrates standard security practices for token management (JWE, HTTP-only cookies, auto-refresh), environment variable usage for secrets, and uses a trusted authentication library ('better-auth'). Clear warnings are given for development secrets.
Similar Servers
example-remote-server
A reference server demonstrating all Model Context Protocol (MCP) features and OAuth 2.0 authentication patterns.
SageMCP
A scalable platform for hosting MCP servers with multi-tenant support, OAuth integration, and connector plugins for various services, deployed on Kubernetes.
turn-based-game-mcp
Demonstrates the Model Context Protocol (MCP) by providing a turn-based games platform with an AI opponent that interacts with a Next.js frontend.
mcp-server-playground
A playground and reference implementation for a Model Context Protocol (MCP) server, featuring streamable HTTP transport, OAuth proxy for third-party authorization servers like Auth0, and stateful session management.