Back to Home
ulasbilgen icon

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

Run Command
mcp2rest start

Environment 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

Stats

Interest Score0
Security Score4
Cost ClassLow
Stars0
Forks0
Last Update2025-11-23

Tags

mcprest-apigatewaydaemonautomation