MCP.so
登录

C++ Excel Automation MCP Server

@smileFAace

基本信息

分类

生产力

许可证

BSD-3-Clause

传输方式

stdio

作者

smileFAace

关于 C++ Excel Automation MCP Server

A MCP server for automatically create, view and modify Excel related file using LLM

C++ Excel Automation MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "excel-auto-cpp": {
      "type": "http",
      "url": "http://localhost:8888/sse"
    }
  }
}

C++ Excel Automation MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,直接连接服务器端点实时获取工具列表。

概览

What is C++ Excel Automation MCP Server?

C++ Excel Automation MCP Server is a C++-based MCP (Model Context Protocol) server that uses the OpenXLSX library to provide Excel file automation tools. It enables LLMs to read, write, and create xlsx spreadsheet files through standardized MCP interfaces.

How to use C++ Excel Automation MCP Server?

Build the project using CMake and Ninja with a C++17 compiler, then run the ExcelAutoCpp executable in the bin/ directory. The server listens on localhost:8888 and provides an SSE endpoint at http://localhost:8888/sse. Connect using any MCP-compatible client such as Roo, Cline, Claude, or Cherry Studio.

Key features of C++ Excel Automation MCP Server

  • Provides standardized MCP tools for Excel automation
  • Compiles into a single executable for easy deployment
  • Supports customizable multi-language via JSON files
  • Offers tools to open, read, write, and create xlsx files
  • Automatically opens and closes Excel files during operations

Use cases of C++ Excel Automation MCP Server

  • AI assistants reading spreadsheet data from specific sheet ranges
  • Writing computed or user-provided data into Excel cells
  • Creating new xlsx files programmatically via LLM commands
  • Automating repetitive Excel tasks through natural language instructions

常见问题

1

What tools does the server provide?

It provides four tools: `open_excel_and_list_sheets` to open a file and list sheet names, `get_sheet_range_content` to read a range, `set_sheet_range_content` to write a range, and `create_xlsx_file_by_absolute_path` to create new files.

2

What are the build requirements?

A C++17 compiler, CMake (>= 3.15), and Ninja (recommended) are required. The project uses CMake for building.

3

How do I change the server language?

Create a `lang.json` file in the executable's directory with the complete key-value pairs for your desired language, using the files in the `lang/` directory as templates. Restart the server to apply the change.

4

Where does the server listen and what transport does it use?

The server starts on `localhost:8888` and uses SSE (Server-Sent Events) transport at the `/sse` endpoint.

5

How do I connect a client?

Add the server's SSE URL to your MCP client's configuration, for example: `{"mcpServers": {"excel-auto-cpp": {"url": "http://localhost:8888/sse"}}}`.

评论

生产力 分类下的更多 MCP 服务器