MCP.so
Sign In

C++ Excel Automation MCP Server

@smileFAace

Basic information

Category

Productivity

License

BSD-3-Clause

Transports

stdio

Author

smileFAace

About C++ Excel Automation MCP Server

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

C++ Excel Automation MCP Server config

Add this server to your MCP-compatible client using the configuration below.

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

C++ Excel Automation MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list directly from this server's endpoint using the button above.

Overview

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

Frequently asked questions

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"}}}`.

Comments

More Productivity MCP servers