You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`project=`) → `JF_PROJECT` env var → ASK the user. If none
@@ -24,11 +34,11 @@ is set. Otherwise use
24
34
chain: existing `mcpServers` entries (value after `--server` in
25
35
`args`) → `~/.jfrog/jfrog-cli.conf.v6`:
26
36
- Exactly one jf CLI server configured → use it without asking;
27
-
pass it as `--server <ID>`. The gateway would auto-resolve to the same
37
+
pass it as `--server <ID>`. The agent-guard would auto-resolve to the same
28
38
value if `--server` were omitted, but we pass it explicitly for
29
39
clarity and forward-compatibility.
30
40
-`JFROG_URL` + `JFROG_ACCESS_TOKEN` set → use it without asking;
31
-
The gateway will pick them up from the environment variables when called.
41
+
The agent-guard will pick them up from the environment variables when called.
32
42
- Two or more jf CLI servers and no `JFROG_URL` → list IDs,
33
43
ALWAYS ASK the user which one, then pass that as `--server <ID>`.
34
44
ALWAYS prefer environment variables when set over asking.
@@ -77,8 +87,8 @@ unless absolutely necessary:
77
87
or `~/.cursor/mcp.json` (user) — take the value after `--server`
78
88
in `args`.
79
89
2. Else `JFROG_URL` env var set (with `JFROG_ACCESS_TOKEN`) — the
80
-
gateway can resolve credentials from these directly;
81
-
DO NOT pass `--server` as that would make the gateway try to
90
+
agent-guard can resolve credentials from these directly;
91
+
DO NOT pass `--server` as that would make the agent-guard try to
82
92
parse the server details from the jf cli configuration.
83
93
3. Else read `~/.jfrog/jfrog-cli.conf.v6`
84
94
(`%USERPROFILE%\.jfrog\jfrog-cli.conf.v6` on Windows) via a
@@ -93,7 +103,7 @@ unless absolutely necessary:
93
103
94
104
NEVER try multiple servers — pick one. Once chosen, pass it
95
105
If a server from the jf cli configuration is supposed to be used:
96
-
Always explicitly as `--server <ID>` in every gateway invocation.
106
+
Always explicitly as `--server <ID>` in every agent-guard invocation.
97
107
Otherwise, if environment variables for `JFROG_URL` and `JFROG_ACCESS_TOKEN`
98
108
are used: Do NOT pass `--server <ID>`
99
109
@@ -123,8 +133,6 @@ with the chosen name.
123
133
124
134
Once you have a name, you must fetch its live details.
125
135
126
-
**STRICT LIVE EXECUTION MANDATE:** Every time the user asks for details, parameters, configuration, or an inspection of a specific MCP, you **MUST** physically run the terminal command below. **NEVER** reuse, assume, or copy configuration payloads from previous chat turns or context history, as the underlying configuration or headers may have changed. A fresh, live execution tool call is mandatory for every single inquiry.
127
-
128
136
Run EXACTLY this command — no Fetch/WebFetch, no custom curl/Python, no direct JFrog API calls:
129
137
130
138
```bash
@@ -194,7 +202,7 @@ Add the entry under `mcpServers` in the target config (default
194
202
`@jfrog/agent-guard`** or `npx` falls back to the default
195
203
registry (404) and may block on a no-TTY prompt. Use
196
204
`"type": "stdio"` — never `"http"`, `"sse"`, or a top-level `"url"`
197
-
(those bypass the gateway).
205
+
(those bypass the agent-guard).
198
206
199
207
```json
200
208
{
@@ -221,7 +229,7 @@ registry (404) and may block on a no-TTY prompt. Use
221
229
222
230
Notes:
223
231
224
-
- If a required `${env:VAR}` is unset, the gateway fails at startup.
232
+
- If a required `${env:VAR}` is unset, the agent-guard fails at startup.
225
233
Confirm the user exported it before they restart.
226
234
If any env vars are missing, ASK the user to export them and restart Cursor.
227
235
- For `Bearer`-prefixed headers, either include the prefix in the env
@@ -325,17 +333,10 @@ elsewhere.
325
333
326
334
1. Determine **server** and **project** per the Pre-flight rule at
327
335
the top of this document. `--list-available` does NOT require
328
-
any existing `mcpServers` entry or pre-installed gateway —
329
-
`npx --yes` fetches the gateway on demand, so this works on a
336
+
any existing `mcpServers` entry or pre-installed agent-guard —
337
+
`npx --yes` fetches the agent-guard on demand, so this works on a
330
338
fresh machine too.
331
-
332
-
2.**STRICT LIVE EXECUTION MANDATE:** Every time the user asks to see available MCPs,
333
-
the catalog, or what can be installed, you **MUST** physically run the terminal
334
-
command below. **NEVER** copy, reuse, or re-display lists from previous turns
335
-
or context history, even if the request was made just moments ago. A fresh,
336
-
live execution tool call is mandatory for every single inquiry.
337
-
338
-
3. Run EXACTLY this command — `--project` is passed as a CLI flag
339
+
2. Run EXACTLY this command — `--project` is passed as a CLI flag
339
340
To configure the server, either use the serverId from a jf cli
340
341
config with `--server` or omit `--server` if env vars are used to
341
342
configure URL and Access Token. **no additional env vars needed**:
@@ -352,19 +353,19 @@ npx --yes \
352
353
Output is a JSON array; each element has `name`, `packageName`,
0 commit comments