# XLIDE [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/WilliamSmithEdward/xlide_mcp  
**GitHub Stars:** 12  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/xlide

## Description
Read, write, analyze, test and diff the VBA, forms, Power Query and cells in Office files

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "xlide": {
    "command": "uvx",
    "args": ["takes"]
  }
}
```

## Documentation

## What XLIDE MCP server does

The XLIDE MCP server gives an MCP client access to the contents of Office files and Visual Basic 6 projects. It can inspect and modify VBA projects in Excel, Word, PowerPoint, and Access, along with the surrounding document. Power Query code, worksheet content, forms, references, Access catalogs, and saved queries are also represented through tools.

Project discovery includes listing files, inspecting project structure, validating a project, and checking the local installation with `xlide_doctor`. Module operations cover reading, writing, editing, renaming, deleting, searching, and listing procedures. Analysis tools can inspect a project or source, report rules, and identify warnings or errors. Form tools read and edit form designs, while source-control helpers export or import modules and report Git changes.

The file layer does not require Microsoft Office and supports Windows, macOS, and Linux. Some capabilities have stricter requirements: reading `.xlsb` and `.xls` cells, writing `.xlsb` cells, running macros, and running tests require Windows with the relevant desktop application.

## How it works

The server communicates over MCP, normally through stdio. A client starts `xlide-mcp` with a filesystem root, and tool paths are restricted to that root. Path resolution includes symlinks, so a path is rejected if its resolved location falls outside the configured boundary.

Reads and searches return content tokens where an edit needs protection against concurrent changes. A later write, module edit, or Power Query update can use the token to refuse a stale change. Module edits also support preview mode, which returns a proposed diff without saving. Analysis errors prevent a change from being applied, and `--read-only` disables writes while leaving reads and analysis available.

Large results use offsets and continuation fields such as `next_offset`; this applies to modules, procedures, forms, worksheets, catalogs, and several document collections. The server reports when a save was skipped because the incoming content was unchanged.

## Setup and configuration

Install the base package with `pip install xlide-mcp`. Add the `live` extra with `pip install "xlide-mcp[live]"` for macro and test execution on Windows. Start the server with `xlide-mcp --root /path/to/your/files`, then configure the MCP client to launch that command over stdio. `uvx` can fetch the package at startup, and a Dockerfile is provided for the file layer.

For VS Code, the repository documents a `.vscode/mcp.json` configuration using a `servers` object. Other stdio clients use an `mcpServers` object. The `--root` option is required as the workspace boundary; `--read-only` can be added when modifications must be refused. Pin the package version when a reproducible `uvx` setup is needed.

Run `xlide_doctor` after connecting a new client. It reports configured roots, installed layers, detected Office applications, and the Trust Center setting needed for module injection.

## Tools and capabilities

The XLIDE MCP server includes tools for:

- Listing projects, modules, procedures, forms, references, and Access collections.
- Reading and guarded-writing VBA modules and Power Query formulas.
- Editing, renaming, deleting, exporting, and importing modules.
- Searching modules and applying line-based edits from returned locations.
- Analyzing projects or source and inspecting available analysis rules.
- Reading and editing Office forms and their designs.
- Inspecting worksheets, cells, shapes, names, validation, conditional formats, hyperlinks, comments, and related document structures.
- Reading Access queries and managing project references or catalog content.
- Running tests and macros when the Windows live layer and desktop application are available.

## Limitations and notes

The implementation described by the repository is Python 3.10 or newer. Office-free operation does not cover every file type or action: Excel-backed access is needed for certain `.xls` and `.xlsb` operations, and execution features require Windows and the desktop application. The `live` dependency extra is platform-conditional, so requesting it on another operating system does not add those Windows-only dependencies.

The server does not silently broaden its filesystem access beyond the configured root. Read-only mode is available for inspection workflows, while writes use stale-content checks rather than overwriting a module that changed after it was read. The repository identifies the project as MIT licensed.

_Full upstream README: https://allmcps.com/mcp/xlide/readme_

