Skip to main content
Glama

Excel MCP Server

by Aifornorms

Excel MCP 服务器

模型上下文协议 (MCP) 服务器,让您无需安装 Microsoft Excel 即可操作 Excel 文件。使用您的 AI 代理创建、读取和修改 Excel 工作簿。

特征

  • 📊 创建和修改 Excel 工作簿
  • 📝 读取和写入数据
  • 🎨 应用格式和样式
  • 📈 创建图表和可视化
  • 🔄 管理工作表和范围

快速入门

先决条件

  • Python 3.10 或更高版本

安装

  1. 克隆存储库:
git clone https://github.com/Aifornorms/ExcelMCP.git cd ExcelMCP
  1. 使用 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

  1. 给 Cursor 添加如下配置:
{ "mcpServers": { "excel": { "url": "http://localhost:8000/sse", "env": { "EXCEL_FILES_PATH": "Excel_files" } } } }
  1. Excel 工具将通过您的 AI 助手提供。

远程托管和传输协议

此服务器使用服务器发送事件 (SSE) 传输协议。针对不同的用例:

  1. 与 Claude Desktop 一起使用(需要 stdio):
  2. 托管您的 MCP 服务器:

环境变量

  • FASTMCP_PORT :服务器端口(默认值:8000)
  • EXCEL_FILES_PATH :Excel 文件目录(默认值: ./excel_files

可用工具

该服务器提供了一套全面的 Excel 操作工具。查看TOOLS.md获取所有可用工具的完整文档。

执照

MIT 许可证 - 详情请参阅许可证

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

模型上下文协议服务器,使 AI 代理无需安装 Microsoft Excel 即可创建、读取和修改 Excel 工作簿。

  1. 特征
    1. 快速入门
      1. 先决条件
      2. 安装
      3. 运行服务器
    2. 与AI工具一起使用
      1. 游标 IDE
      2. 远程托管和传输协议
    3. 环境变量
      1. 可用工具
        1. 执照

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A 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 -
            5
            2,793
            315
            Go
            MIT License
            • Linux
            • Apple
          • A
            security
            F
            license
            A
            quality
            A Model Context Protocol server that connects Claude and other AI assistants to your Notion workspace, allowing AIs to interact with databases, pages, and blocks.
            Last updated -
            12
            0
            10
            JavaScript
            • Apple
          • A
            security
            F
            license
            A
            quality
            A Model Context Protocol server that connects AI assistants like Claude to Notion workspaces, enabling them to view, search, create, and update Notion databases, pages, and content blocks.
            Last updated -
            12
            194
            JavaScript
            • Apple
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that enables AI agents to interact with Alibaba Cloud DataWorks through standardized interfaces, allowing seamless management of DataWorks resources and operations via the DataWorks Open API.
            Last updated -
            169
            81
            15
            TypeScript
            Apache 2.0

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aifornorms/ExcelMCP'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server