Data as of
Excel MCP Server for VS Code: Setup & Config
This Excel MCP Server gives VS Code range-based access to workbook data and formatting.
What you can do with Excel in VS Code
Inspect and change workbook ranges with formulas, tables, and per-cell styles in the same integration.
- Review formulas or style metadata instead of reading only displayed values.
- Populate a new sheet and give its data a named table range.
- Copy a worksheet or apply per-cell presentation changes.
Before you start: Excel in VS Code
- Node.js version 20.x or above
- MCP client able to launch the npm package
The command and flags match the README configuration for other platforms. Its Windows configuration instead launches cmd with /c, then npx and the same package flags. Tool calls use an absolute workbook path. The paging environment key is documented with a default value of 4000.
Excel VS Code configuration
Choose VS Code configuration scope
For Excel MCP Server, open Workspace: .vscode/mcp.json. Merge into servers; preserve existing inputs.
Add Excel MCP Server to VS Code
Use the excel-mcp-server-negokaz entry below in servers. Keep Excel MCP Server's documented stdio connection fields and your other VS Code entries.
Check Excel MCP Server in VS Code
Excel MCP Server: Start in VS Code’s MCP controls; inspect output and trust prompts.
Config file · Workspace: .vscode/mcp.json
{
"servers": {
"excel-mcp-server-negokaz": {
"type": "stdio",
"command": "npx",
"args": [
"--yes",
"@negokaz/excel-mcp-server"
],
"env": {
"EXCEL_MCP_PAGING_CELLS_LIMIT": "<optional page-size ceiling in cells; documented default is 4000>"
}
}
}
}Excel tools available to VS Code
Excel's stored tool list documents 7 tools; compare it with VS Code's connected tool list, because the stored list is not a live check.
- excel_describe_sheets
Look for excel_describe_sheets among VS Code's agent-mode tools after starting Excel through the MCP controls.
- excel_read_sheet
Look for excel_read_sheet among VS Code's agent-mode tools after starting Excel through the MCP controls.
Inspect a paginated cell range, choosing whether formulas or styling details are included.
- excel_copy_sheet
Look for excel_copy_sheet among VS Code's agent-mode tools after starting Excel through the MCP controls.
Create a new worksheet by copying a specified source sheet.
- excel_write_to_sheet
Look for excel_write_to_sheet among VS Code's agent-mode tools after starting Excel through the MCP controls.
- excel_create_table
Look for excel_create_table among VS Code's agent-mode tools after starting Excel through the MCP controls.
Define a named table over a chosen worksheet range.
- excel_format_range
Look for excel_format_range among VS Code's agent-mode tools after starting Excel through the MCP controls.
Assign styles cell by cell using an array aligned to the selected range.
- excel_screen_capture
Look for excel_screen_capture among VS Code's agent-mode tools after starting Excel through the MCP controls.
Troubleshooting Excel in VS Code
- Make npx @negokaz/excel-mcp-server (Node.js/npm) available in the workspace, container, or remote environment hosting Excel MCP Server. Start through VS Code's MCP controls; inspect output and trust prompts.
- For Excel MCP Server, keep EXCEL_MCP_PAGING_CELLS_LIMIT out of version control; VS Code documents input variables and secret handling.
- Excel MCP Server uses stdio here: VS Code must keep the configured process running; protocol output belongs on stdout and diagnostics on stderr.
- Known limitation: Screenshot capture and live editing are not documented for non-Windows platforms.
- Known limitation: The npm launch requires Node.js 20.x or a newer release.
- General VS Code troubleshooting lives in the /clients/vscode guide.
Excel MCP Server — details. VS Code guide