Commit c2ca019
Matt Townsend
feat(power-automate): v3.0.0 — MCP SDK v2, stateless protocol, zod 4
Major update: migrates from @modelcontextprotocol/sdk@1.30.0 to
@modelcontextprotocol/server@2.0.0 (2026-07-28 stateless MCP spec).
Breaking: requires Node.js >=20 (v2 SDK requirement).
Changes:
- MCP SDK v2 with stateless protocol support
- zod 4 schemas (v4-native, accepted by v2 registerTool)
- createRequire banner for CJS interop in ESM bundle
- All prior fixes preserved (PPAPI DNS fallback, Button trigger fix)
Verified: 56 tools, 116 core tests pass, bundle starts cleanly.
Engine source: https://github.com/matow_microsoft/flow-agent/tree/feat/stateless-mcp1 parent 5381612 commit c2ca019
3 files changed
Lines changed: 33539 additions & 25699 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments