プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Microsoft Forms API

作者:Maxim-Mazurokバージョン 0.2.2i★ –iパソコンで動く
レジストリ名io.github.Maxim-Mazurok/msforms-api

インストール

概要

作者による説明(英語の原文)

Inspect, validate, upload, and submit Microsoft Forms responses

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: MSFORMS_PROFILE_DIRECTORY, MSFORMS_BROWSER_CHANNEL, MSFORMS_HEADLESS

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "msforms-api": {
      "command": "npx",
      "args": [
        "-y",
        "msforms-api",
        "msforms-api-mcp"
      ],
      "env": {
        "MSFORMS_PROFILE_DIRECTORY": "your-value",
        "MSFORMS_BROWSER_CHANNEL": "your-value",
        "MSFORMS_HEADLESS": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add msforms-api --env MSFORMS_PROFILE_DIRECTORY=your-value --env MSFORMS_BROWSER_CHANNEL=your-value --env MSFORMS_HEADLESS=your-value -- npx -y msforms-api msforms-api-mcp

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "msforms-api": {
      "command": "npx",
      "args": [
        "-y",
        "msforms-api",
        "msforms-api-mcp"
      ],
      "env": {
        "MSFORMS_PROFILE_DIRECTORY": "your-value",
        "MSFORMS_BROWSER_CHANNEL": "your-value",
        "MSFORMS_HEADLESS": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "msforms-api": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "msforms-api",
        "msforms-api-mcp"
      ],
      "env": {
        "MSFORMS_PROFILE_DIRECTORY": "your-value",
        "MSFORMS_BROWSER_CHANNEL": "your-value",
        "MSFORMS_HEADLESS": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • MSFORMS_PROFILE_DIRECTORY env
    Persistent browser profile directory override
  • MSFORMS_BROWSER_CHANNEL env
    Browser channel: chrome or msedge
  • MSFORMS_HEADLESS env
    Set to false to show operational browser windows

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント Maxim-Mazurok で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32558件のうち0%よりスターが多い
  • このカテゴリのほかの32558件のうち23%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32558件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Microsoft Forms APIは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.2.2)がレジストリに届いたのは3 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, FactLot

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211昨日更新
インストール

FactLot

作者:9mp96ygnbk-alt

Cited CRE facts and deterministic calculators for agents: rent, CAM, debt sizing, IRR, parcel IDs.

パソコンでもクラウドでも今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

msforms-api

AI-native Microsoft Forms automation for inspecting forms, resolving branching, validating answers, uploading files, submitting responses, and saving response links.

Use it as:

  1. MCP server for AI agents and editors — recommended for most users.
  2. Agent skill backed by the CLI for agents that can run shell commands.
  3. CLI for scripts and terminal workflows.
  4. TypeScript SDK for custom applications.

[!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.

Quick start

Prerequisites
  • Node.js 22 or later.
  • Google Chrome or Microsoft Edge. Playwright Chromium is installed automatically when neither is available.
Install as an agent skill

The CLI skill teaches agents how to inspect branching, prepare and validate answers, upload authorized files, and require explicit approval before submission:

npx -y skills add Maxim-Mazurok/msforms-api

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.

Install in an AI tool

Click an install badge above, or use this MCP configuration. For Cursor, save it as ~/.cursor/mcp.json:

{

"mcpServers": { "microsoft-forms": { "command": "npx", "args": ["-y", "-p", "msforms-api@latest", "msforms-api-mcp"] } } }

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.

VS Code CLI installation

macOS / Linux:

code --add-mcp '{"name":"microsoft-forms","command":"npx","args":["-y","-p","msforms-api@latest","msforms-api-mcp"]}'

Windows PowerShell:

code --add-mcp '{"name":"microsoft-forms","command":"npx","args":["-y","-p","msforms-api@latest","msforms-api-mcp"]}'

Claude Desktop

Add the MCP configuration above to claude_desktop_config.json.

Claude Code

claude mcp add microsoft-forms -- npx -y -p msforms-api@latest msforms-api-mcp

Windsurf and other MCP clients

Add the MCP configuration above to your client's MCP configuration file.

What agents can do

  • Read complete form metadata, including raw API objects.
  • Understand question types, options, required state, and text validation.
  • Resolve choice branching through stable question identifiers.
  • Inspect matrix rows and their shared options.
  • Inspect file count, size, and extension restrictions.
  • Validate and serialize answers without submitting.
  • Upload files through the authenticated Forms frontend.
  • Submit only after explicit confirmation.
  • Save and list response links in the signed-in account.

MCP tools

ToolBehavior
forms_authenticateOpens visible browser login
forms_inspectReturns normalized and raw form structure
forms_validateResolves branches and validates without submitting
forms_upload_fileUploads a local file and returns answer metadata
forms_submitCreates a response after elicited confirmation
forms_save_responseSaves an existing response link
forms_list_saved_responsesLists 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:

npx -y -p msforms-api@latest msforms-api guide

CLI

Run without installing globally:

# Sign in once

npx -y -p msforms-api@latest msforms-api auth

Inspect a form

npx -y -p msforms-api@latest msforms-api inspect \ --form 'https://forms.cloud.microsoft/Pages/ResponsePage.aspx?id=...'

Validate answers without submitting

npx -y -p msforms-api@latest msforms-api validate \ --form 'https://forms.cloud.microsoft/Pages/ResponsePage.aspx?id=...' \ --answers @answers.json

Submit only when intended

npx -y -p msforms-api@latest msforms-api submit \ --form 'https://forms.cloud.microsoft/Pages/ResponsePage.aspx?id=...' \ --answers @answers.json \ --save-response \ --confirm

Frequent CLI users can install globally:

npm install --global msforms-api

msforms-api auth

Every command emits JSON. Add --compact for single-line output.

Authentication and local data

Authentication opens a visible browser and stores its profile under:

~/.msforms-api/browser-profile

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:

msforms-api --profile ~/.config/my-forms-profile --browser chrome auth

MCP environment variables:

VariablePurpose
MSFORMS_PROFILE_DIRECTORYPersistent browser profile override
MSFORMS_BROWSER_CHANNELchrome or msedge
MSFORMS_HEADLESSSet to false to show operational browser windows

Delete ~/.msforms-api/browser-profile to remove the local session.

Answer format

Answers are keyed by exact question ID returned from forms_inspect.

Question typeInput
TextString
Single choiceOption label or ID
Multiple choiceArray of option labels or IDs
DateYYYY-MM-DD string
Rating or NPSNumber
RankingOrdered array containing every option label or ID
Matrix rowOption label, or { "id": ..., "key": ... }
File uploadArray of objects returned by forms_upload_file

Matrix answers use each row question ID, not the matrix group ID.

{

"text-question-id": "Ada Lovelace", "multiple-choice-question-id": ["Desktop", "Laptop"], "date-question-id": "2026-08-12", "ranking-question-id": ["Branching", "Uploads", "Ratings"], "matrix-row-question-id": { "label": "Agree" }, "file-question-id": [ { "name": "document.pdf", "uploadSessionUrl": "https://...", "link": "https://...", "badgerToken": null, "time": 1786492949627, "status": 3, "id": "sharepoint-item-id" } ] }

SDK

npm install msforms-api
import { MicrosoftFormsClient } from "msforms-api";

const client = new MicrosoftFormsClient(); const form = await client.getForm(formUrl);

const answers = { [form.questions[0].id]: "Example answer", };

const validation = await client.validateAnswers(formUrl, answers); if (!validation.valid) { throw new Error(JSON.stringify(validation.issues)); }

const submission = await client.submitResponse(formUrl, answers, { saveResponse: true, });

if (submission.saveResponseStatus === "failed") { console.error(submission.saveResponseError); await client.saveResponse( formUrl, submission.responseId, submission.submitDate, ); }

submitResponse() is direct at SDK level. Applications using the SDK must implement their own user confirmation boundary. CLI requires --confirm; MCP requires elicitation.

submissionStatus: "submitted" or a returned responseId means the permanent response exists. A requested response-link save can fail independently. In that case, saveResponseStatus is "failed", submission details remain in the result, and callers must not submit again. Retry only the idempotent saveResponse() operation.

Form structure

The normalized form model includes:

  • IDs, titles, subtitles, order, type, and required state.
  • Choice labels and branchTargetId values.
  • Matrix rows with inherited options.
  • Text validation boundaries and rules.
  • File upload restrictions.
  • Parsed form settings.
  • Full raw form and question objects for forward compatibility.

Example branch:

{

"id": "source-question-id", "type": "Question.Choice", "options": [ { "label": "Yes", "branchTargetId": "target-question-id" } ] }

forms_validate returns visible question IDs, issues, and the exact serialized answer array. Questions skipped by branching are omitted.

How it works

Browser bootstrap exposes the anti-forgery token, server session ID, form-owner tenant and user, responder tenant and user, and form prefetch URL. The client combines that data with scoped Forms cookies for direct requests.

Observed endpoint families:

GET  /formapi/api/{tenant}/users/{owner}/light/runtimeForms('{formId}')

POST /formapi/api/{tenant}/users/{owner}/forms('{formId}')/responses POST /formapi/api/{tenant}/users/{o

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く