MCP.so
登录

C++ Excel Automation MCP Server

@smileFAace

关于 C++ Excel Automation MCP Server

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

基本信息

分类

生产力

许可证

BSD-3-Clause

运行时

c++

传输方式

stdio

发布者

smileFAace

配置

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

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

FAQ from C++ Excel Automation MCP Server

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.

What are the build requirements?

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

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.

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.

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 服务器