@microsoft/powerbi-modeling-mcp 0.5.0-beta.3 → 0.5.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/index.js +12 -4
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
The Power BI Modeling MCP Server is a multiplatform application that updates automatically in internal flows. Updates will be released periodically.
|
|
4
4
|
|
|
5
|
+
## [0.5.0-beta.5] - 2026-05-01 - Pre-release
|
|
6
|
+
|
|
7
|
+
### Other Changes
|
|
8
|
+
|
|
9
|
+
- Chore(release) port release fixes to main for future releases
|
|
10
|
+
|
|
11
|
+
## [0.5.0-beta.4] - 2026-04-22 - Pre-release
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
- Add optional HTTP transport support
|
|
16
|
+
- Add remote MCP server mode to eval tests
|
|
17
|
+
- Add --http flag to auto-spawn MCP HTTP server in eval tests
|
|
18
|
+
- Add per-session connection isolation in HTTP mode
|
|
19
|
+
|
|
20
|
+
### Fixes
|
|
21
|
+
|
|
22
|
+
- Fix MCP HTTP route mapping to /mcp
|
|
23
|
+
- Update user hierarchy list operation to not require a filter. Fixing an inconsistency across tools that confused some agents
|
|
24
|
+
|
|
25
|
+
### Other Changes
|
|
26
|
+
|
|
27
|
+
- Add security warning about no MCP-level auth in HTTP mode
|
|
28
|
+
- Remove methods from IConnectionOperationsService interface
|
|
29
|
+
|
|
5
30
|
## [0.5.0-beta.3] - 2026-04-02 - Pre-release
|
|
6
31
|
|
|
7
32
|
### Features
|
package/index.js
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
// -----------------------------------------------------------------------
|
|
7
7
|
|
|
8
8
|
const os = require('os')
|
|
9
|
+
const { execFileSync } = require('child_process')
|
|
9
10
|
const packageJson = require('./package.json')
|
|
10
11
|
const { get } = require('http')
|
|
11
12
|
|
|
@@ -63,7 +64,16 @@ process.argv.forEach((val, index) => {
|
|
|
63
64
|
const platform = os.platform()
|
|
64
65
|
const arch = os.arch()
|
|
65
66
|
|
|
67
|
+
const SEMVER_RE = /^\d+\.\d+\.\d+(-[a-zA-Z0-9]+(\.[a-zA-Z0-9]+)*)?(\+[a-zA-Z0-9]+(\.[a-zA-Z0-9]+)*)?$/
|
|
68
|
+
const DIST_TAG_RE = /^[a-zA-Z][a-zA-Z0-9._-]*$/
|
|
69
|
+
|
|
66
70
|
const version = getArgument('--use-version') || packageJson.version || 'latest'
|
|
71
|
+
|
|
72
|
+
if (!SEMVER_RE.test(version) && !DIST_TAG_RE.test(version)) {
|
|
73
|
+
console.error(`Invalid version string: ${version}`)
|
|
74
|
+
console.error('Version must be a valid semver version (e.g., 1.0.0, 1.0.0-beta.1) or a dist tag (e.g., latest)')
|
|
75
|
+
process.exit(1)
|
|
76
|
+
}
|
|
67
77
|
const platformPackageName = `${packageName}-${platform}-${arch}`
|
|
68
78
|
|
|
69
79
|
console.log(`Detected platform: ${platform}, architecture: ${arch}`)
|
|
@@ -79,13 +89,11 @@ try {
|
|
|
79
89
|
|
|
80
90
|
// Try to automatically install the missing platform package
|
|
81
91
|
try {
|
|
82
|
-
const { execSync } = require('child_process')
|
|
83
|
-
|
|
84
92
|
console.error(`Installing missing platform package: ${platformPackageName}`)
|
|
85
93
|
|
|
86
94
|
// Try to install the platform package
|
|
87
95
|
try {
|
|
88
|
-
|
|
96
|
+
execFileSync('npm', ['install', `${platformPackageName}@${version}`], {
|
|
89
97
|
stdio: ['inherit', 'inherit', 'pipe'], // Only pipe stderr to capture errors
|
|
90
98
|
timeout: 60000 // 60 second timeout
|
|
91
99
|
})
|
|
@@ -94,7 +102,7 @@ try {
|
|
|
94
102
|
debugLog(`npm install failed, trying alternative installation methods: ${npmErr.message}`)
|
|
95
103
|
|
|
96
104
|
// Try with --no-save and --prefer-online
|
|
97
|
-
|
|
105
|
+
execFileSync('npm', ['install', `${platformPackageName}@${version}`, '--no-save', '--prefer-online'], {
|
|
98
106
|
stdio: ['inherit', 'inherit', 'pipe'],
|
|
99
107
|
timeout: 60000
|
|
100
108
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/powerbi-modeling-mcp",
|
|
3
|
-
"version": "0.5.0-beta.
|
|
3
|
+
"version": "0.5.0-beta.5",
|
|
4
4
|
"description": "Power BI Modeling MCP Server - Node.js client package for installing and running the Power BI Modeling MCP server",
|
|
5
5
|
"author": "Microsoft",
|
|
6
6
|
"homepage": "https://github.com/microsoft/powerbi-modeling-mcp#readme",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"arm64"
|
|
39
39
|
],
|
|
40
40
|
"optionalDependencies": {
|
|
41
|
-
"@microsoft/powerbi-modeling-mcp-win32-
|
|
42
|
-
"@microsoft/powerbi-modeling-mcp-darwin-arm64": "0.5.0-beta.
|
|
43
|
-
"@microsoft/powerbi-modeling-mcp-linux-arm64": "0.5.0-beta.
|
|
44
|
-
"@microsoft/powerbi-modeling-mcp-
|
|
45
|
-
"@microsoft/powerbi-modeling-mcp-
|
|
41
|
+
"@microsoft/powerbi-modeling-mcp-win32-arm64": "0.5.0-beta.5",
|
|
42
|
+
"@microsoft/powerbi-modeling-mcp-darwin-arm64": "0.5.0-beta.5",
|
|
43
|
+
"@microsoft/powerbi-modeling-mcp-linux-arm64": "0.5.0-beta.5",
|
|
44
|
+
"@microsoft/powerbi-modeling-mcp-linux-x64": "0.5.0-beta.5",
|
|
45
|
+
"@microsoft/powerbi-modeling-mcp-win32-x64": "0.5.0-beta.5"
|
|
46
46
|
},
|
|
47
47
|
"mcpName": "powerbi-modeling-mcp"
|
|
48
48
|
}
|