mcp-server-runner

MCP Server Runner is a WebSocket server that enables Model Context Protocol server access via WebSocket connections, facilitating integration with web applications and managing bidirectional communication between clients and the MCP server.

13
2

MCP Server Runner

Note: This project is under active development. Features and APIs may change.

MCP Server Runner is a WebSocket server for running Model Context Protocol (MCP) servers, enabling access via WebSocket connections for integration with web applications.

Overview

It acts as a bridge between WebSocket clients and MCP servers by launching the server process, managing WebSocket connections, and handling bidirectional communication.

Features

  • WebSocket server with single-client support
  • Process management for MCP server instances
  • Bidirectional message passing
  • Graceful shutdown
  • Comprehensive error logging
  • Cross-platform support

Prerequisites

  • Rust 1.70+
  • An MCP server executable

Configuration

Configuration is possible through environment variables or a JSON configuration file, which allows defining multiple server configurations.

Usage

The server can be run using environment variables or a configuration file. Connect to the WebSocket server using a WebSocket client.

Docker Support

Dockerfile and docker-compose.yml are provided for containerized deployment.

Limitations

  • Supports only one client connection
  • No WebSocket SSL/TLS support
  • No built-in authentication

Repository

YO
yonaka15

yonaka15/mcp-server-runner

Created

December 8, 2024

Updated

March 27, 2025

Language

Rust

Category

Developer Tools