local-workbook-mcp
Verified Safeby McFuzzySquirrel
Overview
Enable conversational AI interaction with local Excel workbooks using natural language queries, without transmitting data to external services.
Installation
dotnet run --project src/ExcelMcp.Server -- --workbook "D:/Data/sample.xlsx"Environment Variables
- LLM_BASE_URL
- LLM_MODEL_ID
- LLM_API_KEY
- EXCEL_MCP_WORKBOOK
- EXCEL_MCP_SERVER
- ASPNETCORE_ENVIRONMENT
- ASPNETCORE_URLS
Security Notes
The project is explicitly designed with 'Privacy-First Local Operation' as a core principle, ensuring Excel data never leaves the local machine. It leverages Semantic Kernel's plugin architecture, where predefined tools wrap MCP server functions, limiting arbitrary code execution by the LLM. Error messages are sanitized (e.g., 'Sheet not found' instead of revealing full path/name) to prevent sensitive data exposure, with full details logged locally for troubleshooting. Input validation is present (e.g., JSON schema for pivot analysis). There are no apparent hardcoded critical secrets in the provided code snippets (API keys are noted as 'not-used' or 'not-needed-for-local' for local LLMs). The main risks would be potential vulnerabilities in underlying libraries like ClosedXML or the local LLM itself, or subtle command injection vectors if user inputs are mishandled before reaching the MCP server, though the design aims to mitigate these through controlled tool calls and sanitization.
Similar Servers
powerbi-modeling-mcp
Automate Power BI semantic model development and management using AI agents via the MCP protocol.
powerbi-mcp
Enables AI assistants to interact with Power BI Desktop and Service for querying data, managing models, and performing safe bulk operations through natural language, ensuring enterprise-grade security and preserving report visual integrity during refactoring.
mcpbi
Provides a Model Context Protocol (MCP) server for local Power BI Tabular Models, enabling LLM clients to interact for debugging, analysis, and DAX query composition.
mcp-server-excel
AI-powered automation of Microsoft Excel features, including Power Query, DAX measures, VBA macros, PivotTables, and general data manipulation, via natural language commands from AI assistants.