pggm-mcp-snowflake-server 0.1.1__py3-none-any.whl → 0.1.3__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-0.1.1.dist-info → pggm_mcp_snowflake_server-0.1.3.dist-info}/METADATA +41 -15
- pggm_mcp_snowflake_server-0.1.3.dist-info/RECORD +8 -0
- pggm_mcp_snowflake_server-0.1.3.dist-info/entry_points.txt +2 -0
- pggm_mcp_snowflake_server-0.1.1.dist-info/RECORD +0 -8
- pggm_mcp_snowflake_server-0.1.1.dist-info/entry_points.txt +0 -2
- {pggm_mcp_snowflake_server-0.1.1.dist-info → pggm_mcp_snowflake_server-0.1.3.dist-info}/WHEEL +0 -0
- {pggm_mcp_snowflake_server-0.1.1.dist-info → pggm_mcp_snowflake_server-0.1.3.dist-info}/top_level.txt +0 -0
{pggm_mcp_snowflake_server-0.1.1.dist-info → pggm_mcp_snowflake_server-0.1.3.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pggm-mcp-snowflake-server
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.3
|
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
|
@@ -29,14 +29,53 @@ A customized Model Context Protocol (MCP) server for Snowflake integration, allo
|
|
29
29
|
|
30
30
|
### Using pip
|
31
31
|
|
32
|
+
Install in your venv with:
|
33
|
+
|
32
34
|
```bash
|
33
35
|
pip install pggm-mcp-snowflake-server
|
34
36
|
```
|
35
37
|
|
38
|
+
### Inside VS-Code
|
39
|
+
|
40
|
+
Add the following to your settings.json in vs-code (F1 + Preferences: Open User Settings(JSON))
|
41
|
+
|
42
|
+
```bash
|
43
|
+
"workbench.settings.applyToAllProfiles": [
|
44
|
+
"chat.agent.enabled"
|
45
|
+
],
|
46
|
+
"github.copilot.chat.agent.thinkingTool": true,
|
47
|
+
"mcp": {
|
48
|
+
|
49
|
+
"inputs": [],
|
50
|
+
"servers": {
|
51
|
+
"snowflake_local": {
|
52
|
+
"command": "{project_source}\\venv\\Scripts\\pggm_mcp_snowflake_server.exe",
|
53
|
+
"args": [
|
54
|
+
"--account",
|
55
|
+
"pggm-vb.privatelink",
|
56
|
+
"--warehouse",
|
57
|
+
"{warehouse}",
|
58
|
+
"--authenticator",
|
59
|
+
"externalbrowser",
|
60
|
+
"--user",
|
61
|
+
"{user_email}",
|
62
|
+
"--role",
|
63
|
+
"PUBLIC",
|
64
|
+
"--database",
|
65
|
+
"SNOWFLAKE",
|
66
|
+
"--schema",
|
67
|
+
"INFORMATION_SCHEMA",
|
68
|
+
# Optionally: "--allow_write"
|
69
|
+
]
|
70
|
+
}
|
71
|
+
}
|
72
|
+
},
|
73
|
+
|
74
|
+
```
|
36
75
|
|
37
76
|
### Tools Available to AI Assistants
|
38
77
|
|
39
|
-
The
|
78
|
+
The mcp_server provides the following tools for AI assistants:
|
40
79
|
|
41
80
|
- `list_databases` - List all available databases in Snowflake
|
42
81
|
- `list_schemas` - List all schemas in a database
|
@@ -52,16 +91,3 @@ The server provides the following tools for AI assistants:
|
|
52
91
|
By default, the server runs in read-only mode. To enable write operations, you must explicitly pass the `--allow_write` flag.
|
53
92
|
|
54
93
|
The server uses SQL parsing to detect and prevent write operations in `read_query` calls, ensuring only approved write operations can be executed.
|
55
|
-
|
56
|
-
## Development
|
57
|
-
|
58
|
-
### Setup Development Environment
|
59
|
-
|
60
|
-
```bash
|
61
|
-
git clone https://github.com/yourusername/pggm-mcp-snowflake-server.git
|
62
|
-
cd pggm-mcp-snowflake-server
|
63
|
-
uv venv
|
64
|
-
source .venv/bin/activate # On Windows: .venv\Scripts\activate
|
65
|
-
uv pip install -e ".[dev]"
|
66
|
-
```
|
67
|
-
|
@@ -0,0 +1,8 @@
|
|
1
|
+
pggm_mcp_snowflake_server/__init__.py,sha256=fBi0ejuNSFNA_q0h1Jo6zMlsS0R1_xOW8sne9BygAHQ,3304
|
2
|
+
pggm_mcp_snowflake_server/server.py,sha256=hfINhJuS2s44obtKWvxfLek6Y5P6GmBLUgkhnr3DuD0,21959
|
3
|
+
pggm_mcp_snowflake_server/write_detector.py,sha256=qLFxghERiZT7-DRT8sGPAqrACTgO61QE29QXtH4CN2w,3635
|
4
|
+
pggm_mcp_snowflake_server-0.1.3.dist-info/METADATA,sha256=4kGARnQxSciQQl4pfpaSOqaa7oehBvUXZS-o5bbvidg,3190
|
5
|
+
pggm_mcp_snowflake_server-0.1.3.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
6
|
+
pggm_mcp_snowflake_server-0.1.3.dist-info/entry_points.txt,sha256=YEZPlm-G0tFK9kVDEDDpV1pSXDRfnkIXFNYxODEWkKs,77
|
7
|
+
pggm_mcp_snowflake_server-0.1.3.dist-info/top_level.txt,sha256=ouamdLwMWx5aSlAHI_mhoPvm9PEBtovD3qbDvR7x284,26
|
8
|
+
pggm_mcp_snowflake_server-0.1.3.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=hfINhJuS2s44obtKWvxfLek6Y5P6GmBLUgkhnr3DuD0,21959
|
3
|
-
pggm_mcp_snowflake_server/write_detector.py,sha256=qLFxghERiZT7-DRT8sGPAqrACTgO61QE29QXtH4CN2w,3635
|
4
|
-
pggm_mcp_snowflake_server-0.1.1.dist-info/METADATA,sha256=Okb1U8raBISqfDIvOydkYhL2KJ8cf_Z4Fwc97lHRjHM,2328
|
5
|
-
pggm_mcp_snowflake_server-0.1.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
6
|
-
pggm_mcp_snowflake_server-0.1.1.dist-info/entry_points.txt,sha256=kbUmsaZT0hYi6naFrGUO-mIKlwqHi_HKO6HNQKdTJE4,84
|
7
|
-
pggm_mcp_snowflake_server-0.1.1.dist-info/top_level.txt,sha256=ouamdLwMWx5aSlAHI_mhoPvm9PEBtovD3qbDvR7x284,26
|
8
|
-
pggm_mcp_snowflake_server-0.1.1.dist-info/RECORD,,
|
{pggm_mcp_snowflake_server-0.1.1.dist-info → pggm_mcp_snowflake_server-0.1.3.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|