
jfrog-mcp
Read-only JFrog Artifactory for AI agents.
Ask Claude "latest Windows x64 build of myapp" and get the version, a verified download URL, its size and sha256, and a ready curl command.
Install · Tools · Request Feature · Report Bug
Table of Contents
-
About The Project
- Project Structure
-
Getting Started
- Usage
- Tools
- Development
- Roadmap
- Contributing
- License
- Contact
📖 About The Project
jfrog-mcp is a Rust MCP server plus a Claude skill (jfrog-artifacts), shipped together as a Claude Code plugin. They give AI agents safe, read-only access to a JFrog Artifactory instance.
🧩 The Problem
Finding the right build in Artifactory means clicking through repositories and version folders, guessing which folder is the newest (rc.9 or rc.23?), and copying a URL and checksum by hand. Giving an AI agent raw API access to do it for you is risky: the token can leak into output, and nothing stops it from reaching repositories it should not touch.
🧭 The Approach
- Read-only. The server sends only
GET requests. Every tool carries the readOnlyHint annotation.
- Scoped. Only repositories in
JFROG_ALLOWED_REPOS are reachable. Paths with .. are rejected before any request is sent.
- Correct "latest". The server reads the published release manifest (
latest.json, latest-rc.json) first. Without one, it sorts version folders by semver, so rc.23 sorts after rc.9.
- Verified links. Each link comes with size and sha256 from Artifactory. The ready
curl command reads $JFROG_ACCESS_TOKEN, so the token never appears in output or logs.
- No ports, no daemon. Claude Code starts the server as a child process and talks to it over stdio. The server exits when the session ends.
- One-step install. The plugin downloads a prebuilt, checksum-verified binary on first start. No clone, no Rust toolchain.
🏗️ Architecture
flowchart LR
U([You]) -->|question| C[Claude Code]
S["skill: jfrog-artifacts<br/>product → repo/path,<br/>which tools to call"] -.->|guides| C
C <-->|"JSON-RPC over stdio"| M["jfrog-mcp<br/>rmcp 3.x, 6 tools"]
M -->|calls| K["jfrog-core<br/>config · allowlist · semver"]
K -->|"HTTPS GET + Bearer"| A[(Artifactory REST API)]
A call to get_latest_version runs through these steps:
- Claude sends
tools/call.
jfrog-mcp parses and validates the parameters.
jfrog-core checks the allowlist.
jfrog-core reads latest.json.
- The server returns structured JSON with URL, size and sha256 for each file.
🧱 Built With