office-vba-mcp for
<h2>Office VBA MCP server connects AI assistants to Office macros</h2>
- Free
- 4.1
- V v0.2.0
<h2>Office VBA MCP server connects AI assistants to Office macros</h2>
office-vba-mcp by Miclip connects AI assistants to Microsoft Office VBA projects for automated macro management. It lets an AI list modules, extract module source, write or overwrite VBA code, and trigger macro execution through the Model Context Protocol to support refactoring and generation workflows. Key functions include module management, source extraction, code injection, macro execution, multi-format support, and a backup mechanism that preserves originals before writes. Designed for developers, analysts, and IT professionals using Claude-compatible AI to maintain or modernize legacy Office macros.
What tasks can you actually use it for?
The tool targets code-level operations inside Office documents, so you can use it to inventory VBA modules, extract source for review, push updated module code, and invoke macros via MCP. It performs file-level read and write operations on macro-enabled documents and supports automated modernization workflows driven by an AI assistant. The server does not handle Microsoft Access files, so VBA in .accdb or .mdb formats is out of scope.
How reliable are the generated code interactions?
office-vba-mcp provides a safety net by creating backups before modifying files, which reduces the risk of irreversible changes. The server executes deterministic file operations but the correctness of injected VBA depends on the code the AI generates and on developer review. Because macro semantics live in the host application, generated changes require validation by a developer or QA step to confirm behavior and prevent regressions in production documents.
What file formats and inputs does it accept?
The server works with standard macro-enabled Office formats, specifically .xlsm for spreadsheets, .docm for documents, and .pptm for presentations. It supports both Windows and macOS and operates inside a Node.js environment. Reading and writing of VBA source can occur without the full Office suite active, but interactions that actually run macros depend on the host applications being available on the system hosting the files.
Is it easy to set up and integrate into an AI workflow?
Installation is designed for quick deployment, with a one-line install process for AI development environments and explicit compatibility with MCP-compliant hosts such as Claude Desktop. The server requires Node.js and some MCP configuration to connect an assistant. Being open-source, the project can be adapted by teams, but integrating execution testing into existing CI or validation pipelines requires additional setup because macro execution still needs the Office host.
Practical choice for supervised AI-driven macro work
The tool is a practical bridge for teams that pair AI assistants with developer oversight to update or generate VBA code. It accelerates file-level editing and supports headless code inspection, but changes from an AI should always go through human review and controlled validation. For best results, stage edits on copies, run automated tests where possible, and treat the tool as an accelerator rather than a replacement for developer verification.
Pros
- Lists and extracts VBA modules for code review
- Writes or overwrites module source via MCP
- Supports .xlsm, .docm, and .pptm file formats
- Creates backups before modifying VBA components
Cons
- Macro execution still requires the Office host applications
- Does not support Microsoft Access .accdb or .mdb files
- Injected code depends on AI output quality and needs review
office-vba-mcp for
- Free
- 4.1
- V v0.2.0
Top downloads
development-tools-mcp-server
A free program for MCP, by Dominic Codespoti.
gemini-cli
Efficient AI Coding with Gemini CLI
RevitMCPSDK
RevitMCPSDK connects Revit to LLMs through the Model Context Protocol
RustAPI
RustAPI: MCP bridge that brings Rust context to AI coding assistants
seekcode
Local snippet repository that feeds AI assistants for code generation
Discover more programs
depyler
- 4
- Free
Depyler: Python-to-Rust transpilation for performance-focused migrations
Design Learn
- 4
- Free
Extract UI designs into AI-ready rules for rapid prototyping
sqry
- 4.5
- Free
Comprehensive Semantic Code Search Tool
VibeLign
- 4.8
- Free
VibeLign: Safety-first guard for AI-assisted code experimentation
mockd
- 4.9
- Free
Mockd: A Versatile Mocking Tool for Developers
unch
- 5
- Free
Local-first semantic code search for terminal-focused development
deveco-toolbox
- 4
- Free
Efficient Toolset for HarmonyOS Development
nfrx
- 4
- Free
Local AI gateway for secure remote access and mixed hardware clusters
gemmit
- 4.3
- Free
Gemmit: AI-Powered Coding Assistant