Back to Home
mark-oori icon

mcpserve

by mark-oori

Overview

Serve Deep Learning models and provide shell execution capabilities, with Docker containerization and Ngrok connectivity.

Installation

Run Command
docker-compose up -d

Environment Variables

  • APP_NAME
  • APP_DEBUG
  • APP_LOG_LEVEL
  • APP_PORT
  • MCP_API_KEY

Security Notes

CRITICAL SECURITY VULNERABILITY: The `shell_command` function (exposed as an API tool) uses `subprocess.check_output(command, shell=True)`. This allows arbitrary shell command injection if the `command` input is not sanitized, leading to Remote Code Execution (RCE). Furthermore, the API key authentication middleware (`'middleware': middleware`) is commented out by default, making the server publicly accessible and vulnerable to any caller without authentication.

Similar Servers

Stats

Interest Score32
Security Score1
Cost ClassLow
Avg Tokens100
Stars2
Forks1
Last Update2025-12-06

Tags

Deep LearningAIServerDockerShell