Complete installation instructions for Excel MCP Server - VS Code Extension, MCP Server, and CLI tool
.NET runtime is NOT required for any installation method — all distributions are self-contained.
evaluate, execute-dmv actions)
npx commands (add-mcp auto-configuration, agent skills). Install with winget install OpenJS.NodeJS.LTS or from nodejs.orgUse this order to avoid setup confusion:
excelcli) for scripting/RPABest for: GitHub Copilot CLI users who want plugin marketplace installation
copilot plugin marketplace add sbroenne/mcp-server-excel-plugins
copilot plugin install excel-mcp@mcp-server-excel-plugins # For conversational AI
copilot plugin install excel-cli@mcp-server-excel-plugins # For scripting / coding agents
excel-mcp — For conversational AI workflowsexcel-cli — Skill for coding agents (install excelcli separately if you want the CLI tool)Note: After each release, there may be a short delay before plugins appear in the marketplace.
Ctrl+Shift+X (Extensions)chatSkillsMarketplace Link: Excel MCP VS Code Extension
Best for: Claude Desktop users who want the simplest installation
excel-mcp-{version}.mcpb from the latest release.mcpb file (or drag-and-drop onto Claude Desktop)That’s it! The MCPB bundle includes everything needed - no .NET installation required.
Best for: Other MCP clients (Cursor, Windsurf, Cline, Claude Code, Codex), advanced users
ExcelMcp-MCP-Server-{version}-windows.zipC:\Tools\ExcelMcp\)Expand-Archive "ExcelMcp-MCP-Server-1.x.x-windows.zip" -DestinationPath "C:\Tools\ExcelMcp"
The ZIP contains mcp-excel.exe — a fully self-contained executable (no .NET runtime needed).
To use mcp-excel as a command without specifying the full path:
$toolsDir = "C:\Tools\ExcelMcp"
$userPath = [Environment]::GetEnvironmentVariable("PATH", "User")
if ($userPath -notlike "*$toolsDir*") {
[Environment]::SetEnvironmentVariable("PATH", "$userPath;$toolsDir", "User")
Write-Host "Added $toolsDir to user PATH. Restart your terminal to apply."
}
Or manually: Settings → System → About → Advanced system settings → Environment Variables → User variables → Path → Edit → New → add C:\Tools\ExcelMcp
Use add-mcp to configure all detected coding agents with a single command:
npx add-mcp "mcp-excel" --name excel-mcp
This auto-detects and configures Cursor, VS Code, Claude Code, Claude Desktop, Codex, Zed, Gemini CLI, and more. Use flags to customize:
npx add-mcp "mcp-excel" --name excel-mcp -a cursor -a claude-code
npx add-mcp "mcp-excel" --name excel-mcp -g
npx add-mcp "mcp-excel" --name excel-mcp --all -y
Requires: Node.js for
npx. Install withwinget install OpenJS.NodeJS.LTSif not already available. No permanentadd-mcpinstallation needed —npxdownloads, runs, and cleans up automatically.
Note: If
mcp-excelis not on your PATH, use the full path instead:npx add-mcp "C:\Tools\ExcelMcp\mcp-excel.exe" --name excel-mcp
Quick Start: Ready-to-use config files for all clients are available in examples/mcp-configs/
For GitHub Copilot (VS Code):
Create .vscode/mcp.json in your workspace:
{
"servers": {
"excel-mcp": {
"command": "mcp-excel"
}
}
}
If
mcp-excelis not on PATH, use the full path:"command": "C:\\Tools\\ExcelMcp\\mcp-excel.exe"
For GitHub Copilot (Visual Studio):
Create .mcp.json in your solution directory or %USERPROFILE%\.mcp.json:
{
"servers": {
"excel-mcp": {
"command": "mcp-excel"
}
}
}
For Claude Desktop:
%APPDATA%\Claude\claude_desktop_config.jsonexcel-mcp entry into your existing mcpServers section{
"mcpServers": {
"excel-mcp": {
"command": "mcp-excel",
"args": [],
"env": {}
}
}
}
For Cursor:
%APPDATA%\Cursor\User\globalStorage\mcp\mcp.json{
"mcpServers": {
"excel-mcp": {
"command": "mcp-excel",
"args": [],
"env": {}
}
}
}
For Cline (VS Code Extension):
{
"mcpServers": {
"excel-mcp": {
"command": "mcp-excel",
"args": [],
"env": {}
}
}
}
For Windsurf:
{
"mcpServers": {
"excel-mcp": {
"command": "mcp-excel",
"args": [],
"env": {}
}
}
}
Restart your MCP client, then ask:
Create an empty Excel file called "test.xlsx"
If it works, you’re all set! 🎉
💡 Tip: Want to watch the AI work? Ask:
Show me Excel while you work on test.xlsx
This opens Excel visibly so you can see every change in real-time - great for debugging and demos!
Best for: Scripting, RPA, CI/CD pipelines, automation without AI
The excelcli.exe tool is already included when you install the excel-cli GitHub Copilot plugin or the VS Code extension. Plain skill-only installs still need the CLI available separately.
Download and extract the standalone CLI:
ExcelMcp-CLI-{version}-windows.zipC:\Tools\ExcelMcp\)Expand-Archive "ExcelMcp-CLI-1.x.x-windows.zip" -DestinationPath "C:\Tools\ExcelMcp"
$toolsDir = "C:\Tools\ExcelMcp"
$userPath = [Environment]::GetEnvironmentVariable("PATH", "User")
if ($userPath -notlike "*$toolsDir*") {
[Environment]::SetEnvironmentVariable("PATH", "$userPath;$toolsDir", "User")
Write-Host "Added $toolsDir to user PATH. Restart your terminal to apply."
}
excelcli --version
excelcli --help
excelcli -q session open test.xlsx
excelcli -q session list
excelcli -q session close --session <id>
Best for: GitHub Copilot users who want packaged Excel automation plugins through supported plugin surfaces
ExcelMcp ships two GitHub Copilot marketplace plugins:
excel-mcp — Best for conversational Excel workflows through the MCP serverexcel-cli — Best for token-efficient scripting and coding-agent workflowscopilot plugin marketplace add sbroenne/mcp-server-excel-plugins
copilot plugin install excel-mcp@mcp-server-excel-plugins
copilot plugin install excel-cli@mcp-server-excel-plugins
After Installation:
excel-mcp — Ready to use; follow the plugin README if you want to merge the MCP config into your Copilot setup.excel-cli — Install excelcli separately if you need it on PATH:dotnet tool install --global Sbroenne.ExcelMcp.CLI
excelcli --version
Note: The Copilot CLI install commands above are specific to the GitHub Copilot plugin marketplace. VS Code and Claude have their own plugin systems with separate installation flows.
Plugins are published automatically after each ExcelMcp release, though you may need to wait a few moments for the update to appear in the marketplace.
For users who prefer package managers or already have .NET installed
NuGet is a secondary distribution channel. It requires the .NET 10 Runtime or SDK to be installed.
dotnet tool install --global Sbroenne.ExcelMcp.McpServer
dotnet tool install --global Sbroenne.ExcelMcp.CLI
After installation, configure your MCP client with "command": "mcp-excel" (same as standalone exe).
Update via NuGet:
dotnet tool update --global Sbroenne.ExcelMcp.McpServer
dotnet tool update --global Sbroenne.ExcelMcp.CLI
Uninstall:
dotnet tool uninstall --global Sbroenne.ExcelMcp.McpServer
dotnet tool uninstall --global Sbroenne.ExcelMcp.CLI
Why NuGet is secondary: The standalone exe distributions require no .NET runtime, making them easier to install for most users. NuGet is available as an alternative for users who prefer package managers or already have .NET installed in their workflow.
Best for: Adding AI guidance to coding agents (Copilot, Cursor, Windsurf, Claude Code, Gemini, Codex, etc.)
Skills are auto-installed by the VS Code extension. Plugins and skills are different things: plugins are packaged surface integrations, while skills are reusable AI guidance. For environments where you want skills directly, use the commands below:
npx skills add sbroenne/mcp-server-excel --skill excel-cli
npx skills add sbroenne/mcp-server-excel --skill excel-mcp
npx skills add sbroenne/mcp-server-excel --skill excel-cli -a cursor
npx skills add sbroenne/mcp-server-excel --skill excel-mcp -a claude-code
npx skills add sbroenne/mcp-server-excel --skill excel-cli --global
Supports 43+ agents including claude-code, github-copilot, cursor, windsurf, gemini-cli, codex, goose, cline, continue, replit, and more.
mcp-excel --version
excelcli --version
Standalone exe (primary):
ExcelMcp-MCP-Server-{version}-windows.zip and/or ExcelMcp-CLI-{version}-windows.zipExpand-Archive "ExcelMcp-MCP-Server-1.x.x-windows.zip" -DestinationPath "C:\Tools\ExcelMcp" -Force
NuGet (secondary):
dotnet tool update --global Sbroenne.ExcelMcp.McpServer
dotnet tool update --global Sbroenne.ExcelMcp.CLI
Before updating, check the release notes:
Solution: mcp-excel.exe is not on your PATH.
Either:
mcp-excel.exe to your PATH (see Step 2 above)"command": "C:\\Tools\\ExcelMcp\\mcp-excel.exe"Check if the exe exists:
where.exe mcp-excel
Test-Path "C:\Tools\ExcelMcp\mcp-excel.exe"
Verify it runs:
mcp-excel --version
Solution: Close all Excel windows before running ExcelMcp
ExcelMcp requires exclusive access to workbooks (Excel COM limitation).
Solution: Fully restart your MCP client
Remove-Item "C:\Tools\ExcelMcp\mcp-excel.exe" -Force
dotnet tool uninstall --global Sbroenne.ExcelMcp.McpServer
Remove-Item "C:\Tools\ExcelMcp\excelcli.exe" -Force
dotnet tool uninstall --global Sbroenne.ExcelMcp.CLI
After installation:
Agent Skills provide domain-specific guidance to AI coding assistants, helping them use Excel MCP Server more effectively.
Note: Agent Skills are for coding agents (GitHub Copilot, Claude Code, Cursor). Claude Desktop uses MCP Prompts instead (included automatically via the MCP Server).
| Skill | Target | Best For |
|---|---|---|
| excel-cli | CLI Tool | Coding agents (Copilot, Cursor, Windsurf) - token-efficient, excelcli --help discoverable |
| excel-mcp | MCP Server | Conversational AI (Claude Desktop, VS Code Chat) - rich tool schemas, exploratory workflows |
VS Code Extension: Skills are installed automatically to ~/.copilot/skills/.
Other Platforms (Claude Code, Cursor, Windsurf, Gemini, Codex, etc.):
npx skills add sbroenne/mcp-server-excel --skill excel-cli
npx skills add sbroenne/mcp-server-excel --skill excel-mcp
npx skills add sbroenne/mcp-server-excel
npx skills add sbroenne/mcp-server-excel --skill excel-cli # Coding agents
npx skills add sbroenne/mcp-server-excel --skill excel-mcp # Conversational AI
npx skills add sbroenne/mcp-server-excel --skill '*'
npx skills add sbroenne/mcp-server-excel --skill excel-cli -a cursor
npx skills add sbroenne/mcp-server-excel --skill excel-mcp -a claude-code
Manual Installation:
excel-skills-v{version}.zip from GitHub Releasesskills/excel-cli/ - for coding agents (Copilot, Cursor, Windsurf)skills/excel-mcp/ - for conversational AI (Claude Desktop, VS Code Chat)~/.copilot/skills/excel-cli/ or ~/.copilot/skills/excel-mcp/.claude/skills/excel-cli/ or .claude/skills/excel-mcp/.cursor/skills/excel-cli/ or .cursor/skills/excel-mcp/See: Agent Skills Documentation
Happy automating! 🚀