Back to Home
mfatihp icon

mcp-server-manager

by mfatihp

Overview

Manage the lifecycle of custom Python Micro-Computational Program (MCP) servers using Docker and interact with them via an AI-powered chat interface.

Installation

Run Command
docker-compose up

Environment Variables

  • DOCKER_URL
  • PG_USER
  • PG_PWD
  • PG_HOST
  • PG_PORT
  • PG_DB
  • RDS_PORT
  • MODEL_NAME
  • HF_API_KEY
  • REDIS_ADDR
  • PG_URL

Security Notes

The application allows arbitrary Python code and Dockerfile commands to be executed via user input in the `func_body`, `server_name`, and `pkgs` fields when creating a new server. This leads to severe remote code execution (RCE) vulnerabilities. Additionally, the FastAPI services (`mcp_manager_core`, `llm_chat_service`) use `CORSMiddleware(allow_origins=["*"])`, making them vulnerable to cross-site request forgery (CSRF) and other attacks if deployed in a public-facing manner. Direct Docker daemon interaction from `DockerHandler` based on user-supplied container IDs poses a high risk if the application itself is compromised.

Similar Servers

Stats

Interest Score0
Security Score1
Cost ClassHigh
Avg Tokens3500
Stars0
Forks0
Last Update2025-12-12

Tags

Server ManagementLLMDockerFastAPIAngularMicroservices