Microsoft Office for VS Code
io.github.mindstone/mcp-server-office
Microsoft Office MCP server: read and edit Word documents, Excel workbooks, and PowerPoint files
client:VS Code
transport:stdio
runtime:npm
Install Microsoft Office in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "mcp-office-sidecar-state",
"description": "MCP_OFFICE_SIDECAR_STATE",
"password": true
},
{
"type": "promptString",
"id": "mcp-office-sidecar-disable",
"description": "MCP_OFFICE_SIDECAR_DISABLE",
"password": true
},
{
"type": "promptString",
"id": "rebel-disable-office-sidecar",
"description": "REBEL_DISABLE_OFFICE_SIDECAR",
"password": true
},
{
"type": "promptString",
"id": "mcp-office-sidecar-state-dir",
"description": "MCP_OFFICE_SIDECAR_STATE_DIR",
"password": true
},
{
"type": "promptString",
"id": "mcp-office-addin-dir",
"description": "MCP_OFFICE_ADDIN_DIR",
"password": true
}
],
"servers": {
"mcp-server-office": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-office"
],
"env": {
"MCP_OFFICE_SIDECAR_STATE": "${input:mcp-office-sidecar-state}",
"MCP_OFFICE_SIDECAR_DISABLE": "${input:mcp-office-sidecar-disable}",
"REBEL_DISABLE_OFFICE_SIDECAR": "${input:rebel-disable-office-sidecar}",
"MCP_OFFICE_SIDECAR_STATE_DIR": "${input:mcp-office-sidecar-state-dir}",
"MCP_OFFICE_ADDIN_DIR": "${input:mcp-office-addin-dir}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs