excel-mcp-server-minio

excel-mcp-server-minio

基于Excel MCP Server扩展,支持通过Minio远程存储访问和编辑Excel文件,实现上传、读取、修改及下载链接返回。

Category
访问服务器

README

Excel MCP Server Minio

原作者开发的Excel MCP Server,只能在本地使用(因为文件只能保存在本地文件系统),不支持在线平台的远程访问功能(上传和下载)

本项目在Excel MCP Server的基础上,添加了minio远程上传下载文件的功能:

  • 每次操作excel文件用户需传入文件名,大模型会自动访问远程存在的excel文件。
  • 然后可以读取数据、插入数据、生成图表、数据计算等等...
  • 最后将生成后的excel文件下载链接返回给用户。

注:远程文件访问平台使用的是minio

如何部署

下载打包好的docker镜像,excel-mcp-server-minio-image.tar.zip

# 加载镜像
unzip excel-mcp-server-minio-image.tar.zip
docker load -i excel-mcp-server-minio-image.tar

# 配置物理机的excel_files路径
# 配置物理机的config.ini路径
# 启动(最后一个参数如果不写,默认是sse的方式启动)
docker run -d \
--name excel-mcp-server-minio \
-p 8000:8017 \
-v ./excel_files:/app/excel_files \# 临时文件存储路径
-v ./config.ini:/app/conf/config.ini \# minio配置文件
-e EXCEL_FILES_PATH="/app/excel_files" \
excel-mcp-server-minio:1.0 [sse 或 streamable-http]

# 如何导入大模型平台使用,参考下面Usage部分

# 导入成功后,可以使用下面提示词来测试
1、conversation_id的值为{#每个会话的id#}。
2、有关excel的一切操作都需要调用excel_mcp_server工具
3、每次调用excel_mcp_server都要返回下载链接。
4、用户每次有操作excel的需求时,先查看一下是否有这个文件,如果有则在该文件的基础上修改、计算等。

config.ini示例:

[minio]
endpoint = ip:port
access_key = xxx
secret_key = xxx
bucket = xxx
secure = false

Features

<p align="center"> <img src="https://raw.githubusercontent.com/haris-musa/excel-mcp-server/main/assets/logo.png" alt="Excel MCP Server Logo" width="300"/> </p>

PyPI version Total Downloads License: MIT smithery badge Install MCP Server

A Model Context Protocol (MCP) server that lets you manipulate Excel files without needing Microsoft Excel installed. Create, read, and modify Excel workbooks with your AI agent.

  • 📊 Excel Operations: Create, read, update workbooks and worksheets
  • 📈 Data Manipulation: Formulas, formatting, charts, pivot tables, and Excel tables
  • 🔍 Data Validation: Built-in validation for ranges, formulas, and data integrity
  • 🎨 Formatting: Font styling, colors, borders, alignment, and conditional formatting
  • 📋 Table Operations: Create and manage Excel tables with custom styling
  • 📊 Chart Creation: Generate various chart types (line, bar, pie, scatter, etc.)
  • 🔄 Pivot Tables: Create dynamic pivot tables for data analysis
  • 🔧 Sheet Management: Copy, rename, delete worksheets with ease
  • 🔌 Triple transport support: stdio, SSE (deprecated), and streamable HTTP
  • 🌐 Remote & Local: Works both locally and as a remote service

Usage

The server supports three transport methods:

1. SSE Transport (Server-Sent Events - Deprecated)

uvx excel-mcp-server sse

SSE transport connection:

{
   "mcpServers": {
      "excel": {
         "url": "http://localhost:8000/sse",
      }
   }
}

2. Streamable HTTP Transport (Recommended for remote connections)

uvx excel-mcp-server streamable-http

Streamable HTTP transport connection:

{
   "mcpServers": {
      "excel": {
         "url": "http://localhost:8000/mcp",
      }
   }
}

Available Tools

The server provides a comprehensive set of Excel manipulation tools. See TOOLS.md for complete documentation of all available tools.

License

MIT License - see LICENSE for details.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选