MCP, MCP server
Powerbi Mcp
An enterprise-grade Model Context Protocol server for Power BI and Microsoft Fabric.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 977b4d126fed, unchanged since the check below.
INSTALL_UNPINNED NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV PERMISSION_SHELL_DECLARED SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- INSTALL_UNPINNED Low
Dependencies use a range or git URL with no lockfile.
requirements.txt, line 8
mcp>=1.9.0 - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/powerbi_rest_connector.py, line 69
response = requests.get(url, headers=self._get_headers(), timeout=30) - SECRETS_PATH_DOTENV Low
Mentions a .env file.
README.md, line 248
copy .env.example .env - PERMISSION_SHELL_DECLARED Note
Runs shell commands, and the manifest or description says so.
run_tests.py, line 23
result = subprocess.run([sys.executable, str(t)], capture_output=True, text=True) - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/security/audit_logger.py, line 113
key = os.getenv("POWERBI_MCP_AUDIT_KEY") - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
src/server.py, line 1
"""
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
run_tests.py, line 23
result = subprocess.run([sys.executable, str(t)], capture_output=True, text=True)
Install and update
Concern
dependencies are not pinned.
INSTALL_UNPINNED
requirements.txt, line 8
mcp>=1.9.0
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
src/powerbi_rest_connector.py, line 69
response = requests.get(url, headers=self._get_headers(), timeout=30)
src/powerbi_rest_connector.py, line 99
response = requests.get(url, headers=self._get_headers(), timeout=30)
src/powerbi_rest_connector.py, line 145
response = requests.get(url, headers=self._get_headers(), timeout=30)
Show more
src/powerbi_rest_connector.py, line 154
response = requests.get(url, headers=self._get_headers(), timeout=30)
src/powerbi_rest_connector.py, line 171
response = requests.post(url, headers=self._get_headers(), json=payload, timeout=30)
src/powerbi_rest_connector.py, line 193
response = requests.get(url, headers=self._get_headers(), timeout=30)
src/powerbi_rest_connector.py, line 207
response = requests.post(url, headers=self._get_headers(),
src/powerbi_rest_connector.py, line 219
response = requests.get(url, headers=self._get_headers(), timeout=30)
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
src/security/audit_logger.py, line 113
key = os.getenv("POWERBI_MCP_AUDIT_KEY")
.dockerignore, line 11
*.pbit
README.md, line 248
copy .env.example .env
Show more
.gitignore, line 29
# Environment variables
.gitignore, line 31
*.env
.gitignore, line 32
!.env.example
README.md, line 249
# edit .env with your Azure AD service principal
src/server.py, line 2316
return "Error: Cloud credentials not configured. Set TENANT_ID, CLIENT_ID, CLIENT_SECRET in .env"
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
src/server.py, line 1
"""
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 977b4d126fed. requests shell access. The manifest names this permission. dependencies are not pinned. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 977b4d126fed9dee7b8d6dade6d45dc5ac7064fb
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.