Excel MCP 服务器
模型上下文协议 (MCP) 服务器,让您无需安装 Microsoft Excel 即可操作 Excel 文件。使用您的 AI 代理创建、读取和修改 Excel 工作簿。
特征
📊 创建和修改 Excel 工作簿
📝 读取和写入数据
🎨 应用格式和样式
📈 创建图表和可视化
📊 生成数据透视表
🔄 管理工作表和范围
🔌 双传输支持:stdio 和 SSE
快速入门
先决条件
Python 3.10 或更高版本
安装
克隆存储库:
使用 uv 安装:
运行服务器
服务器支持两种传输模式:stdio和SSE。
使用 stdio 传输(默认)
Stdio 传输非常适合与 Cursor Desktop 或本地开发等工具直接集成,可以操作本地文件:
使用 SSE 传输
SSE 传输非常适合基于 Web 的应用程序和远程连接,它们可以操作远程文件:
您可以为 SSE 服务器指定主机和端口:
与AI工具一起使用
游标 IDE
将此配置添加到 Cursor,并根据您的需要选择适当的传输方法:
Stdio 传输连接(用于本地集成):
SSE 传输连接(用于基于 Web 的应用程序):
Excel 工具将通过您的 AI 助手提供。
远程托管和传输协议
该服务器支持 stdio 和 SSE 传输协议,以实现最大的灵活性:
与 Claude Desktop 一起使用:
使用 Stdio 传输
托管您的 MCP 服务器 (SSE):
环境变量(用于 SSE 传输)
FASTMCP_PORT
:SSE 传输的服务器端口(默认值:8000)EXCEL_FILES_PATH
:Excel 文件目录(默认值:./excel_files
)
可用工具
该服务器提供了一套全面的 Excel 操作工具。查看TOOLS.md获取所有可用工具的完整文档。
执照
MIT 许可证 - 详情请参阅许可证。
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
提供 Excel 文件操作功能。此服务器支持工作簿创建、数据操作、格式化以及高级 Excel 功能。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to read from and write to Microsoft Excel files, supporting formats like xlsx, xlsm, xltx, and xltm.Last updated -61,629510MIT License
- AsecurityAlicenseAqualityEnables seamless reading, writing, and analyzing of Excel files through Model Context Protocol, with features for worksheet management, structure analysis, and automated caching.Last updated -810241MIT License
- -securityAlicense-qualityProvides Excel file manipulation capabilities without requiring Microsoft Excel installation, enabling workbook creation, data manipulation, formatting, and advanced Excel features.Last updated -7MIT License
- AsecurityFlicenseAqualityAn MCP server that provides comprehensive Excel file operations, data analysis, and visualization capabilities for working with various spreadsheet formats like XLSX, CSV, and JSON.Last updated -870