Back to Home
haris-musa icon

excel-mcp-server

Verified Safe

by haris-musa

Overview

This server allows AI agents to manipulate Excel files (create, read, update, format, chart, pivot, validate) without requiring Microsoft Excel to be installed.

Installation

Run Command
uvx excel-mcp-server stdio

Environment Variables

  • EXCEL_FILES_PATH
  • FASTMCP_PORT
  • FASTMCP_HOST

Security Notes

The server uses `os.path.join` to construct file paths based on `EXCEL_FILES_PATH` and the provided `filename`. While `os.path.join` can handle some path components, it does not explicitly sanitize the `filename` parameter against directory traversal (`../`) attacks before joining, which could potentially allow access outside the intended `EXCEL_FILES_PATH` if exploited. However, the `validate_formula` function explicitly checks for and prevents potentially unsafe Excel functions like `INDIRECT`, `HYPERLINK`, `WEBSERVICE`, `DGET`, and `RTD`, which is a good security measure. No direct `eval` or unsanitized shell command execution was found, nor were hardcoded secrets apparent.

Similar Servers

Stats

Interest Score100
Security Score8
Cost ClassMedium
Avg Tokens750
Stars3151
Forks357
Last Update2026-01-19

Tags

ExcelSpreadsheetData ManipulationAutomationAI Agent