
Mcp Server Xlwings
Automate Excel workbooks—including DRM-protected files, live sessions, and VBA macros—from your agent on Windows via xlwings COM.
Overview
io.github.geniuskey/mcp-server-xlwings is a Build-phase MCP server for Windows Excel automation via xlwings COM, including DRM files, live sessions, and VBA macros.
What is this MCP server?
- xlwings COM automation: read/write cells, ranges, and workbook operations from MCP
- Supports DRM-protected Excel files and live Excel sessions on Windows
- VBA macro execution exposed as agent tools (high-trust desktop surface)
- PyPI mcp-server-xlwings v0.4.1; run via uvx runtime hint
- Windows-only constraint—no macOS/Linux Excel COM path
- Package version 0.4.1 on PyPI; identifier mcp-server-xlwings
- Transport stdio; runtimeHint uvx
- Platform constraint: Windows only (COM)
What problem does it solve?
Your workflows depend on Excel COM, protected workbooks, or macros that cloud APIs and CSV exports cannot safely replicate from an agent.
Who is it for?
Windows-based indie operators automating financial models, legacy xlsx, or macro-driven reports from Claude Code or Cursor.
Skip if: macOS/Linux developers, headless Linux servers, or teams that forbid VBA execution on desktops.
What do I get? / Deliverables
Your agent manipulates live Excel on Windows through MCP instead of you clicking through every workbook change manually.
- MCP tools for Excel workbook and range automation on Windows
- Live-session and macro-capable agent workflows
- xlwings COM bridge without custom OLE scripting in chat
Recommended MCP Servers
Journey fit
Build integrations is the right shelf because the server bridges your agent to desktop Excel automation, not launch SEO or production monitoring. Integrations captures COM/xlwings wiring, macro execution, and live workbook sessions rather than frontend UI code.
How it compares
Desktop Excel COM MCP bridge, not Google Sheets API or headless spreadsheet parsing.
Common Questions / FAQ
Who is mcp-server-xlwings for?
Windows users who need agent-driven Excel—including DRM workbooks and VBA—via xlwings COM in an MCP-capable IDE.
When should I use mcp-server-xlwings?
During Build integrations when Excel on the desktop is the source of truth and you want the agent to edit ranges, run macros, or use a live session.
How do I add mcp-server-xlwings to my agent?
On Windows, configure MCP stdio to run mcp-server-xlwings with uvx from PyPI v0.4.1, ensure Excel is installed, then grant only the workbooks and macros you trust.