Skip to content
VS Code

MCP Office Excel for VS Code

io.github.dosev-ai/mcp-office-excel

65-tool Excel MCP server. Read, write, format, and export .xlsx files. Windows-first.

client:VS Code transport:stdio runtime:pypi

Install MCP Office Excel in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "excel-allowlist-roots",
      "description": "EXCEL_ALLOWLIST_ROOTS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "excel-enable-write",
      "description": "EXCEL_ENABLE_WRITE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "excel-enable-com",
      "description": "EXCEL_ENABLE_COM",
      "password": true
    },
    {
      "type": "promptString",
      "id": "excel-max-items",
      "description": "EXCEL_MAX_ITEMS",
      "password": true
    }
  ],
  "servers": {
    "mcp-office-excel": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-office"
      ],
      "env": {
        "EXCEL_ALLOWLIST_ROOTS": "${input:excel-allowlist-roots}",
        "EXCEL_ENABLE_WRITE": "${input:excel-enable-write}",
        "EXCEL_ENABLE_COM": "${input:excel-enable-com}",
        "EXCEL_MAX_ITEMS": "${input:excel-max-items}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

MCP Office Excel in other clients