powerbi-mcp 0.1.0__py3-none-any.whl → 0.1.1__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.
@@ -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.1"
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"]
@@ -0,0 +1,12 @@
1
+ """
2
+ Entry point for running powerbi-mcp as a module.
3
+
4
+ This allows the package to be run with:
5
+ - python -m powerbi_mcp
6
+ - uvx powerbi-mcp
7
+ """
8
+
9
+ from powerbi_mcp import main
10
+
11
+ if __name__ == "__main__":
12
+ main()
@@ -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.0
3
+ Version: 0.1.1
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
@@ -0,0 +1,19 @@
1
+ powerbi_mcp/__init__.py,sha256=kQ_-PMIIM-8DPRFFzmJX8IMup5sTNrbS2Ey9v8WgfqQ,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.1.dist-info/METADATA,sha256=SkdmxXWG1sL1oYC415I_NUZUC6g_G88fczsp2N33PIU,16397
16
+ powerbi_mcp-0.1.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
17
+ powerbi_mcp-0.1.1.dist-info/entry_points.txt,sha256=1omCkHdhJOowAxB2j9x1uEc8V2XoTC2mSC5X3VT4AOg,79
18
+ powerbi_mcp-0.1.1.dist-info/licenses/LICENSE,sha256=5Pz2wuZa8pAiI4JjSlZaWU9HFycvgBDcuOh3OpjSpOY,1074
19
+ powerbi_mcp-0.1.1.dist-info/RECORD,,
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ powerbi-mcp = powerbi_mcp:main
3
+ run-server = powerbi_mcp:main
@@ -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,,
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- run-server = src.server:main
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"]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes