Inspect, validate, upload, and submit Microsoft Forms responses
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
AI-native Microsoft Forms automation for inspecting forms, resolving branching, validating answers, uploading files, submitting responses, and saving response links.
Use it as:
[!NOTE] This project was generated by GitHub Copilot App using GPT-5.6 Sol with Extra High reasoning in Autopilot mode.
[!WARNING] This project uses reverse-engineered Microsoft Forms web APIs. Microsoft does not document or guarantee these endpoints. They can change without notice. This project is not affiliated with or endorsed by Microsoft.
The CLI skill teaches agents how to inspect branching, prepare and validate answers, upload authorized files, and require explicit approval before submission:
The installer detects supported agents such as Claude Code, Cursor, GitHub Copilot, and Codex, then asks where to install the skill. Choose global scope to use it across projects.
The skill runs msforms-api through npx, so it does not require a global
package installation or MCP configuration. It is an alternative interface to
the MCP server; both use the same CLI and SDK behavior.
Click an install badge above, or use this MCP configuration. For Cursor, save
it as ~/.cursor/mcp.json:
On first use, ask your agent to authenticate Microsoft Forms. A browser opens for sign-in, then future operations reuse the persistent session.
Try:
Inspect this Microsoft Form and explain every question, validation, upload rule, and branch:
https://forms.cloud.microsoft/...
The agent can prepare and validate answers without submitting. Submission uses a separate destructive MCP tool and requires explicit confirmation.
macOS / Linux:
Windows PowerShell:
Add the MCP configuration above to claude_desktop_config.json.
Add the MCP configuration above to your client's MCP configuration file.
| Tool | Behavior |
|---|---|
forms_authenticate | Opens visible browser login |
forms_inspect | Returns normalized and raw form structure |
forms_validate | Resolves branches and validates without submitting |
forms_upload_file | Uploads a local file and returns answer metadata |
forms_submit | Creates a response after elicited confirmation |
forms_save_response | Saves an existing response link |
forms_list_saved_responses | Lists saved response links |
forms_submit is marked destructive and non-idempotent. It uses MCP v2
multi-round-trip elicitation. Declined or false confirmation never reaches
submission code.
Cross-cutting workflow and safety guidance is also available through:
Run without installing globally:
Frequent CLI users can install globally:
Every command emits JSON. Add --compact for single-line output.
Authentication opens a visible browser and stores its profile under:
The SDK uses that profile to obtain scoped Forms cookies, an anti-forgery token, and session metadata. It does not print or return those credentials. Normal reads and submissions use direct Forms HTTP requests. File upload is browser-assisted because the Forms frontend manages SharePoint authorization.
Override the profile or browser:
MCP environment variables:
| Variable | Purpose |
|---|---|
MSFORMS_PROFILE_DIRECTORY | Persistent browser profile override |
MSFORMS_BROWSER_CHANNEL | chrome or msedge |
MSFORMS_HEADLESS | Set to false to show operational browser windows |
Delete ~/.msforms-api/browser-profile to remove the local session.
Answers are keyed by exact question ID returned from forms_inspect.
| Question type | Input |
|---|---|
| Text | String |
| Single choice | Option label or ID |
| Multiple choice | Array of option labels or IDs |
| Date | YYYY-MM-DD string |
| Rating or NPS | Number |
| Ranking | Ordered array containing every option label or ID |
| Matrix row | Option label, or { "id": ..., "key": ... } |
| File upload | Array of objects returned by forms_upload_file |
Matrix answers use each row question ID, not the matrix group ID.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/microsoft-forms-api)<a href="https://allmcps.com/mcp/microsoft-forms-api"><img src="https://allmcps.com/api/badge/microsoft-forms-api?style=directory" alt="Microsoft Forms API on AllMCPs" /></a>