Back to Home
kseysh icon

factory-chatbot-mcp-server

Verified Safe

by kseysh

Overview

An MCP server for Inha University campus electricity management, providing tools for energy usage monitoring, time-series forecasting of power consumption, and real-time power control.

Installation

Run Command
python main.py

Environment Variables

  • POSTGRES_HOST
  • POSTGRES_PORT
  • POSTGRES_DATABASE
  • POSTGRES_USER
  • POSTGRES_PASSWORD
  • POWER_CONTROL_URL

Security Notes

The server uses parameterized SQL queries for database interactions, which mitigates common SQL injection risks for the exposed tools. Input validation for critical 'control_power' actions ('on'/'off') is in place. Sensitive configurations like PostgreSQL credentials and the external power control URL are expected to be set via environment variables. Potential risks include misconfiguration of these environment variables (e.g., weak passwords, untrusted URLs) or vulnerabilities in the external power control system, which are outside the scope of this codebase. No direct 'eval' or similar critical remote code execution vulnerabilities were found in the provided code.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassHigh
Avg Tokens500
Stars0
Forks0
Last Update2025-12-17

Tags

Electricity ManagementTime-series ForecastingEnergy ControlCampus FacilitiesMonitoring