mcp2rest
by ulasbilgen
Overview
Manages multiple Model Context Protocol (MCP) servers and exposes their tools via a universal REST API, enabling access from any programming language.
Installation
mcp2rest startEnvironment Variables
- MCP2REST_PORT
- MCP2REST_HOST
Security Notes
The REST API lacks built-in authentication and authorization. If the gateway is configured to listen on a non-localhost address (e.g., 0.0.0.0), it will be publicly accessible, allowing anyone to add/remove servers or execute tools. Configuration files (`~/.mcp2rest/config.yaml`) store API keys and other secrets in plaintext. While `npx` execution of child processes is generally safer than raw shell commands, the potential for a malicious MCP server package or unsanitized arguments passed to a spawned server could lead to vulnerabilities in the child process environment.
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.
typingmind-mcp
A server for managing and integrating Model Context Protocol (MCP) servers with TypingMind, enabling custom AI model connections.
toolhive-registry-server
The central metadata hub for enterprise Model Context Protocol (MCP) server governance and discovery, implementing the official MCP Registry API specification.
mcp-servicenow-nodejs
Automate ServiceNow operations, development, and administration through an AI-powered interface, offering multi-instance support, dynamic schema discovery, natural language querying, and local script synchronization.