MCP Server

Let Your AI Assistant Work with Your Office Files

lynxoffice-mcp is a Model Context Protocol (MCP) server built on the LynxOffice document engine. Your assistant starts it on your Mac and calls its 22 tools to read spreadsheets, review Word comments and tracked changes, and merge, split, or protect PDFs.

22 MCP toolsstdio, localClaude DesktopClaude CodeChatGPT desktopCodex CLI

Free. The app runs on macOS 13 or later; the MCP server needs macOS 14.

Set Up the MCP Server

Choose your assistant. Each way runs the same server on your Mac, and each needs macOS 14 or later. Any other client that starts a local (stdio) MCP server works the same way.

Claude Desktop

  1. 1

    Download the extension

    Download LynxOffice for Claude Desktop. It carries the server, so you need nothing else.

  2. 2

    Open it

    Double-click the file. Claude Desktop shows what it installs; choose Install.

ChatGPT desktop

ChatGPT's plugin directory does not list LynxOffice, so you add it to your own plugin list, once.

  1. 1

    Download the plugin

    Download the plugin and double-click it. Move the folder it makes to your home folder, and name it lynxoffice-plugin.

  2. 2

    Add it to your plugin list

    Open ~/.agents/plugins/marketplace.json in a text editor, or create it, and give it the LynxOffice entry shown beside these steps. If it lists other plugins already, add only that entry to its plugins list.

  3. 3

    Install it in ChatGPT

    Quit ChatGPT with ⌘Q and open it again. In Plugins, choose the Plugins CLI source, then install LynxOffice.

~/.agents/plugins/marketplace.json

{
  "name": "plugins-cli",
  "interface": { "displayName": "Plugins CLI" },
  "plugins": [
    {
      "name": "lynxoffice",
      "source": { "source": "local", "path": "./lynxoffice-plugin" },
      "policy": { "installation": "AVAILABLE", "authentication": "ON_INSTALL" },
      "category": "Productivity"
    }
  ]
}

Claude Code and Codex CLI

  1. 1

    Install the helper

    The lynxoffice-mcp server is a separate program that needs macOS 14 or later. Install it with Homebrew: brew install lynxoffice/tap/lynxoffice-mcp

    Every release is also on GitHub, signed with KDAN's Developer ID, notarized by Apple, and listed with its SHA-256 checksum. Homebrew is the simpler way to install it and keep it up to date.

  2. 2

    Find its path

    Homebrew puts it at /opt/homebrew/bin/lynxoffice-mcp on a Mac with Apple silicon, and at /usr/local/bin/lynxoffice-mcp on an Intel Mac. The configuration beside these steps uses the first; change the path if yours is the second.

  3. 3

    Add it to your client

    Claude Desktop reads the JSON from its configuration file. For Claude Code and Codex CLI, run the command in Terminal.

Claude Desktop

{
  "mcpServers": {
    "lynxoffice": {
      "command": "/opt/homebrew/bin/lynxoffice-mcp",
      "args": []
    }
  }
}

Claude Code

$ claude mcp add lynxoffice -- /opt/homebrew/bin/lynxoffice-mcp

Codex CLI

$ codex mcp add lynxoffice -- /opt/homebrew/bin/lynxoffice-mcp

# ~/.codex/config.toml
[mcp_servers.lynxoffice]
command = "/opt/homebrew/bin/lynxoffice-mcp"

Cursor, VS Code, and Cline

  1. 1

    Install the helper

    Each of these clients starts the same lynxoffice-mcp helper. Install it with Homebrew and find its path, as in steps 1 and 2 above.

  2. 2

    Add it to your client

    Cursor. Open ~/.cursor/mcp.json in a text editor, or create it, and add the LynxOffice entry shown beside these steps. Cursor, now Grok Build, reads it in every project.

    VS Code with GitHub Copilot. Run Chat: Open Customizations from the Command Palette, select MCP Servers, and choose Add Server (+). Choose Command (stdio), enter the helper’s path, and name it lynxoffice. Then choose Global, then Copilot Global.

    Cline. In the Cline panel, choose MCP Servers, open the Configure tab, and choose Configure MCP Servers. Add the same LynxOffice entry under mcpServers. With the Cline CLI, run the command beside these steps instead.

    Checked against each client’s own documentation on December 1, 2026.

~/.cursor/mcp.json

{
  "mcpServers": {
    "lynxoffice": {
      "command": "/opt/homebrew/bin/lynxoffice-mcp",
      "args": []
    }
  }
}

Cline CLI

$ cline mcp add lynxoffice --yes -- /opt/homebrew/bin/lynxoffice-mcp

All 22 MCP Tools

These are the function names an MCP client sees when it connects, and what each one returns.

lynxoffice-mcp tools
Spreadsheets
load_workbookEvery sheet's name and size, a preview of its first rows, its pivot tables, and whether it holds macros.
save_workbookWrite cell values into a copy of a workbook, keeping the formatting and formulas it does not touch.
query_spreadsheetRead one cell range from one sheet.
evaluate_formulaEvaluate a formula against supplied data.
Word documents
load_word_metadataSections, headers, footers and page setup.
read_word_bodyThe body as plain text.
extract_docx_structureParagraphs, runs, tables and sections, structured.
list_word_commentsEvery comment, with its thread and resolve state.
set_word_comment_resolvedResolve or reopen a comment thread, in a copy.
reply_word_commentAdd a reply to an existing thread, in a copy.
list_word_revisionsTracked changes in body paragraphs.
resolve_word_revisionsAccept or reject tracked changes, in a copy.
Presentations
load_presentationSlides with their titles and text.
save_presentationWrite slide titles and text into a copy of a deck.
PDF
pdf_infoPage count, character count and whether it holds text.
pdf_mergeCombine several PDFs into a new one.
pdf_splitSplit a PDF into two new files at a page.
pdf_protectMake a password-protected copy of a PDF.
Any format
detect_document_typeIdentify the document type from a file extension.
compare_documentsWhat changed between two versions of a Word document or a PDF.
open_in_lynxofficeOpen a file in the LynxOffice app, such as a copy another tool wrote.
replace_originalPut an edited copy in place of its original, which goes to the Trash.

Edits go to a new file. A tool that changes a document writes a copy next to it, such as Contract (edited).docx, and the original stays as it was. To put the copy in the original's place, your assistant asks you first, then calls replace_original, which moves the original to the Trash.

Frequently Asked Questions

What is MCP?

The Model Context Protocol (MCP) is an open standard that lets an AI assistant use tools. An MCP server offers a set of functions, and a client such as Claude Desktop or Claude Code connects to it and calls them for you. LynxOffice provides its document engine as an MCP server.

Which assistants can connect?

Any MCP client that can start a local server. Claude Desktop installs it as an extension and ChatGPT desktop as a plugin. Claude Code and Codex CLI add it with one command, and Cursor, VS Code with GitHub Copilot, and Cline with a short entry in their settings. The steps are above. The app writes ready-made configuration for Claude Desktop, Claude Code, and Codex CLI.

Does the server send my documents anywhere?

The server runs on your Mac and uploads nothing. The assistant you connect reads file contents through it, though, and a cloud-based assistant sends what it reads to its own service, where that service's terms apply. Nothing is connected until you set it up.

Does LynxOffice have to be open?

No. The server reads and writes files itself, so your assistant can use it whether or not the app is running.

Where do I get the helper?

For Claude Desktop and ChatGPT desktop, download the extension or the plugin above; each carries it. For Claude Code, Codex CLI, Cursor, VS Code, and Cline, install it with Homebrew, by running brew install lynxoffice/tap/lynxoffice-mcp in Terminal. It is a separate program and needs macOS 14 or later. Every release is also on GitHub, at github.com/LynxOffice/lynxoffice-mcp-mac, signed with KDAN's Developer ID and notarized by Apple.

Free, No Account Needed

Download LynxOffice and open any document. Each store's page lists what that version does.

Mac App Store

macOS 13 or later · Universal

Microsoft Store

Windows 10 version 1809 or later · 64-bit