XLIDE logo

XLIDE

Work with VBA, forms, Power Query, and Office document content through guarded MCP tools.

Install XLIDE

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "xlide": {
      "command": "uvx",
      "args": [
        "takes"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

The XLIDE MCP server reads, writes, analyzes, tests, and diffs VBA projects and related Office file content. It exposes project, module, form, query, worksheet, reference, and Access catalog operations through MCP, with content tokens guarding edits against stale reads. File-layer operations run without Office on Windows, macOS, and Linux, while binary Excel access and macro or test execution require Windows with the desktop application. Reach for it when an agent needs to inspect or modify Office files instead of working from exported code snippets.

Use cases

  • Inspect an Office project before changing its VBA modules
  • Apply guarded edits to macros and Power Query code
  • Analyze VBA source and review the resulting diff
  • Run Office tests and macros on a Windows workstation
  • Export modules for source control and inspect Git changes

Key features

  • Read and edit VBA modules
  • Inspect and modify Office forms
  • Analyze source and project structure
  • Read and write Power Query code
  • Guard edits with content tokens
  • Run macros and tests on Windows

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 49d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · takes (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars12Stargazers on the source repository.
Last commit4d agoMost recent push to the default branch.

How XLIDE works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about XLIDE

XLIDE is an MCP server that connects AI clients to Office files and Visual Basic 6 projects. Its main tools read, write, analyze, test, and diff VBA, forms, Power Query, worksheets, references, and Access content. File operations work without Office on supported platforms, while some Excel, macro, and test features require Windows.

Install it with `pip install xlide-mcp`, then start `xlide-mcp --root /path/to/your/files`. Add the `live` extra for Windows macro and test execution. You can also use `uvx` to fetch the package when the MCP client starts it.

Configure Claude Desktop to launch `xlide-mcp` over stdio with a `--root` argument. The documented structure uses an `mcpServers` entry with `command: "xlide-mcp"` and the root path in `args`; `uvx` can be used instead of a local installation.

Yes, XLIDE works with VS Code through a workspace `.vscode/mcp.json` file. VS Code uses a `servers` object rather than the portable `mcpServers` object, and the documented setup starts the server with `uvx` and a workspace root.

No, many VBA, Power Query, and OOXML worksheet operations run without Office on Windows, macOS, and Linux. Reading certain `.xls` or `.xlsb` cells, writing `.xlsb` cells, and running macros or tests require Windows with the desktop application.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewXLIDE AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/xlide?style=directory)](https://allmcps.com/mcp/xlide)
HTML Embed
<a href="https://allmcps.com/mcp/xlide"><img src="https://allmcps.com/api/badge/xlide?style=directory" alt="XLIDE on AllMCPs" /></a>