Excel MCP Server
Excel MCP 服务器
模型上下文协议 (MCP) 服务器,让您无需安装 Microsoft Excel 即可操作 Excel 文件。使用您的 AI 代理创建、读取和修改 Excel 工作簿。
特征
📊 创建和修改 Excel 工作簿
📝 读取和写入数据
🎨 应用格式和样式
📈 创建图表和可视化
🔄 管理工作表和范围
Related MCP server: Spire.XLS MCP Server
快速入门
先决条件
Python 3.10 或更高版本
安装
克隆存储库:
git clone https://github.com/Aifornorms/ExcelMCP.git
cd ExcelMCP使用 uv 安装:
python -m venv .venv
.venv/scripts/activate
pip install uv
uv pip install -e .运行服务器
启动服务器(默认端口8000):
uv run excel-mcp-server自定义端口(例如 8080):
# Bash/Linux/macOS
export FASTMCP_PORT=8080 && uv run excel-mcp-server
# Windows PowerShell
$env:FASTMCP_PORT = "8080"; uv run excel-mcp-server与AI工具一起使用
游标 IDE
给 Cursor 添加如下配置:
{
"mcpServers": {
"excel": {
"url": "http://localhost:8000/sse",
"env": {
"EXCEL_FILES_PATH": "Excel_files"
}
}
}
}Excel 工具将通过您的 AI 助手提供。
远程托管和传输协议
此服务器使用服务器发送事件 (SSE) 传输协议。针对不同的用例:
与 Claude Desktop 一起使用(需要 stdio):
使用Supergateway将 SSE 转换为 stdio:
托管您的 MCP 服务器:
环境变量
FASTMCP_PORT:服务器端口(默认值:8000)EXCEL_FILES_PATH:Excel 文件目录(默认值:./excel_files)
可用工具
该服务器提供了一套全面的 Excel 操作工具。查看TOOLS.md获取所有可用工具的完整文档。
执照
MIT 许可证 - 详情请参阅许可证。
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
Related MCP Servers
- AlicenseAqualityDmaintenanceA 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.69,662 npm1,041MIT
- AlicenseNot gradedqualityDmaintenanceA robust solution that enables AI agents to create, read, modify, and convert Excel files through the Model Context Protocol without requiring Microsoft Office installation.6MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server designed for AI assistants to directly process spreadsheet files, enabling them to read, display, modify, and save various table formats like CSV and Excel.33MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI agents to freely operate Excel spreadsheets, providing tools for workbook creation, cell manipulation, formatting, formula handling, and data export.1157 npmISC