Complete installation instructions for Excel MCP Server - VS Code Extension, MCP Server, and CLI tool
Complete installation instructions for the ExcelMcp MCP Server and CLI tool.
Best for: GitHub Copilot users, beginners, anyone wanting automatic configuration
Ctrl+Shift+X (Extensions)Marketplace 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), advanced users
Check if already installed:
dotnet --version
# Should show 10.0.x or higher
If not installed:
winget install Microsoft.DotNet.Runtime.10
Manual Download: .NET 10 Downloads
# Install globally as a .NET tool
dotnet tool install --global Sbroenne.ExcelMcp.McpServer
# Verify installation
dotnet tool list --global | Select-String "ExcelMcp"
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": {
"command": "mcp-excel"
}
}
}
For GitHub Copilot (Visual Studio):
Create .mcp.json in your solution directory or %USERPROFILE%\.mcp.json:
{
"servers": {
"excel": {
"command": "mcp-excel"
}
}
}
For Claude Desktop:
%APPDATA%\Claude\claude_desktop_config.jsonexcel entry into your existing mcpServers section{
"mcpServers": {
"excel": {
"command": "mcp-excel",
"args": [],
"env": {}
}
}
}
For Cursor:
%APPDATA%\Cursor\User\globalStorage\mcp\mcp.json{
"mcpServers": {
"excel": {
"command": "mcp-excel",
"args": [],
"env": {}
}
}
}
For Cline (VS Code Extension):
{
"mcpServers": {
"excel": {
"command": "mcp-excel",
"args": [],
"env": {}
}
}
}
For Windsurf:
{
"mcpServers": {
"excel": {
"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
# Install CLI globally
dotnet tool install --global Sbroenne.ExcelMcp.CLI
# Verify installation
excel-mcp --version
# Create a test workbook
excel-mcp file-create --file "test.xlsx"
# List worksheets
excel-mcp sheet-list --file "test.xlsx"
CLI Documentation: CLI Guide
MCP Server:
dotnet tool list --global | Select-String "ExcelMcp"
CLI:
excel-mcp --version
Step 1: Update the tool
dotnet tool update --global Sbroenne.ExcelMcp.McpServer
Step 2: Verify update
dotnet tool list --global | Select-String "ExcelMcp"
# Should show the new version number
Step 3: Restart your MCP client
dotnet tool update --global Sbroenne.ExcelMcp.CLI
# Verify
excel-mcp --version
Error: “Tool not found”
# The tool may need to be reinstalled
dotnet tool uninstall --global Sbroenne.ExcelMcp.McpServer
dotnet tool install --global Sbroenne.ExcelMcp.McpServer
Error: “Access denied”
dotnet tool update --global Sbroenne.ExcelMcp.McpServer --install-dir ~/.dotnet/tools
Solution: Fully restart your MCP client
Still not working?
# Reinstall the tool
dotnet tool uninstall --global Sbroenne.ExcelMcp.McpServer
dotnet tool install --global Sbroenne.ExcelMcp.McpServer
If an update causes issues, you can downgrade:
# Uninstall current version
dotnet tool uninstall --global Sbroenne.ExcelMcp.McpServer
# Install specific version
dotnet tool install --global Sbroenne.ExcelMcp.McpServer --version 1.2.3
# Replace 1.2.3 with the version you want
Before updating, check the release notes:
Solution: Install .NET 10 SDK or Runtime (see Step 1 above)
Check if tool is installed:
dotnet tool list --global | Select-String "ExcelMcp"
Reinstall if missing:
dotnet tool uninstall --global Sbroenne.ExcelMcp.McpServer
dotnet tool install --global Sbroenne.ExcelMcp.McpServer
Solution: Close all Excel windows before running ExcelMcp
ExcelMcp requires exclusive access to workbooks (Excel COM limitation).
dotnet tool uninstall --global Sbroenne.ExcelMcp.McpServer
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.
VS Code Extension: Skills are installed automatically to ~/.copilot/skills/.
Other Platforms (Claude Code, Cursor, Windsurf, etc.):
# Cross-platform installation
npx add-skill sbroenne/mcp-server-excel
# Install for specific agent
npx add-skill sbroenne/mcp-server-excel -a claude-code
npx add-skill sbroenne/mcp-server-excel -a cursor
Manual Installation:
excel-mcp-skills-{version}.zip from GitHub Releases~/.copilot/skills/excel-mcp/.claude/skills/excel-mcp/.cursor/skills/excel-mcp/See: Agent Skills Documentation
Happy automating! 🚀