powerbi-mcp 0.1.0__py3-none-any.whl → 0.1.2__py3-none-any.whl
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.
- powerbi_mcp/__init__.py +25 -0
- powerbi_mcp/__main__.py +12 -0
- {src → powerbi_mcp}/server.py +0 -12
- {powerbi_mcp-0.1.0.dist-info → powerbi_mcp-0.1.2.dist-info}/METADATA +3 -1
- powerbi_mcp-0.1.2.dist-info/RECORD +19 -0
- powerbi_mcp-0.1.2.dist-info/entry_points.txt +3 -0
- powerbi_mcp-0.1.0.dist-info/RECORD +0 -18
- powerbi_mcp-0.1.0.dist-info/entry_points.txt +0 -2
- src/__init__.py +0 -13
- {src → powerbi_mcp}/auth.py +0 -0
- {src → powerbi_mcp}/client.py +0 -0
- {src → powerbi_mcp}/constants.py +0 -0
- {src → powerbi_mcp}/exceptions.py +0 -0
- {src → powerbi_mcp}/formatters.py +0 -0
- {src → powerbi_mcp}/models.py +0 -0
- {src → powerbi_mcp}/tools/__init__.py +0 -0
- {src → powerbi_mcp}/tools/datasets.py +0 -0
- {src → powerbi_mcp}/tools/queries.py +0 -0
- {src → powerbi_mcp}/tools/workspaces.py +0 -0
- {src → powerbi_mcp}/validation.py +0 -0
- {powerbi_mcp-0.1.0.dist-info → powerbi_mcp-0.1.2.dist-info}/WHEEL +0 -0
- {powerbi_mcp-0.1.0.dist-info → powerbi_mcp-0.1.2.dist-info}/licenses/LICENSE +0 -0
powerbi_mcp/__init__.py
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"""
|
|
2
|
+
PowerBI MCP Server
|
|
3
|
+
|
|
4
|
+
A Model Context Protocol server for interacting with PowerBI REST API.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
__version__ = "0.1.2"
|
|
8
|
+
__author__ = "Gurvinder Dhillon"
|
|
9
|
+
__description__ = "MCP server for PowerBI REST API interactions & run DAX queries."
|
|
10
|
+
|
|
11
|
+
from .server import mcp
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def main():
|
|
15
|
+
"""Main entry point for the PowerBI MCP server"""
|
|
16
|
+
import os
|
|
17
|
+
import logging
|
|
18
|
+
|
|
19
|
+
logger = logging.getLogger(__name__)
|
|
20
|
+
transport = os.getenv("MCP_TRANSPORT", "stdio")
|
|
21
|
+
logger.info(f"Starting PowerBI MCP Server via transport: {transport}")
|
|
22
|
+
mcp.run(transport=transport)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
__all__ = ["mcp", "main"]
|
powerbi_mcp/__main__.py
ADDED
{src → powerbi_mcp}/server.py
RENAMED
|
@@ -76,15 +76,3 @@ register_workspace_tools(mcp)
|
|
|
76
76
|
register_dataset_tools(mcp)
|
|
77
77
|
register_query_tools(mcp)
|
|
78
78
|
logger.info("All tools registered")
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
def main():
|
|
82
|
-
"""Main entry point for the PowerBI MCP server"""
|
|
83
|
-
import os
|
|
84
|
-
transport = os.getenv("MCP_TRANSPORT", "stdio")
|
|
85
|
-
logger.info(f"Starting PowerBI MCP Server via transport: {transport}")
|
|
86
|
-
mcp.run(transport=transport)
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
if __name__ == "__main__":
|
|
90
|
-
main()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: powerbi-mcp
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Model Context Protocol server for PowerBI REST API integration
|
|
5
5
|
Project-URL: Homepage, https://github.com/gurvinder-dhillon/powerbi-mcp
|
|
6
6
|
Project-URL: Documentation, https://github.com/gurvinder-dhillon/powerbi-mcp#readme
|
|
@@ -31,6 +31,8 @@ Description-Content-Type: text/markdown
|
|
|
31
31
|
[](https://pypi.org/project/powerbi-mcp/)
|
|
32
32
|
[](https://opensource.org/licenses/MIT)
|
|
33
33
|
|
|
34
|
+
<!-- mcp-name: io.github.gurvinder-dhillon/powerbi-mcp -->
|
|
35
|
+
|
|
34
36
|
A Model Context Protocol (MCP) server that provides tools for interacting with PowerBI REST APIs. This server enables AI assistants like Claude to query PowerBI workspaces, datasets, and execute DAX queries.
|
|
35
37
|
|
|
36
38
|
> [!WARNING]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
powerbi_mcp/__init__.py,sha256=H9My1INIhCytV1li-WmeGFNDktKF-qcCrsziiRLwrHM,595
|
|
2
|
+
powerbi_mcp/__main__.py,sha256=PtJfIOI1f8aJY9-9F72tOpz-Zgt2TmOFmhDOpjROl50,209
|
|
3
|
+
powerbi_mcp/auth.py,sha256=s95zUp1jQuhLIboif04pr7mYj0yc1HXsr0w5ohtgUzM,5189
|
|
4
|
+
powerbi_mcp/client.py,sha256=LIjN9HLkLBTRkAiUgZG1m7oHJatTOxq9Yzcp6raGvlA,8454
|
|
5
|
+
powerbi_mcp/constants.py,sha256=4AR_jHXIA-VDU7YS9seLhXJUFO76gGWMYHAK4-CgRjs,642
|
|
6
|
+
powerbi_mcp/exceptions.py,sha256=PsFYsc0yYOc-hyMFqy4XzzEsxfRy7xKWoAv2VN-bFqI,3251
|
|
7
|
+
powerbi_mcp/formatters.py,sha256=azdquj54MXtb8JqsU7VTb_N0RhZNBw6KOGrQp7AdDZ0,11579
|
|
8
|
+
powerbi_mcp/models.py,sha256=xGI0SR8rn-vERCTgDXrmDJDDFZooU-rPsKOD1BpGUEs,3153
|
|
9
|
+
powerbi_mcp/server.py,sha256=5gQoXXmf-7XkyPF_w2aZWY_AmJO6s7myUcXJt2lCaqA,2028
|
|
10
|
+
powerbi_mcp/validation.py,sha256=xPkSJRUXIcWJkjAuEwbyTH5g0mNllldX_j5oEy_Twpc,1077
|
|
11
|
+
powerbi_mcp/tools/__init__.py,sha256=LgJrvd39cfZKSniIzikaZ2lWBdRGN6fxXLwy0mGUfEw,314
|
|
12
|
+
powerbi_mcp/tools/datasets.py,sha256=StzZVYJ2lKcOMpjxHp3gSWId8Nr0_WXzcwEpsbvXw6s,13325
|
|
13
|
+
powerbi_mcp/tools/queries.py,sha256=pcIpMiWsKWOI-hlxRNO4I22PKCgAxnRYQcEwmQR34mE,4631
|
|
14
|
+
powerbi_mcp/tools/workspaces.py,sha256=kwdyFZoJ0Z9Uin2ZlIcRNzPIWYIBc5V0DkqQxTSh5og,6930
|
|
15
|
+
powerbi_mcp-0.1.2.dist-info/METADATA,sha256=xmKSZ29QV0g11pAqwVPob3SVaIVQOBmsXsRpuS3PIxY,16457
|
|
16
|
+
powerbi_mcp-0.1.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
17
|
+
powerbi_mcp-0.1.2.dist-info/entry_points.txt,sha256=1omCkHdhJOowAxB2j9x1uEc8V2XoTC2mSC5X3VT4AOg,79
|
|
18
|
+
powerbi_mcp-0.1.2.dist-info/licenses/LICENSE,sha256=5Pz2wuZa8pAiI4JjSlZaWU9HFycvgBDcuOh3OpjSpOY,1074
|
|
19
|
+
powerbi_mcp-0.1.2.dist-info/RECORD,,
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
src/__init__.py,sha256=no4tpy-S1K5M_xvHAr2n1tfztf5sCPswk4vyFKNcKJo,270
|
|
2
|
-
src/auth.py,sha256=s95zUp1jQuhLIboif04pr7mYj0yc1HXsr0w5ohtgUzM,5189
|
|
3
|
-
src/client.py,sha256=LIjN9HLkLBTRkAiUgZG1m7oHJatTOxq9Yzcp6raGvlA,8454
|
|
4
|
-
src/constants.py,sha256=4AR_jHXIA-VDU7YS9seLhXJUFO76gGWMYHAK4-CgRjs,642
|
|
5
|
-
src/exceptions.py,sha256=PsFYsc0yYOc-hyMFqy4XzzEsxfRy7xKWoAv2VN-bFqI,3251
|
|
6
|
-
src/formatters.py,sha256=azdquj54MXtb8JqsU7VTb_N0RhZNBw6KOGrQp7AdDZ0,11579
|
|
7
|
-
src/models.py,sha256=xGI0SR8rn-vERCTgDXrmDJDDFZooU-rPsKOD1BpGUEs,3153
|
|
8
|
-
src/server.py,sha256=oe8xUUceRCkyWCZ-izmOSYNpY7ZxJvYOYpOMH-4SzLI,2310
|
|
9
|
-
src/validation.py,sha256=xPkSJRUXIcWJkjAuEwbyTH5g0mNllldX_j5oEy_Twpc,1077
|
|
10
|
-
src/tools/__init__.py,sha256=LgJrvd39cfZKSniIzikaZ2lWBdRGN6fxXLwy0mGUfEw,314
|
|
11
|
-
src/tools/datasets.py,sha256=StzZVYJ2lKcOMpjxHp3gSWId8Nr0_WXzcwEpsbvXw6s,13325
|
|
12
|
-
src/tools/queries.py,sha256=pcIpMiWsKWOI-hlxRNO4I22PKCgAxnRYQcEwmQR34mE,4631
|
|
13
|
-
src/tools/workspaces.py,sha256=kwdyFZoJ0Z9Uin2ZlIcRNzPIWYIBc5V0DkqQxTSh5og,6930
|
|
14
|
-
powerbi_mcp-0.1.0.dist-info/METADATA,sha256=Pu1dhmxyv3hjOvXcJDhR9AXWFgQDvbFBhRT-t7hdM8o,16397
|
|
15
|
-
powerbi_mcp-0.1.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
-
powerbi_mcp-0.1.0.dist-info/entry_points.txt,sha256=1JZP7VRLto88RhiWIvOiMJH99HFjlTxjbORHeP30zW8,47
|
|
17
|
-
powerbi_mcp-0.1.0.dist-info/licenses/LICENSE,sha256=5Pz2wuZa8pAiI4JjSlZaWU9HFycvgBDcuOh3OpjSpOY,1074
|
|
18
|
-
powerbi_mcp-0.1.0.dist-info/RECORD,,
|
src/__init__.py
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
PowerBI MCP Server
|
|
3
|
-
|
|
4
|
-
A Model Context Protocol server for interacting with PowerBI REST API.
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
__version__ = "0.1.0"
|
|
8
|
-
__author__ = "PowerBI MCP Contributors"
|
|
9
|
-
__description__ = "MCP server for PowerBI REST API integration"
|
|
10
|
-
|
|
11
|
-
from .server import mcp
|
|
12
|
-
|
|
13
|
-
__all__ = ["mcp"]
|
{src → powerbi_mcp}/auth.py
RENAMED
|
File without changes
|
{src → powerbi_mcp}/client.py
RENAMED
|
File without changes
|
{src → powerbi_mcp}/constants.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{src → powerbi_mcp}/models.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|