Skip to content

AX-1742 - add jfrog mcp no agent guard - vscode plugin#28

Merged
MatanEden1 merged 11 commits into
mainfrom
AX-1742-vscode-jfrog-mcp-without-agent-guard
Jun 29, 2026
Merged

AX-1742 - add jfrog mcp no agent guard - vscode plugin#28
MatanEden1 merged 11 commits into
mainfrom
AX-1742-vscode-jfrog-mcp-without-agent-guard

Conversation

@MatanEden1

Copy link
Copy Markdown
Collaborator

Mirrors jfrog/claude-plugin#23 for the VS Code plugin: auto-attach the remote JFrog MCP server (${JFROG_URL}/mcp, OAuth) via .mcp.json, bump the plugin version, and document it in the README.

🤖 Generated with Claude Code

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>

@YoniMelki YoniMelki left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 things before this is good to go.

Comment thread plugin/.mcp.json
Comment thread plugin/.mcp.json
MatanEden1 and others added 5 commits June 28, 2026 17:48
…F_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>
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>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
YoniMelki
YoniMelki previously approved these changes Jun 29, 2026
MatanEden1 added a commit to jfrog/claude-plugin that referenced this pull request Jun 29, 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
…lContext

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>
MatanEden1 added a commit to jfrog/claude-plugin that referenced this pull request Jun 29, 2026
* add jfrog mcp

* Validate JFROG_URL and bump plugin version

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>

* Validate JFROG_URL configuration to prevent connection errors

* Rename msg to missingUrlWarning and trailingSlashWarning for clarity

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

* refactor: improve trailing slash warning for JFROG_URL configuration

* fix: enhance warning for trailing slash in JFROG_URL to prevent silent failures

* fix: add warning prefix to JFROG_URL validation messages for clarity

---------

Co-authored-by: Matan Eden <57892946+MatanEden1@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@MatanEden1 MatanEden1 merged commit aab4737 into main Jun 29, 2026
1 check passed
@MatanEden1 MatanEden1 deleted the AX-1742-vscode-jfrog-mcp-without-agent-guard branch June 29, 2026 11:58
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.

2 participants