Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Excel Tools MCPAnalyze the structure of sales_report.xlsx and show me the data types for each column."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Excel Tools MCP
一个提供读取、写入和分析 Excel 文件工具的 MCP 服务器。基于 Python、pandas 和 openpyxl 构建。
安装使用
1.在 Glosc Copilot 中使用
下载并安装 Glosc Copilot
从 Excel Tools 点击 “安装”
2.配置使用
MCP 工具
get_excel_sheet_names(filepath):
获取 Excel 文件中的工作表名称列表。read_excel_sheet(filepath, sheet_name):
读取指定工作表的数据。返回一个兼容 JSON 的记录列表(字典列表)。read_all_excel_sheets(filepath):
读取 Excel 文件中的所有工作表。返回一个字典,键为工作表名称,值为记录列表。create_excel_file(filepath, data, sheet_name="Sheet1"):
创建一个新的 Excel 文件。data必须是表示字典列表的 JSON 字符串(例如:[{"col1": 1, "col2": "a"}, ...])。add_excel_sheet(filepath, data, sheet_name):
向现有的 Excel 文件添加一个新的工作表(如果文件存在则追加)。data必须是表示字典列表的 JSON 字符串。analyze_excel_structure(filepath, output_path=None):
分析 Excel 文件的结构(行数、列名、数据类型、空值计数)。
如果提供了output_path,则将分析结果保存为 JSON 文件;否则,返回 JSON 字符串。