Back to Home
holger1411 icon

foxess-mcp-server

Verified Safe

by holger1411

Overview

Enables AI assistants to access, analyze, and optimize solar energy data from FoxESS inverters via the Model Context Protocol.

Installation

Run Command
python -m foxess_mcp_server

Environment Variables

  • FOXESS_API_KEY
  • FOXESS_DEVICE_SN
  • FOXESS_LOG_LEVEL
  • FOXESS_CACHE_KEY

Security Notes

The server demonstrates strong security practices including comprehensive input validation, thorough log sanitization, and secure error handling. Disk cache encryption is implemented, but its effectiveness depends on the `cryptography` package being installed and the `FOXESS_CACHE_KEY` environment variable being set; otherwise, it defaults to unencrypted storage. MD5 is used for API signature generation, which is a known cryptographic weakness, but this is a requirement of the FoxESS API and its risk is partially mitigated by the inclusion of a timestamp and HTTPS communication. The internal rate limiter state is not persistent across server restarts, potentially allowing a burst of requests upon reboot.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2026-01-18

Tags

solar energyai assistantdata analysishome automationmcp server