
excel tools mcp
基于MCP协议的Excel操作工具,支持读取、创建和更新Excel文件
Repository Info
About This Server
基于MCP协议的Excel操作工具,支持读取、创建和更新Excel文件
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Excel Tools MCP
基于大模型协议(MCP)的Excel操作工具,提供读取、创建和更新Excel文件的能力。
功能特性
- 📄 Excel文件读取(支持多工作表)
- ✏️ Excel文件创建(支持自定义工作表)
- 🔄 Excel文件更新(支持单元格级更新)
- 🤖 兼容MCP协议,可与大模型无缝集成
安装方式
npm install @qiuyurs/excel-tools-mcp -g
MCP配置示例
{
"mcpServers": {
"excel-tools": {
"command": "npx",
"args": [
"-y",
"@qiuyurs/excel-tools-mcp"
]
}
}
}
构建方式
npm install
npm run builld
支持工具
excel.read
读取Excel文件内容。
输入参数
filePath(string): Excel文件路径。
输出参数
返回数据结构:{content: Array<{type: 'text', text: string}>}, text字段包含 {SheetName: 工作表名称, title: [行号, ...表头], content: [[行号, ...数据行]]}
excel.create
创建新的Excel文件。
输入参数
filePath(string): Excel文件路径。sheets(Array<{name: string, title: Array, content: Array<Array >}>): 工作表信息数组。
输出参数
返回数据结构:{content: Array<{type: 'text', text: string}>}, text字段包含 {SheetName: 工作表名称, title: [行号,...表头], content: [[行号,...数据行]]}
excel.update
更新Excel文件内容。
输入参数
filePath(string): Excel文件路径。sheets(Array<{name: string, title: Array, content: Array<Array >}>): 工作表信息数组。
输出参数
返回数据结构:{content: Array<{type: 'text', text: string}>}, text字段包含 {SheetName: 工作表名称, title: [行号,...表头], content: [[行号,...数据行]]}
项目文档
Github:!https://github.com/qiuyurs/excel-tools-mcp
教程:!https://gwl1554ppni.feishu.cn/wiki/Yi5dw2N8midd8ekDOHOcefNrnVc?fromScene=spaceOverview
Quick Start
Clone the repository
git clone https://github.com/qiuyurs/excel-tools-mcpInstall dependencies
cd excel-tools-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.