Hosting COM Servers with an MCP Server
- Published
- Record updated
Summary
The author built mcp-com-server, an MCP server that wraps Windows COM and Office automation, exposing tools such as CreateObject, Get/Set Property, InvokeMethod, QueryInterface and ListAllHostedServers. Because any COM object can be instantiated, the server could open Shell.Application or FileSystemObject and perform dangerous operations. The author describes it as a learning prototype and notes that the server can automate Excel and Outlook through Claude.
Mitigation
The source states a basic mitigation: an Allow List for CLSIDs and ProgIDs, so the server only instantiates allow-listed COM objects, which the author says could be expanded to specific interfaces and methods. It also notes that Claude shows an Allow / Deny confirmation before invoking custom tools by default, which can be disabled or re-enabled per MCP tool in Claude Settings.
Topics
Related items
- InfoAnthropic seemed poised to end privacy — then its research droppedSame vendor, The Verge (AI)
- InfoOpenAI and Anthropic AI agents cheat far less than rivals, new tests findSame vendor, TechCrunch (Security)
- InfoAnthropic cryptography disclosure draws backlash after RSA panicSame vendor, BleepingComputer
- InfoAmazon releases open-weight AI model as potential China crackdown loomsSame vendor, CNBC Technology
- MediumGoogle and Anthropic AI Found an 18-Year-Old UEFI Flaw That Can Bypass Secure BootSame vendor, The Hacker News