Back to Home
jagarlamudisrinath icon

openpyxl-mcp-server

by jagarlamudisrinath

Overview

Provides a Flask-based web API to programmatically interact with and manipulate Excel files using the openpyxl library.

Installation

Run Command
gunicorn --bind 0.0.0.0:$PORT wsgi:app

Environment Variables

  • HOST
  • PORT

Security Notes

CRITICAL: The server is vulnerable to path traversal. The `file_name` parameter in API requests (e.g., for file deletion via `os.remove`) is directly taken from user input (`request.json.get('file_name')`) and combined with a temporary directory path using `os.path.join`. This allows an attacker to specify relative paths (e.g., `../../../../etc/passwd`) to access and potentially delete arbitrary files on the server's filesystem. This is a severe vulnerability and makes the server unsafe to run in its current state.

Similar Servers

Stats

Interest Score0
Security Score1
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2025-11-22

Tags

Excel AutomationWeb APIFlaskopenpyxlFile Processing