pggm-mcp-snowflake-server 1.0.2__py3-none-any.whl → 1.0.4__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.
- pggm_mcp_snowflake_server/__init__.py +3 -3
- pggm_mcp_snowflake_server/server.py +2 -2
- {pggm_mcp_snowflake_server-1.0.2.dist-info → pggm_mcp_snowflake_server-1.0.4.dist-info}/METADATA +8 -8
- pggm_mcp_snowflake_server-1.0.4.dist-info/RECORD +8 -0
- pggm_mcp_snowflake_server-1.0.2.dist-info/RECORD +0 -8
- {pggm_mcp_snowflake_server-1.0.2.dist-info → pggm_mcp_snowflake_server-1.0.4.dist-info}/WHEEL +0 -0
- {pggm_mcp_snowflake_server-1.0.2.dist-info → pggm_mcp_snowflake_server-1.0.4.dist-info}/entry_points.txt +0 -0
- {pggm_mcp_snowflake_server-1.0.2.dist-info → pggm_mcp_snowflake_server-1.0.4.dist-info}/top_level.txt +0 -0
@@ -88,10 +88,10 @@ def main():
|
|
88
88
|
|
89
89
|
assert (
|
90
90
|
"database" in connection_args
|
91
|
-
), 'You must provide the
|
91
|
+
), 'You must provide the database name as "--database" argument or "SNOWFLAKE_DATABASE" environment variable.'
|
92
92
|
assert (
|
93
93
|
"schema" in connection_args
|
94
|
-
), 'You must provide the
|
94
|
+
), 'You must provide the schema name as "--schema" argument or "SNOWFLAKE_SCHEMA" environment variable.'
|
95
95
|
|
96
96
|
asyncio.run(
|
97
97
|
server.main(
|
@@ -108,4 +108,4 @@ def main():
|
|
108
108
|
__all__ = ["main", "server", "write_detector"]
|
109
109
|
|
110
110
|
if __name__ == "__main__":
|
111
|
-
main()
|
111
|
+
main()
|
@@ -595,7 +595,7 @@ async def main(
|
|
595
595
|
@server.list_tools()
|
596
596
|
async def handle_list_tools() -> list[types.Tool]:
|
597
597
|
logger.info("Listing tools")
|
598
|
-
logger.
|
598
|
+
logger.info(f"Allowed tools: {allowed_tools}")
|
599
599
|
tools = [
|
600
600
|
types.Tool(
|
601
601
|
name=tool.name,
|
@@ -619,4 +619,4 @@ async def main(
|
|
619
619
|
experimental_capabilities={},
|
620
620
|
),
|
621
621
|
),
|
622
|
-
)
|
622
|
+
)
|
{pggm_mcp_snowflake_server-1.0.2.dist-info → pggm_mcp_snowflake_server-1.0.4.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pggm-mcp-snowflake-server
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.4
|
4
4
|
Summary: Custom Model Context Protocol server for Snowflake
|
5
5
|
Classifier: Programming Language :: Python :: 3
|
6
6
|
Classifier: License :: OSI Approved :: MIT License
|
@@ -30,18 +30,18 @@ A customized Model Context Protocol (MCP) server for Snowflake integration, allo
|
|
30
30
|
|
31
31
|
### Using pip
|
32
32
|
|
33
|
-
Option 1: Install
|
34
|
-
Install this
|
33
|
+
Option 1: Install
|
34
|
+
Install this in your user site-packages so that it works with all your projects, run a powershell window and:
|
35
35
|
|
36
36
|
```bash
|
37
|
-
C:\Users\User> pip install pggm-mcp-snowflake-server
|
37
|
+
C:\Users\User> pip install --user pggm-mcp-snowflake-server
|
38
38
|
```
|
39
|
-
This will install the package in: C:\Python311\
|
40
|
-
with the .exe in your C:\Python311\Scripts
|
39
|
+
This will install the package in: C:\Users\USER\AppData\Roaming\Python\Python311\site-packages
|
40
|
+
with the .exe in your C:\Users\USER\AppData\Roaming\Python\Python311\Scripts
|
41
41
|
You might have to add this to your PATH:
|
42
42
|
1) windows search: Edit the System Environment Variables
|
43
43
|
2) Navigate: advanced / Environment Variables / select: PATH / Edit..
|
44
|
-
3) New: C:\Python311
|
44
|
+
3) New: C:\Users\USER\AppData\Roaming\Python\Python311
|
45
45
|
|
46
46
|
Option 2: Install in your project venv
|
47
47
|
|
@@ -63,7 +63,7 @@ Add the following to your settings.json in vs-code (F1 + Preferences: Open User
|
|
63
63
|
"inputs": [],
|
64
64
|
"servers": {
|
65
65
|
"snowflake_local": {
|
66
|
-
"command": "C:\\Python311\\Scripts\\pggm_mcp_snowflake_server.exe",
|
66
|
+
"command": "C:\\Users\\SNST\\AppData\\Roaming\\Python\\Python311\\Scripts\\pggm_mcp_snowflake_server.exe",
|
67
67
|
# In case you chose to install in your venv, replace above with the following:
|
68
68
|
# "command": "{project_source}\\venv\\Scripts\\pggm_mcp_snowflake_server.exe",
|
69
69
|
"args": [
|
@@ -0,0 +1,8 @@
|
|
1
|
+
pggm_mcp_snowflake_server/__init__.py,sha256=nqeuSZqBVGj73iJTmF9lPXX1fHcciR8qFb_xV3_svAU,3304
|
2
|
+
pggm_mcp_snowflake_server/server.py,sha256=BfUQJkrjqsgQ4tqJDepX92WgbnqQ0DbulyPsvkdF9lU,21959
|
3
|
+
pggm_mcp_snowflake_server/write_detector.py,sha256=qLFxghERiZT7-DRT8sGPAqrACTgO61QE29QXtH4CN2w,3635
|
4
|
+
pggm_mcp_snowflake_server-1.0.4.dist-info/METADATA,sha256=KvyavOu15UvAnmk6Iow-xSEIr_uJrQfHq7zukxEBtYI,4266
|
5
|
+
pggm_mcp_snowflake_server-1.0.4.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
6
|
+
pggm_mcp_snowflake_server-1.0.4.dist-info/entry_points.txt,sha256=YEZPlm-G0tFK9kVDEDDpV1pSXDRfnkIXFNYxODEWkKs,77
|
7
|
+
pggm_mcp_snowflake_server-1.0.4.dist-info/top_level.txt,sha256=ouamdLwMWx5aSlAHI_mhoPvm9PEBtovD3qbDvR7x284,26
|
8
|
+
pggm_mcp_snowflake_server-1.0.4.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
pggm_mcp_snowflake_server/__init__.py,sha256=fBi0ejuNSFNA_q0h1Jo6zMlsS0R1_xOW8sne9BygAHQ,3304
|
2
|
-
pggm_mcp_snowflake_server/server.py,sha256=1u7IkErEQGl8FZGhuEaTPelg5uSvzfjPiytD9NhymoU,21958
|
3
|
-
pggm_mcp_snowflake_server/write_detector.py,sha256=qLFxghERiZT7-DRT8sGPAqrACTgO61QE29QXtH4CN2w,3635
|
4
|
-
pggm_mcp_snowflake_server-1.0.2.dist-info/METADATA,sha256=ygq7aI6pLNHVOCLX1vuF_4Ui6FIwCG7BWtMNwh7DjQQ,4134
|
5
|
-
pggm_mcp_snowflake_server-1.0.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
6
|
-
pggm_mcp_snowflake_server-1.0.2.dist-info/entry_points.txt,sha256=YEZPlm-G0tFK9kVDEDDpV1pSXDRfnkIXFNYxODEWkKs,77
|
7
|
-
pggm_mcp_snowflake_server-1.0.2.dist-info/top_level.txt,sha256=ouamdLwMWx5aSlAHI_mhoPvm9PEBtovD3qbDvR7x284,26
|
8
|
-
pggm_mcp_snowflake_server-1.0.2.dist-info/RECORD,,
|
{pggm_mcp_snowflake_server-1.0.2.dist-info → pggm_mcp_snowflake_server-1.0.4.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|