Skip to content

AX-1644- add jfrog mcp no agant guard - like Cursor plugin #23

Merged
MatanEden1 merged 9 commits into
mainfrom
AX-1644-add-jfrog-mcp-no-agent-guard
Jun 29, 2026
Merged

AX-1644- add jfrog mcp no agant guard - like Cursor plugin #23
MatanEden1 merged 9 commits into
mainfrom
AX-1644-add-jfrog-mcp-no-agent-guard

Conversation

@yanivt-jfrog

Copy link
Copy Markdown
Collaborator

No description provided.

@yanivt-jfrog yanivt-jfrog changed the title AX-1644- add jfrog mcp AX-1644- add jfrog mcp no agant guard - like Cursor plugin Jun 24, 2026
YoniMelki
YoniMelki previously approved these changes Jun 24, 2026
Mirrors jfrog/vscode-plugin#28: warn early when JFROG_URL is unset or
has a trailing slash before the MCP server fails with a confusing DNS
or double-slash error, drop the log prefix so the warnings read as
plain user-facing messages, and bump the plugin version so users
receive the update.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
YoniMelki
YoniMelki previously approved these changes Jun 29, 2026
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@MatanEden1 MatanEden1 merged commit abadbc6 into main Jun 29, 2026
2 checks passed
@MatanEden1 MatanEden1 deleted the AX-1644-add-jfrog-mcp-no-agent-guard branch June 29, 2026 11:58
MatanEden1 added a commit to jfrog/vscode-plugin that referenced this pull request Jun 29, 2026
* AX-1742 — Add JFrog MCP server via .mcp.json (without Agent Guard)

Auto-attach the remote JFrog MCP server (${JFROG_URL}/mcp, OAuth) to every
session via plugin/.mcp.json, mirroring jfrog/claude-plugin#23. Bump plugin
version to 1.0.5 and document the MCP server + trailing-slash note in README.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Warn on missing or trailing-slash JFROG_URL at session start

* Fix JFROG_URL validation: move below force-disable guard and handle JF_URL-only case

- Validation no longer fires for users with Agent Guard force-disabled
- Adds explicit warning when JF_URL is set but JFROG_URL (required by .mcp.json) is not

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Run JFROG_URL validation before the Agent Guard gate

The .mcp.json attaches the JFrog MCP server regardless of whether Agent
Guard is enabled, but the JFROG_URL validation ran after the
agent-guard-enabled gate — so it was skipped in exactly the
"without Agent Guard" case this PR targets, leaving a misconfigured MCP
server with no warning. Move the validation above the gate (still after
force-disable) and document why it reads process.env.* directly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Warn on missing or trailing-slash JFROG_URL at session start

* Fix JFROG_URL validation: guard endsWith with optional chaining

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* remove log prefix

* Validate JFROG_URL early to prevent connection issues with the MCP server

* Surface JFROG_URL misconfiguration warnings to the user via additionalContext

When JFROG_URL is unset or has a trailing slash, write a hookSpecificOutput
payload so Claude immediately surfaces the warning to the user, in addition
to the existing stderr log. Also set JFROG_URL in the force-enable validator
test so it reaches template injection instead of the new early-exit path.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Remove optional chaining from JFROG_URL trailing slash check for improved validation

* Remove optional chaining from JFROG_URL trailing slash check for improved validation

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants