langprotect-mcp-gateway 1.3.1__py3-none-any.whl → 1.3.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.
@@ -33,7 +33,7 @@ def validate_credentials(url, email, password):
33
33
  # Prepare the request
34
34
  data = json.dumps({"email": email, "password": password}).encode('utf-8')
35
35
  req = urllib.request.Request(
36
- f"{url}/api/auth/login/",
36
+ f"{url}/v1/group-users/signin",
37
37
  data=data,
38
38
  headers={'Content-Type': 'application/json'}
39
39
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langprotect-mcp-gateway
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: Security gateway for Model Context Protocol (MCP) to protect AI tool interactions
5
5
  Author-email: LangProtect Security Team <security@langprotect.com>
6
6
  License: MIT
@@ -96,26 +96,53 @@ Run our automated setup command to configure VS Code, Cursor, or Claude Desktop
96
96
  langprotect-gateway-setup
97
97
  ```
98
98
 
99
- This will:
100
- - Create a global wrapper script at `~/.local/bin/langprotect-mcp-wrapper.sh`
101
- - ✅ Configure VS Code for global visibility in ALL workspaces
102
- - Enable auto-start for seamless protection
99
+ **What happens:**
100
+ - 🔐 **Prompts for credentials** interactively (password hidden)
101
+ - ✅ **Validates credentials** in real-time against your backend
102
+ - 🔄 **Retries on failure** with helpful error messages
103
+ - 📝 **Creates wrapper script** at `~/.local/bin/langprotect-mcp-wrapper.sh`
104
+ - ⚙️ **Configures VS Code** for global visibility in ALL workspaces
105
+ - 🚀 **Auto-start enabled** for seamless protection
103
106
 
104
- ### 3. Configure Your Credentials
107
+ **Example:**
108
+ ```bash
109
+ $ langprotect-gateway-setup
105
110
 
106
- Edit the generated wrapper script to add your LangProtect email and password:
111
+ 🚀 Setting up LangProtect MCP Gateway...
107
112
 
108
- ```bash
109
- # Linux/macOS
110
- nano ~/.local/bin/langprotect-mcp-wrapper.sh
113
+ ═══════════════════════════════════════════════════════════════
114
+ 🔐 Enter Your LangProtect Credentials
115
+ ═══════════════════════════════════════════════════════════════
116
+
117
+ Backend URL [http://localhost:8000]: http://localhost:8000
118
+ Email: your.email@company.com
119
+ Password: ●●●●●●●●●●
120
+
121
+ Validating credentials...
122
+ ✓ Credentials validated successfully!
111
123
 
112
- # Update these lines:
113
- export LANGPROTECT_URL="https://your-backend.com" # e.g. http://localhost:8000
124
+ 📝 Creating global wrapper script...
125
+ Created: ~/.local/bin/langprotect-mcp-wrapper.sh
126
+
127
+ ⚙️ Configuring VS Code...
128
+ ✅ Updated: ~/.config/Code/User/settings.json
129
+
130
+ ✅ Setup complete!
131
+ ```
132
+
133
+ **Alternative: Pre-set credentials via environment variables**
134
+ ```bash
135
+ export LANGPROTECT_URL="http://localhost:8000"
114
136
  export LANGPROTECT_EMAIL="your.email@company.com"
115
137
  export LANGPROTECT_PASSWORD="your-password"
138
+ langprotect-gateway-setup
116
139
  ```
117
140
 
118
- Reload VS Code and you're done! LangProtect will now protect all your workspaces.
141
+ ### 3. Reload VS Code
142
+
143
+ Press `Ctrl+Shift+P` → `Developer: Reload Window`
144
+
145
+ **That's it!** ✅ LangProtect will now protect all your workspaces.
119
146
 
120
147
  ---
121
148
 
@@ -0,0 +1,10 @@
1
+ langprotect_mcp_gateway/__init__.py,sha256=PedabfF6wZ_6KxuN60A4qz8T1gD9MszuXwhmrHlGH7I,510
2
+ langprotect_mcp_gateway/gateway.py,sha256=YIggDJ7n0ctUsyyI1s567QFbH7cq5-6CAAdI1J8gQkY,30921
3
+ langprotect_mcp_gateway/response_masker.py,sha256=ui1JusuPwuOKSfrDtt0FxLEGs_y512RcTG4gSz2-MT8,14702
4
+ langprotect_mcp_gateway/setup_helper.py,sha256=vaE9SqF5oUdREooAUFUYXBWGC-3qHrG5pVfAddYnbOY,9752
5
+ langprotect_mcp_gateway-1.3.2.dist-info/licenses/LICENSE,sha256=aoVP65gKtirVmFPToow5L9IKN4FNjfM6Sejq_5b4cbM,1082
6
+ langprotect_mcp_gateway-1.3.2.dist-info/METADATA,sha256=FBsPxdfxSJxswil9dlwiCitxfW2rkTFPSkx360NO5Kc,12856
7
+ langprotect_mcp_gateway-1.3.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
8
+ langprotect_mcp_gateway-1.3.2.dist-info/entry_points.txt,sha256=HpnUUuYLQva8b6gazUX0UJO9dFHq86e9gifQfLKpyWc,140
9
+ langprotect_mcp_gateway-1.3.2.dist-info/top_level.txt,sha256=UjNlX13ma4nwJXuEyi9eMX251c5rooeEao4zajX6ZHk,24
10
+ langprotect_mcp_gateway-1.3.2.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- langprotect_mcp_gateway/__init__.py,sha256=PedabfF6wZ_6KxuN60A4qz8T1gD9MszuXwhmrHlGH7I,510
2
- langprotect_mcp_gateway/gateway.py,sha256=YIggDJ7n0ctUsyyI1s567QFbH7cq5-6CAAdI1J8gQkY,30921
3
- langprotect_mcp_gateway/response_masker.py,sha256=ui1JusuPwuOKSfrDtt0FxLEGs_y512RcTG4gSz2-MT8,14702
4
- langprotect_mcp_gateway/setup_helper.py,sha256=alkIyR3jB-RuiD32oNrATc-IskYkTgWUNjy8SLDz5HQ,9746
5
- langprotect_mcp_gateway-1.3.1.dist-info/licenses/LICENSE,sha256=aoVP65gKtirVmFPToow5L9IKN4FNjfM6Sejq_5b4cbM,1082
6
- langprotect_mcp_gateway-1.3.1.dist-info/METADATA,sha256=U3u6uT_-AZwBOio_blaZBwRv41aQos9sMMgXrp-ba4w,11787
7
- langprotect_mcp_gateway-1.3.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
8
- langprotect_mcp_gateway-1.3.1.dist-info/entry_points.txt,sha256=HpnUUuYLQva8b6gazUX0UJO9dFHq86e9gifQfLKpyWc,140
9
- langprotect_mcp_gateway-1.3.1.dist-info/top_level.txt,sha256=UjNlX13ma4nwJXuEyi9eMX251c5rooeEao4zajX6ZHk,24
10
- langprotect_mcp_gateway-1.3.1.dist-info/RECORD,,