Skip to content
Gemini CLI

MCP Office Excel for Gemini CLI

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

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

client:Gemini CLI transport:stdio runtime:pypi

Install MCP Office Excel in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-office-excel": {
      "command": "uvx",
      "args": [
        "mcp-office"
      ],
      "env": {
        "EXCEL_ALLOWLIST_ROOTS": "<EXCEL_ALLOWLIST_ROOTS>",
        "EXCEL_ENABLE_WRITE": "<EXCEL_ENABLE_WRITE>",
        "EXCEL_ENABLE_COM": "<EXCEL_ENABLE_COM>",
        "EXCEL_MAX_ITEMS": "<EXCEL_MAX_ITEMS>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

MCP Office Excel in other clients