oletools-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@oletools-mcp-serverAnalyze this Excel file for malicious macros: C:\Users\test\document.xlsm"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OLETools Secure MCP Server
This project provides a secure microservice using FastMCP to analyze Microsoft Office documents (Excel, Word, PowerPoint) and related file types (like XLL add-ins) for potential malicious content using static analysis techniques. It leverages external tools like oletools, XLMMacroDeobfuscator, and pefile.
Features
Analyzes VBA Macros (
olevba)Detects XLM Macros (
XLMMacroDeobfuscator,olevba)Checks for DDE Links (
msodde)Extracts embedded OLE Objects (
oleobj)Analyzes XLL file exports for suspicious functions (
pefile)Extracts IOCs (URLs, IPs, Hashes, Emails) using
iocextractProvides basic MIME type and file size validation (
python-magic)Uses a configurable scoring system for basic risk classification
Designed for integration with systems supporting the MCP protocol (like compatible versions of Claude Desktop).
Related MCP server: Office MCP Server
Prerequisites
Python 3.6+
OLETools: Install via
pip install oletoolsXLMMacroDeobfuscator: Install via
pip install XLMMacroDeobfuscatorpython-magic: Install via
pip install python-magic-bin(Windows)iocextract (optional): Install via
pip install iocextractfor advanced IOC extractionClaude Desktop application
Installation
Clone the Repository:
git clone https://github.com/pradeep895/oletools-mcp-server.git cd oletools-mcp-serverInstall Dependencies:
pip install -r requirements.txtDownload the "Claude Desktop" application go to the Developer settings and Edit the "claude_desktop_config.json" file and paste content in the configuration.json file.Restart the application.
Run the config file:
python config.pyRun the server:
python mcp_service.pyGo to "Claude Desktop" application and check for the "hammer symbol" it appeared means MCP tools are available.
type "analyze_vba_macros in <filepath\example.xlsm>" this will help you to analyze the excel file statically and gave you the findings.
analyze_vba_macros file_path:"C:\path\to\your\example.xlsm"This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for ScanMalware.com URL scanning, malware detection, and analysis.
Document processing over MCP: merge, split and compress PDFs, run OCR, extract document text.
MCP server for static security analysis of Android source code
Document-to-Markdown MCP server — convert PDF, Office and HTML into LLM-ready Markdown.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceRust-native MCP server for Office document processing (Excel, Word, PowerPoint) enabling sub-millisecond, local-first document manipulation and export to PDF.162GPL 3.0- FlicenseAqualityCmaintenanceMCP server for Microsoft Office file operations. Read, write, and create Excel, Word, and PowerPoint files directly from your local filesystem.12-
- AlicenseAqualityDmaintenanceMCP server that enables searching and reading binary document files (PDF, DOCX, PPTX, XLSX, ODT, ODS, ODP, RTF, EPUB) using regex patterns and retrieving content by sections.2MIT
- FlicenseNot gradedqualityCmaintenanceEnables secure text authoring and privacy-focused document processing through MCP. Provides tools for style analysis, conservative text revision, comparison with author samples, and removal of metadata from DOCX/PDF files.-