Back to Home
AlexisTrouve icon

vba-mcp-server

by AlexisTrouve

Overview

Serves as a Model Context Protocol (MCP) server for Claude, enabling extraction, analysis, injection, and automation of VBA code within Microsoft Office files (Excel, Word, Access).

Installation

Run Command
python -m vba_mcp_pro.server

Environment Variables

  • PYTHONPATH

Security Notes

The server fundamentally requires the user to enable 'Trust access to the VBA project object model' in Microsoft Office settings, which is a major security bypass, allowing external programs to programmatically access and modify VBA projects. This inherently makes the system highly vulnerable to malicious VBA code injection or execution. While the Pro version implements pre/post-validation (for ASCII and basic syntax) and automatic rollback, these do not mitigate the risk of executing intentionally malicious but syntactically valid VBA code. The HTTP/SSE transport, if used, creates an unauthenticated network endpoint, further increasing risk if exposed beyond a trusted local network. It is designed to perform privileged operations, and security largely depends on the user's discretion and the source of the VBA code.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassMedium
Avg Tokens3000
Stars0
Forks0
Last Update2026-01-19

Tags

VBAOffice AutomationCode AnalysisDeveloper ToolMCP