Skip to content
VS Code

Microsoft Forms API for VS Code

io.github.maxim-mazurok/msforms-api

Inspect, validate, upload, and submit Microsoft Forms responses

client:VS Code transport:stdio runtime:npm

Install Microsoft Forms API in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "msforms-profile-directory",
      "description": "MSFORMS_PROFILE_DIRECTORY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "msforms-browser-channel",
      "description": "MSFORMS_BROWSER_CHANNEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "msforms-headless",
      "description": "MSFORMS_HEADLESS",
      "password": true
    }
  ],
  "servers": {
    "msforms-api": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "msforms-api"
      ],
      "env": {
        "MSFORMS_PROFILE_DIRECTORY": "${input:msforms-profile-directory}",
        "MSFORMS_BROWSER_CHANNEL": "${input:msforms-browser-channel}",
        "MSFORMS_HEADLESS": "${input:msforms-headless}"
      }
    }
  }
}

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

Microsoft Forms API in other clients