MCP.so
Sign In

C++ Excel Automation MCP Server

@smileFAace

About C++ Excel Automation MCP Server

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

Basic information

Category

Productivity

License

BSD-3-Clause

Runtime

c++

Transports

stdio

Publisher

smileFAace

Config

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

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

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

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

Comments

More Productivity MCP servers