Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Build, test, ship and maintain Microsoft Copilot Studio agents from the editor
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
CPS_WORKSPACE, CPS_TENANT_ID, CPS_CLIENT_ID, CPS_READ_ONLY, CPS_TOOLSต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"copilot-studio": {
"command": "npx",
"args": [
"-y",
"copilot-studio-mcp"
],
"env": {
"CPS_WORKSPACE": "ใส่ค่าของคุณ",
"CPS_TENANT_ID": "ใส่ค่าของคุณ",
"CPS_CLIENT_ID": "ใส่ค่าของคุณ",
"CPS_READ_ONLY": "ใส่ค่าของคุณ",
"CPS_TOOLS": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add copilot-studio --env CPS_WORKSPACE='ใส่ค่าของคุณ' --env CPS_TENANT_ID='ใส่ค่าของคุณ' --env CPS_CLIENT_ID='ใส่ค่าของคุณ' --env CPS_READ_ONLY='ใส่ค่าของคุณ' --env CPS_TOOLS='ใส่ค่าของคุณ' -- npx -y copilot-studio-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"copilot-studio": {
"command": "npx",
"args": [
"-y",
"copilot-studio-mcp"
],
"env": {
"CPS_WORKSPACE": "ใส่ค่าของคุณ",
"CPS_TENANT_ID": "ใส่ค่าของคุณ",
"CPS_CLIENT_ID": "ใส่ค่าของคุณ",
"CPS_READ_ONLY": "ใส่ค่าของคุณ",
"CPS_TOOLS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"copilot-studio": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"copilot-studio-mcp"
],
"env": {
"CPS_WORKSPACE": "ใส่ค่าของคุณ",
"CPS_TENANT_ID": "ใส่ค่าของคุณ",
"CPS_CLIENT_ID": "ใส่ค่าของคุณ",
"CPS_READ_ONLY": "ใส่ค่าของคุณ",
"CPS_TOOLS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
CPS_WORKSPACE envCPS_TENANT_ID envCPS_CLIENT_ID envCPS_READ_ONLY envCPS_TOOLS envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub jgt87 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.8) เข้า registry 19 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Draugr
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.
Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
An MCP server that lets a coding agent (GitHub Copilot in VS Code, Claude Code, or any other MCP client) build, test, ship and look after Microsoft Copilot Studio agents from the editor.
An agent becomes a folder of YAML you can read, diff and commit. The server writes that folder the way the Copilot Studio VS Code extension does, syncs it with the live agent through the official Power Platform CLI (pac), and calls the Power Platform, Dataverse, BAP, Power Automate and DirectLine APIs for what the CLI does not cover: evaluations, chat, cloud flows, portal drift, transcripts. Nothing reaches a live environment without your approval, and when a choice is still open the tool asks a question instead of failing.
| You want to | What happens | Read |
|---|---|---|
| Stand up a new agent and get it live | create it inside a solution, generate instructions, add knowledge, topics and tools, review, validate, push, publish, talk to it | Build a new agent |
| Change an agent that already exists | clone it to files, edit or remove components, review, merge what colleagues changed, push | Work on an existing agent |
| Give the agent something to call | connector actions, MCP servers, cloud flows, AI Builder prompts, other agents, chosen from what the environment actually has | Give the agent tools |
| Know whether it works | chat with the published agent, repeatable conversation tests, evaluation runs with per-case results | Publish and test |
| Learn from real users | transcripts, session outcomes, escalation rate, a regression test set built from real questions | Learn from production conversations |
| Not overwrite what a colleague did in the portal | see portal changes since your last sync, block a push that would collide, merge | Keep the workspace and the portal in sync |
| Write a Power Automate flow without hand-writing Logic Apps JSON | compose a definition from steps, create the flow, bind its connections, switch it on, read its run history | Build cloud flows |
| Find out why a flow keeps failing | resolve the real error behind a failed connector action, diff the run against one that worked, and see where the failures concentrate | Build cloud flows |
| Move to test and production | pull the whole solution, map connections and variables, deploy 1:1, publish; or use a pipeline | Ship a solution to another environment |
| Prove the stages match | snapshot each environment, compare, gate a pipeline on drift | Compare environments across DTAP |
| Run the tenant | environments, security roles, DLP, tenant settings, backups to files, onboarding a team, the Microsoft 365 agent catalogue | Administer the tenant |
The complete tool list is in docs/tools.md and the diagrams in docs/flows.md; both ship inside the npm package under docs/. The reference sections at the end of this page cover the agent settings the server can write, authentication and permissions, configuration, the hard limits and how this differs from pac's own MCP server.
Early release. What has actually been exercised:
pac copilot init and pac copilot pack.docs/live-verification.md): the connector registry, the pac connection list layout, pac copilot clone and its sync metadata, drift detection and the cs_push conflict refusal, and the evaluation path end to end including the portal's CSV import format and the metric status strings. A portal-made agent validates clean, so cs_validate produces no false positives on real content. That run also caught a real bug: pac copilot publish prints "Failed to publish" and exits 0, so a failed publish was being reported as a success. Fixed.cs_check_drift in quick mode, cs_chat, the Dataverse listBots path, moving a solution between environments, and every flow the flow builder produces (none has been imported into an environment yet).docs/verify.md is the short list of what is still open, docs/STATUS.md the full record. Read the dry run before confirming anything that writes.
dotnet tool install --global Microsoft.PowerApps.CLI.Tool. If the SDK lives in your user profile, set DOTNET_ROOT to that folder; the server defaults it to ~/.dotnet when that folder exists.pac auth create --environment . Everything that goes through pac (create, clone, pull, push, publish, solutions, administration) uses it, with Microsoft's own first-party app.cs_login, done from the session. By default no app registration is needed; Authentication and app registration says when you need one and which permissions it must carry.The server is on npm as copilot-studio-mcp, so the usual install is no install: point your MCP client at npx, and the first start fetches the package.
There is also a VS Code extension, vscode-extension/, which registers the server with VS Code's MCP host and exposes the environment variables below as settings. It carries the server and its dependencies inside the VSIX, so it needs no npm and no network on first start. Build it with cd vscode-extension && npm install && npm run package; install the resulting .vsix with code --install-extension copilot-studio-mcp- .vsix.
VS Code, from a terminal or by hand in .vscode/mcp.json (workspace) or the user-level mcp.json:
code --add-mcp '{"name":"copilot-studio","command":"npx","args":["-y","copilot-studio-mcp"]}'
{
"servers": { "copilot-studio": { "type": "stdio", "command": "npx", "args": ["-y", "copilot-studio-mcp"], "env": { "CPS_WORKSPACE": "${workspaceFolder}" } } } }
Claude Code (user scope):
claude mcp add-json copilot-studio '{"type":"stdio","command":"npx","args":["-y","copilot-studio-mcp"]}' --scope user
Mistral Vibe, in ~/.vibe/config.toml (or $VIBE_HOME/config.toml; a ./.vibe/config.toml in the working folder takes precedence). Vibe gives a server 10 seconds to start by default, which a first npx fetch on a corporate network can exceed, so install globally and run the entry point with node (find the folder with npm root -g). On Windows, keep paths in single quotes: TOML reads backslashes inside double quotes as escapes, and "C:\Users\..." is not valid TOML.
[[mcp_servers]]
name = "copilot-studio" transport = "stdio" command = "node" args = ['C:\Users\ \AppData\Roaming\npm\node_modules\copilot-studio-mcp\dist\index.js'] startup_timeout_sec = 60 # default 10 tool_timeout_sec = 300 # default 60; solution exports and evaluation runs take longer
npm install -g copilot-studio-mcp with "command": "copilot-studio-mcp" avoids the npx start-up cost. The server is published to the MCP Registry as io.github.jgt87/copilot-studio-mcp, which is what VS Code's MCP gallery (Extensions view, search @mcp) draws from through the GitHub MCP Registry. To run from a clone instead, see Development.
Environment variables are optional and listed under Configuration.
status: pending with the URL so you can open it yourself, and the next cloud call (or cs_login_status) picks the token up. That is what makes sign-in work from clients that cap tool-call duration or run the server where no browser can be launched. Device code (mode: device_code) is the alternative where the tenant allows it; many block it by Conditional Access policy.getting-started, instructions, knowledge, tools, topics, evaluations, publish-and-test, drift, transcripts, solutions, administration, troubleshooting. Each names the tool per step, the portal steps that cannot be automated, and the next steps for your workspace. Six MCP prompts (new agent, add knowledge, add tool, write instructions, review and push, check drift) wrap the same walkthroughs in clients that show prompts as commands.The server never changes a live Copilot Studio environment on its own. Every tool that can (cs_push, cs_publish, cs_run_evaluation, cs_import_solution, cs_deploy_solution, cs_create_agent with an environment, the delete tools, the flow and admin tools that write, and the environment-changing pac wrappers) returns a dry run describing what it would do, and does nothing else, until it is called again with confirm: true. The calling agent is instructed, in the MCP handshake, to show that dry run and pass confirm only after you agree; one approval covers one call.
Changing the agent on disk asks the same way, for the same reason: an edit you did not intend is cheap to make and expensive to notice. cs_add_topic, cs_add_knowledge_source, cs_add_tool, cs_add_flow, cs_add_trigger, cs_add_variable, cs_edit_topic, cs_edit_tool, cs_edit_knowledge, cs_update_settings, cs_update_agent and cs_generate_instructions write nothing on the first call. They return the change instead - a file that would be created shown in full, a file that would be edited shown as a diff against what is there now - and write it when the same call is repeated with confirm: true. Reviewing, validating and describing read only, and ask nothing.
The prose fields get their own accounting, because they are the change a diff alone does not settle: the preview carries the character count and how much of the product's limit is left, and an edit that would exceed it is refused outright rather than failing at push time. The limits are not the same - instructions holds 8000 characters, and the Settings > Responses > "Response formatting" box (responseInstructions) only 500.
For a hard lock, set CPS_READ_ONLY=1 in the server's environment: the environment-changing tools are then not registered at all, so no confirmation can
ตัดมาแค่ช่วงต้น อ่านต่อใน repo