mcp
by UniversalStandards
Overview
A self-expanding, intelligent Model Context Protocol (MCP) server hub that automatically discovers, installs, and provisions external tools and services for AI applications on-demand, handling request normalization and centralized credential management.
Installation
npm startEnvironment Variables
- PORT
- NODE_ENV
- LOG_LEVEL
- GITHUB_TOKEN
- GITHUB_REPO
- GITHUB_BRANCH
- AI_PROVIDER
- AI_API_KEY
- AI_MODEL
- JWT_SECRET
- ENCRYPTION_KEY
- CACHE_TTL
- MAX_CONCURRENT_INSTALLS
- CACHE_DIR
- CREDENTIALS_FILE
- WORKSPACE_PATH
- GITHUB_OWNER
Security Notes
CRITICAL: The `src/installer/npm-installer.ts` module directly uses `child_process.exec` to run `npm install ${serverId}` where `serverId` is derived from external registry search results (`bestMatch.id` or `bestMatch.npmPackage`). If a malicious actor can register a server with an `id` or `npmPackage` containing shell command injection (e.g., `malicious-package && rm -rf /`), it would lead to **Remote Code Execution (RCE)** on the host machine. This is a severe supply chain attack vector, as the server automatically discovers and installs packages from external sources. HIGH: The `src/auth/credential-store.ts` module uses hardcoded, insecure default values for `ENCRYPTION_KEY` and `JWT_SECRET` if these environment variables are not explicitly set. This makes stored credentials trivially decryptable and JWTs easily forgeable in production environments if not configured correctly. While the `SECURITY.md` warns about this, the default fallback in code remains a high risk. MEDIUM: The system implicitly trusts external registries (mcp.run API, GitHub search, other official registries) for discovering new MCP servers. A compromised registry could serve malicious package metadata, leading to the installation of compromised tools.
Similar Servers
mcphub
An orchestration hub that aggregates, manages, and routes Model Context Protocol (MCP) servers and their tools, providing a centralized interface, user management, OAuth 2.0 authorization server capabilities, and AI-powered tool discovery and routing.
MCPJungle
MCPJungle is a self-hosted Model Context Protocol (MCP) Gateway that allows developers to register and manage various MCP servers and their tools from a central location, enabling AI agents to discover and consume these tools from a single gateway.
ncp
NCP acts as a universal adapter and orchestrator for Model Context Protocol (MCP) servers and tools. It provides a unified interface for discovery, execution, and management of diverse tools (local CLI, HTTP APIs, internal plugins/Photons, AI skills) through natural language and structured code interaction, enabling AI agents to interact with the broader digital ecosystem.
mcp-servers
An MCP server for managing files in Google Cloud Storage, supporting CRUD operations (save, get, search, delete) and exposing files as resources.