mcp_command_server

mcp_command_server

1

MCP Command Server provides a secure JSON-RPC API for executing shell commands remotely, with built-in security measures and Docker containerization. It is designed for high-security environments, featuring command pattern exclusions and non-root execution to prevent misuse or harmful operations.

MCP Command Server

Secure JSON-RPC API for Remote Command Execution

Overview

MCP Command Server provides a JSON-RPC 2.0 compliant API for executing shell commands on the server. It's designed with security in mind, featuring command pattern exclusion to prevent potentially harmful operations. The server is fully containerized with Docker and includes comprehensive API documentation accessible directly through the API.

Features

  • JSON-RPC 2.0 API for command execution
  • Command security with pattern-based filtering
  • Built-in documentation served via API
  • Docker containerized
  • Security-focused and production-ready

Installation

  1. Clone the repository
  2. Use Docker Compose to start the server
  3. The server will run on http://localhost:3030.

Usage

Access the server through JSON-RPC requests to execute commands or retrieve documentation.

Security

The server includes measures such as pattern-based command exclusion and running in Docker as a non-root user.