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

コメント

「生産性」の他のコンテンツ