Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Inspect, validate, upload, and submit Microsoft Forms responses
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
MSFORMS_PROFILE_DIRECTORY, MSFORMS_BROWSER_CHANNEL, MSFORMS_HEADLESSต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด 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": "ใส่ค่าของคุณ",
"MSFORMS_BROWSER_CHANNEL": "ใส่ค่าของคุณ",
"MSFORMS_HEADLESS": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add msforms-api --env MSFORMS_PROFILE_DIRECTORY='ใส่ค่าของคุณ' --env MSFORMS_BROWSER_CHANNEL='ใส่ค่าของคุณ' --env MSFORMS_HEADLESS='ใส่ค่าของคุณ' -- npx -y msforms-api msforms-api-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"msforms-api": {
"command": "npx",
"args": [
"-y",
"msforms-api",
"msforms-api-mcp"
],
"env": {
"MSFORMS_PROFILE_DIRECTORY": "ใส่ค่าของคุณ",
"MSFORMS_BROWSER_CHANNEL": "ใส่ค่าของคุณ",
"MSFORMS_HEADLESS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"msforms-api": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"msforms-api",
"msforms-api-mcp"
],
"env": {
"MSFORMS_PROFILE_DIRECTORY": "ใส่ค่าของคุณ",
"MSFORMS_BROWSER_CHANNEL": "ใส่ค่าของคุณ",
"MSFORMS_HEADLESS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
MSFORMS_PROFILE_DIRECTORY envMSFORMS_BROWSER_CHANNEL envMSFORMS_HEADLESS envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Maxim-Mazurok ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.2) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, topo^alpin
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Avalanche bulletins and mountain weather forecasts for any place in the Alps.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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:
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.
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.
| 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:
npx -y -p msforms-api@latest msforms-api guide
Run without installing globally:
# Sign in once
npx -y -p msforms-api@latest msforms-api auth
npx -y -p msforms-api@latest msforms-api inspect \ --form 'https://forms.cloud.microsoft/Pages/ResponsePage.aspx?id=...'
npx -y -p msforms-api@latest msforms-api validate \ --form 'https://forms.cloud.microsoft/Pages/ResponsePage.aspx?id=...' \ --answers @answers.json
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 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:
| 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.
{
"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" } ] }
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.
The normalized form model includes:
branchTargetId values.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.
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
ตัดมาแค่ช่วงต้น อ่านต่อใน repo