langprotect-mcp-gateway 1.2.4__tar.gz → 1.2.6__tar.gz
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.
- {langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/PKG-INFO +17 -90
- {langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/README.md +16 -89
- {langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/langprotect_mcp_gateway/gateway.py +10 -2
- {langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/langprotect_mcp_gateway.egg-info/PKG-INFO +17 -90
- {langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/pyproject.toml +1 -1
- {langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/LICENSE +0 -0
- {langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/langprotect_mcp_gateway/__init__.py +0 -0
- {langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/langprotect_mcp_gateway/setup_helper.py +0 -0
- {langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/langprotect_mcp_gateway.egg-info/SOURCES.txt +0 -0
- {langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/langprotect_mcp_gateway.egg-info/dependency_links.txt +0 -0
- {langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/langprotect_mcp_gateway.egg-info/entry_points.txt +0 -0
- {langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/langprotect_mcp_gateway.egg-info/requires.txt +0 -0
- {langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/langprotect_mcp_gateway.egg-info/top_level.txt +0 -0
- {langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: langprotect-mcp-gateway
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.6
|
|
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
|
|
@@ -43,122 +43,49 @@ Dynamic: license-file
|
|
|
43
43
|
|
|
44
44
|
## Quick Start
|
|
45
45
|
|
|
46
|
-
### Installation
|
|
46
|
+
### 1. Installation
|
|
47
47
|
|
|
48
|
-
The gateway runs as a global CLI tool.
|
|
49
|
-
|
|
50
|
-
#### Linux (Debian/Ubuntu) - Recommended: pipx
|
|
48
|
+
The gateway runs as a global CLI tool. We recommend using `pipx` to manage the installation.
|
|
51
49
|
|
|
52
50
|
```bash
|
|
53
|
-
# Install pipx
|
|
54
|
-
sudo apt install pipx -y
|
|
55
|
-
pipx ensurepath
|
|
56
|
-
|
|
57
|
-
# Install the gateway
|
|
51
|
+
# Recommended: Install via pipx
|
|
58
52
|
pipx install langprotect-mcp-gateway
|
|
59
53
|
```
|
|
60
54
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
# Install pipx via Homebrew
|
|
65
|
-
brew install pipx
|
|
66
|
-
pipx ensurepath
|
|
67
|
-
|
|
68
|
-
# Install the gateway
|
|
69
|
-
pipx install langprotect-mcp-gateway
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
#### Windows
|
|
73
|
-
|
|
74
|
-
```bash
|
|
75
|
-
# Option 1: pipx (recommended)
|
|
76
|
-
pip install pipx
|
|
77
|
-
pipx install langprotect-mcp-gateway
|
|
78
|
-
|
|
79
|
-
# Option 2: User install
|
|
80
|
-
pip install --user langprotect-mcp-gateway
|
|
81
|
-
```
|
|
55
|
+
### 2. Automatic Setup (Recommended) 🚀
|
|
82
56
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
```bash
|
|
86
|
-
which langprotect-gateway # Should show: ~/.local/bin/langprotect-gateway
|
|
87
|
-
langprotect-gateway --help # Should show usage info
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
#### Automatic Setup (Recommended)
|
|
91
|
-
|
|
92
|
-
Run the setup command to automatically configure VS Code:
|
|
57
|
+
Run our automated setup command to configure VS Code, Cursor, or Claude Desktop for all workspaces:
|
|
93
58
|
|
|
94
59
|
```bash
|
|
95
60
|
langprotect-gateway-setup
|
|
96
61
|
```
|
|
97
62
|
|
|
98
63
|
This will:
|
|
99
|
-
- ✅ Create a global wrapper script
|
|
100
|
-
- ✅ Configure VS Code
|
|
101
|
-
- ✅ Enable auto-start
|
|
64
|
+
- ✅ Create a global wrapper script at `~/.local/bin/langprotect-mcp-wrapper.sh`
|
|
65
|
+
- ✅ Configure VS Code for global visibility in ALL workspaces
|
|
66
|
+
- ✅ Enable auto-start for seamless protection
|
|
67
|
+
|
|
68
|
+
### 3. Configure Your Credentials
|
|
102
69
|
|
|
103
|
-
|
|
70
|
+
Edit the generated wrapper script to add your LangProtect email and password:
|
|
104
71
|
|
|
105
72
|
```bash
|
|
106
73
|
# Linux/macOS
|
|
107
74
|
nano ~/.local/bin/langprotect-mcp-wrapper.sh
|
|
108
75
|
|
|
109
76
|
# Update these lines:
|
|
110
|
-
export LANGPROTECT_URL="http://localhost:8000
|
|
77
|
+
export LANGPROTECT_URL="https://your-backend.com" # e.g. http://localhost:8000
|
|
111
78
|
export LANGPROTECT_EMAIL="your.email@company.com"
|
|
112
79
|
export LANGPROTECT_PASSWORD="your-password"
|
|
113
80
|
```
|
|
114
81
|
|
|
115
|
-
Reload VS Code and you're done! LangProtect will protect all your workspaces.
|
|
116
|
-
|
|
117
|
-
### VS Code Setup (Recommended - No Wrapper Script!)
|
|
118
|
-
|
|
119
|
-
**Step 1:** Add this to your `.vscode/mcp.json`:
|
|
120
|
-
|
|
121
|
-
```json
|
|
122
|
-
{
|
|
123
|
-
"servers": {
|
|
124
|
-
"langprotect-gateway": {
|
|
125
|
-
"type": "stdio",
|
|
126
|
-
"command": "langprotect-gateway",
|
|
127
|
-
"args": ["--mcp-json-path", "${workspaceFolder}/.vscode/mcp.json"],
|
|
128
|
-
"env": {
|
|
129
|
-
"LANGPROTECT_URL": "http://localhost:8000",
|
|
130
|
-
"LANGPROTECT_EMAIL": "your.email@company.com",
|
|
131
|
-
"LANGPROTECT_PASSWORD": "your-password"
|
|
132
|
-
},
|
|
133
|
-
"servers": {
|
|
134
|
-
"filesystem": {
|
|
135
|
-
"command": "npx",
|
|
136
|
-
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
**Step 2 (Optional):** Enable auto-start in `.vscode/settings.json`:
|
|
145
|
-
|
|
146
|
-
```json
|
|
147
|
-
{
|
|
148
|
-
"chat.mcp.autostart": "newAndOutdated"
|
|
149
|
-
}
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
This makes VS Code automatically start the gateway when you open the workspace!
|
|
82
|
+
Reload VS Code and you're done! LangProtect will now protect all your workspaces.
|
|
153
83
|
|
|
154
|
-
|
|
155
|
-
1. Start the gateway with your credentials (automatically if autostart is enabled)
|
|
156
|
-
2. Gateway reads the `servers` section and proxies those MCP servers
|
|
157
|
-
3. All tool calls get logged to LangProtect
|
|
84
|
+
---
|
|
158
85
|
|
|
159
|
-
|
|
86
|
+
## 🏗️ Manual Setup (Per-Workspace)
|
|
160
87
|
|
|
161
|
-
If you prefer
|
|
88
|
+
If you prefer to enable LangProtect only for a specific project, you can use a local `.vscode/mcp.json` file.
|
|
162
89
|
|
|
163
90
|
1. Create a wrapper script (e.g., `langprotect-wrapper.sh`):
|
|
164
91
|
|
|
@@ -15,122 +15,49 @@
|
|
|
15
15
|
|
|
16
16
|
## Quick Start
|
|
17
17
|
|
|
18
|
-
### Installation
|
|
18
|
+
### 1. Installation
|
|
19
19
|
|
|
20
|
-
The gateway runs as a global CLI tool.
|
|
21
|
-
|
|
22
|
-
#### Linux (Debian/Ubuntu) - Recommended: pipx
|
|
20
|
+
The gateway runs as a global CLI tool. We recommend using `pipx` to manage the installation.
|
|
23
21
|
|
|
24
22
|
```bash
|
|
25
|
-
# Install pipx
|
|
26
|
-
sudo apt install pipx -y
|
|
27
|
-
pipx ensurepath
|
|
28
|
-
|
|
29
|
-
# Install the gateway
|
|
23
|
+
# Recommended: Install via pipx
|
|
30
24
|
pipx install langprotect-mcp-gateway
|
|
31
25
|
```
|
|
32
26
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
# Install pipx via Homebrew
|
|
37
|
-
brew install pipx
|
|
38
|
-
pipx ensurepath
|
|
39
|
-
|
|
40
|
-
# Install the gateway
|
|
41
|
-
pipx install langprotect-mcp-gateway
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
#### Windows
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
# Option 1: pipx (recommended)
|
|
48
|
-
pip install pipx
|
|
49
|
-
pipx install langprotect-mcp-gateway
|
|
50
|
-
|
|
51
|
-
# Option 2: User install
|
|
52
|
-
pip install --user langprotect-mcp-gateway
|
|
53
|
-
```
|
|
27
|
+
### 2. Automatic Setup (Recommended) 🚀
|
|
54
28
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
which langprotect-gateway # Should show: ~/.local/bin/langprotect-gateway
|
|
59
|
-
langprotect-gateway --help # Should show usage info
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
#### Automatic Setup (Recommended)
|
|
63
|
-
|
|
64
|
-
Run the setup command to automatically configure VS Code:
|
|
29
|
+
Run our automated setup command to configure VS Code, Cursor, or Claude Desktop for all workspaces:
|
|
65
30
|
|
|
66
31
|
```bash
|
|
67
32
|
langprotect-gateway-setup
|
|
68
33
|
```
|
|
69
34
|
|
|
70
35
|
This will:
|
|
71
|
-
- ✅ Create a global wrapper script
|
|
72
|
-
- ✅ Configure VS Code
|
|
73
|
-
- ✅ Enable auto-start
|
|
36
|
+
- ✅ Create a global wrapper script at `~/.local/bin/langprotect-mcp-wrapper.sh`
|
|
37
|
+
- ✅ Configure VS Code for global visibility in ALL workspaces
|
|
38
|
+
- ✅ Enable auto-start for seamless protection
|
|
39
|
+
|
|
40
|
+
### 3. Configure Your Credentials
|
|
74
41
|
|
|
75
|
-
|
|
42
|
+
Edit the generated wrapper script to add your LangProtect email and password:
|
|
76
43
|
|
|
77
44
|
```bash
|
|
78
45
|
# Linux/macOS
|
|
79
46
|
nano ~/.local/bin/langprotect-mcp-wrapper.sh
|
|
80
47
|
|
|
81
48
|
# Update these lines:
|
|
82
|
-
export LANGPROTECT_URL="http://localhost:8000
|
|
49
|
+
export LANGPROTECT_URL="https://your-backend.com" # e.g. http://localhost:8000
|
|
83
50
|
export LANGPROTECT_EMAIL="your.email@company.com"
|
|
84
51
|
export LANGPROTECT_PASSWORD="your-password"
|
|
85
52
|
```
|
|
86
53
|
|
|
87
|
-
Reload VS Code and you're done! LangProtect will protect all your workspaces.
|
|
88
|
-
|
|
89
|
-
### VS Code Setup (Recommended - No Wrapper Script!)
|
|
90
|
-
|
|
91
|
-
**Step 1:** Add this to your `.vscode/mcp.json`:
|
|
92
|
-
|
|
93
|
-
```json
|
|
94
|
-
{
|
|
95
|
-
"servers": {
|
|
96
|
-
"langprotect-gateway": {
|
|
97
|
-
"type": "stdio",
|
|
98
|
-
"command": "langprotect-gateway",
|
|
99
|
-
"args": ["--mcp-json-path", "${workspaceFolder}/.vscode/mcp.json"],
|
|
100
|
-
"env": {
|
|
101
|
-
"LANGPROTECT_URL": "http://localhost:8000",
|
|
102
|
-
"LANGPROTECT_EMAIL": "your.email@company.com",
|
|
103
|
-
"LANGPROTECT_PASSWORD": "your-password"
|
|
104
|
-
},
|
|
105
|
-
"servers": {
|
|
106
|
-
"filesystem": {
|
|
107
|
-
"command": "npx",
|
|
108
|
-
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
**Step 2 (Optional):** Enable auto-start in `.vscode/settings.json`:
|
|
117
|
-
|
|
118
|
-
```json
|
|
119
|
-
{
|
|
120
|
-
"chat.mcp.autostart": "newAndOutdated"
|
|
121
|
-
}
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
This makes VS Code automatically start the gateway when you open the workspace!
|
|
54
|
+
Reload VS Code and you're done! LangProtect will now protect all your workspaces.
|
|
125
55
|
|
|
126
|
-
|
|
127
|
-
1. Start the gateway with your credentials (automatically if autostart is enabled)
|
|
128
|
-
2. Gateway reads the `servers` section and proxies those MCP servers
|
|
129
|
-
3. All tool calls get logged to LangProtect
|
|
56
|
+
---
|
|
130
57
|
|
|
131
|
-
|
|
58
|
+
## 🏗️ Manual Setup (Per-Workspace)
|
|
132
59
|
|
|
133
|
-
If you prefer
|
|
60
|
+
If you prefer to enable LangProtect only for a specific project, you can use a local `.vscode/mcp.json` file.
|
|
134
61
|
|
|
135
62
|
1. Create a wrapper script (e.g., `langprotect-wrapper.sh`):
|
|
136
63
|
|
{langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/langprotect_mcp_gateway/gateway.py
RENAMED
|
@@ -129,8 +129,16 @@ class LangProtectAuth:
|
|
|
129
129
|
def scan(self, tool_name: str, arguments: Dict, server_name: str) -> Dict:
|
|
130
130
|
self.ensure_token()
|
|
131
131
|
try:
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
# Use MCP-specific endpoint with proper payload structure
|
|
133
|
+
payload = {
|
|
134
|
+
'method': 'tools/call',
|
|
135
|
+
'params': {'name': tool_name, 'arguments': arguments},
|
|
136
|
+
'server_url': server_name,
|
|
137
|
+
'agent_id': 'langprotect-gateway',
|
|
138
|
+
'client_ip': '127.0.0.1',
|
|
139
|
+
'user_agent': f'LangProtect-MCP-Gateway/1.0 (server={server_name})'
|
|
140
|
+
}
|
|
141
|
+
response = requests.post(f"{self.url}/v1/group-logs/mcp/scan", json=payload, headers={'Authorization': f'Bearer {self.jwt_token}', 'Content-Type': 'application/json'}, timeout=5)
|
|
134
142
|
if response.status_code != 200:
|
|
135
143
|
logger.warning(f"Backend returned {response.status_code}, allowing request (fail-open)")
|
|
136
144
|
return {'status': 'allowed', 'error': f'Backend error: {response.status_code}'}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: langprotect-mcp-gateway
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.6
|
|
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
|
|
@@ -43,122 +43,49 @@ Dynamic: license-file
|
|
|
43
43
|
|
|
44
44
|
## Quick Start
|
|
45
45
|
|
|
46
|
-
### Installation
|
|
46
|
+
### 1. Installation
|
|
47
47
|
|
|
48
|
-
The gateway runs as a global CLI tool.
|
|
49
|
-
|
|
50
|
-
#### Linux (Debian/Ubuntu) - Recommended: pipx
|
|
48
|
+
The gateway runs as a global CLI tool. We recommend using `pipx` to manage the installation.
|
|
51
49
|
|
|
52
50
|
```bash
|
|
53
|
-
# Install pipx
|
|
54
|
-
sudo apt install pipx -y
|
|
55
|
-
pipx ensurepath
|
|
56
|
-
|
|
57
|
-
# Install the gateway
|
|
51
|
+
# Recommended: Install via pipx
|
|
58
52
|
pipx install langprotect-mcp-gateway
|
|
59
53
|
```
|
|
60
54
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
# Install pipx via Homebrew
|
|
65
|
-
brew install pipx
|
|
66
|
-
pipx ensurepath
|
|
67
|
-
|
|
68
|
-
# Install the gateway
|
|
69
|
-
pipx install langprotect-mcp-gateway
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
#### Windows
|
|
73
|
-
|
|
74
|
-
```bash
|
|
75
|
-
# Option 1: pipx (recommended)
|
|
76
|
-
pip install pipx
|
|
77
|
-
pipx install langprotect-mcp-gateway
|
|
78
|
-
|
|
79
|
-
# Option 2: User install
|
|
80
|
-
pip install --user langprotect-mcp-gateway
|
|
81
|
-
```
|
|
55
|
+
### 2. Automatic Setup (Recommended) 🚀
|
|
82
56
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
```bash
|
|
86
|
-
which langprotect-gateway # Should show: ~/.local/bin/langprotect-gateway
|
|
87
|
-
langprotect-gateway --help # Should show usage info
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
#### Automatic Setup (Recommended)
|
|
91
|
-
|
|
92
|
-
Run the setup command to automatically configure VS Code:
|
|
57
|
+
Run our automated setup command to configure VS Code, Cursor, or Claude Desktop for all workspaces:
|
|
93
58
|
|
|
94
59
|
```bash
|
|
95
60
|
langprotect-gateway-setup
|
|
96
61
|
```
|
|
97
62
|
|
|
98
63
|
This will:
|
|
99
|
-
- ✅ Create a global wrapper script
|
|
100
|
-
- ✅ Configure VS Code
|
|
101
|
-
- ✅ Enable auto-start
|
|
64
|
+
- ✅ Create a global wrapper script at `~/.local/bin/langprotect-mcp-wrapper.sh`
|
|
65
|
+
- ✅ Configure VS Code for global visibility in ALL workspaces
|
|
66
|
+
- ✅ Enable auto-start for seamless protection
|
|
67
|
+
|
|
68
|
+
### 3. Configure Your Credentials
|
|
102
69
|
|
|
103
|
-
|
|
70
|
+
Edit the generated wrapper script to add your LangProtect email and password:
|
|
104
71
|
|
|
105
72
|
```bash
|
|
106
73
|
# Linux/macOS
|
|
107
74
|
nano ~/.local/bin/langprotect-mcp-wrapper.sh
|
|
108
75
|
|
|
109
76
|
# Update these lines:
|
|
110
|
-
export LANGPROTECT_URL="http://localhost:8000
|
|
77
|
+
export LANGPROTECT_URL="https://your-backend.com" # e.g. http://localhost:8000
|
|
111
78
|
export LANGPROTECT_EMAIL="your.email@company.com"
|
|
112
79
|
export LANGPROTECT_PASSWORD="your-password"
|
|
113
80
|
```
|
|
114
81
|
|
|
115
|
-
Reload VS Code and you're done! LangProtect will protect all your workspaces.
|
|
116
|
-
|
|
117
|
-
### VS Code Setup (Recommended - No Wrapper Script!)
|
|
118
|
-
|
|
119
|
-
**Step 1:** Add this to your `.vscode/mcp.json`:
|
|
120
|
-
|
|
121
|
-
```json
|
|
122
|
-
{
|
|
123
|
-
"servers": {
|
|
124
|
-
"langprotect-gateway": {
|
|
125
|
-
"type": "stdio",
|
|
126
|
-
"command": "langprotect-gateway",
|
|
127
|
-
"args": ["--mcp-json-path", "${workspaceFolder}/.vscode/mcp.json"],
|
|
128
|
-
"env": {
|
|
129
|
-
"LANGPROTECT_URL": "http://localhost:8000",
|
|
130
|
-
"LANGPROTECT_EMAIL": "your.email@company.com",
|
|
131
|
-
"LANGPROTECT_PASSWORD": "your-password"
|
|
132
|
-
},
|
|
133
|
-
"servers": {
|
|
134
|
-
"filesystem": {
|
|
135
|
-
"command": "npx",
|
|
136
|
-
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
**Step 2 (Optional):** Enable auto-start in `.vscode/settings.json`:
|
|
145
|
-
|
|
146
|
-
```json
|
|
147
|
-
{
|
|
148
|
-
"chat.mcp.autostart": "newAndOutdated"
|
|
149
|
-
}
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
This makes VS Code automatically start the gateway when you open the workspace!
|
|
82
|
+
Reload VS Code and you're done! LangProtect will now protect all your workspaces.
|
|
153
83
|
|
|
154
|
-
|
|
155
|
-
1. Start the gateway with your credentials (automatically if autostart is enabled)
|
|
156
|
-
2. Gateway reads the `servers` section and proxies those MCP servers
|
|
157
|
-
3. All tool calls get logged to LangProtect
|
|
84
|
+
---
|
|
158
85
|
|
|
159
|
-
|
|
86
|
+
## 🏗️ Manual Setup (Per-Workspace)
|
|
160
87
|
|
|
161
|
-
If you prefer
|
|
88
|
+
If you prefer to enable LangProtect only for a specific project, you can use a local `.vscode/mcp.json` file.
|
|
162
89
|
|
|
163
90
|
1. Create a wrapper script (e.g., `langprotect-wrapper.sh`):
|
|
164
91
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "langprotect-mcp-gateway"
|
|
7
|
-
version = "1.2.
|
|
7
|
+
version = "1.2.6"
|
|
8
8
|
description = "Security gateway for Model Context Protocol (MCP) to protect AI tool interactions"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.8"
|
|
File without changes
|
{langprotect_mcp_gateway-1.2.4 → langprotect_mcp_gateway-1.2.6}/langprotect_mcp_gateway/__init__.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
|