Skip to main content
Glama
blumenkuebel

Excel MCP Server

by blumenkuebel

Excel MCP Server

Based on excel-mcp-server by haris-musa – all credit for the core implementation goes to the original author.

Setup

./start_server.sh

Creates a .venv, installs the package via pip install -e ., and starts the server on port 8002 via streamable HTTP.

Related MCP server: MCP Excel Server

Deployment to Docker host

./deploy_to_remote.sh user

Syncs the server via rsync to the Docker host and builds/starts the container via docker compose.

MCP Registration

# Docker / remote
claude mcp add --scope user --transport http excel http://<docker-host>:8002/mcp

# Local
claude mcp add --scope user --transport http excel http://127.0.0.1:8002/mcp

File Transfer

The server runs in Docker and cannot access local file paths (e.g. /Users/…). Files must be uploaded via HTTP before they can be used with MCP tools.

Files are stored in /app/excel_files inside the container (mapped to /mnt/dockershare/excel). All tools expect a relative filename (e.g. data.xlsx) — absolute paths and directory traversal are rejected.

# Upload (required before any tool that takes a filepath)
curl -s -H "X-API-Key: $MCP_API_KEY" -F "file=@data.xlsx" http://<docker-host>:8002/upload
# → returns JSON with "filename": "data.xlsx"

# Download
curl -H "X-API-Key: $MCP_API_KEY" http://<docker-host>:8002/download/data.xlsx -o data.xlsx

# List files
curl -H "X-API-Key: $MCP_API_KEY" http://<docker-host>:8002/files

# Delete single file
curl -X DELETE -H "X-API-Key: $MCP_API_KEY" http://<docker-host>:8002/files/data.xlsx

# Delete all files
curl -X DELETE -H "X-API-Key: $MCP_API_KEY" http://<docker-host>:8002/files

Workflow for agents

  1. Upload the local file via curl -s -H "X-API-Key: $MCP_API_KEY" -F "file=@/path/to/file.xlsx" http://<docker-host>:8002/upload

  2. Use the returned filename (e.g. "data.xlsx") as filepath with all Excel tools

  3. Do NOT try to read or unzip XLSX files locally — always upload via curl first

API Key

Set MCP_API_KEY in the container environment to require X-API-Key on all /upload, /download, and /files requests. If unset, endpoints are unprotected.

See docker-compose.yml for the placeholder.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to read, write, and manipulate Excel files through comprehensive spreadsheet operations. Supports file management, data querying, worksheet operations, formula calculations, and includes security features like path validation and automatic backups.
    2
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables AI agents to automate Excel file operations including workbook creation, worksheet management, and data manipulation. It provides a standardized interface for reading, writing, merging, and filtering cell ranges within Excel documents.
    4
    -
  • A
    license
    A
    quality
    D
    maintenance
    Provides AI assistants with unified file operations via MCP, supporting Excel, PDF, Word, and SQLite file reading, writing, and querying.
    12
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/blumenkuebel/excel-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server