JFrog Artifactory
v0.1.4JFrog Artifactory ops reads — health, version, license, storage usage, repository listings, artifact info and download stats, background tasks. Read-only. Auth via an access token or Basic credentials on the runner host.
curl
Install
New to emisar? Follow the quickstart to connect your host and AI agent, then install this pack below. Agents can use its actions through the CLI or MCP.
emisar pack install
downloads and checks the pack, then compares its content hash with the
--hash
below before copying it into the runner's packs directory. The hash identifies
the exact pack shown on this page. If the download was changed, the command rejects
it. It also reloads a running runner, so you do not need to restart it yourself.
sudo emisar pack install artifactory --hash sha256:6320f0eb42b768f5e88d5443498c9127f8043210d5f3cc7522e6cb582d42c13a
Setup
Every action calls the Artifactory REST API under
$ARTIFACTORY_URL
via curl. Set
$ARTIFACTORY_TOKEN
for bearer authentication with an access token, or
$ARTIFACTORY_USER
and
$ARTIFACTORY_PASSWORD
for Basic authentication.
Environment
Set these on the runner host, then add each name to
execution.inherit_env
so the value reaches the action.
-
ARTIFACTORY_URLdefault http://127.0.0.1:8082JFrog platform base URL (scheme + host + port, no trailing path) — actions append /artifactory/api/... themselves. Defaults to the local platform router.
-
ARTIFACTORY_TOKENAccess token sent as the Bearer credential.
-
ARTIFACTORY_USERUser for Basic authentication. Takes precedence over
ARTIFACTORY_TOKEN. -
ARTIFACTORY_PASSWORDPassword paired with
ARTIFACTORY_USER.
Notes
-
Any Artifactory env var you set must also be allowlisted in the runner's
execution.inherit_env— the action env is scrubbed to PATH/LANG/LC_ALL/TERM by default, so an env present on the host but not allowlisted is silently dropped (the action falls back to its local default or fails auth). - System, storage, and task reads need an admin-scoped identity; repository and artifact reads work with read permission on the target repository.
- Every action here works on every edition, OSS included. Repository administration and user listing are Artifactory Pro APIs, so this pack does not ship them.
Verify it works
Runs artifactory.ping, a low-risk
read that confirms the pack can reach its target. Run it on the host once the pack
is installed; pack install runs it for
you.
sudo emisar pack verify artifactory
Install and configure a pack walks through the whole sequence on a host.
Actions 8 total
View on GitHub-
artifactory.file_info script low Low: read-only or trivially reversible
GET /artifactory/api/storage/<repo>/<path>
Show one artifact or folder — size, checksums, created/modified times, and for folders the direct children.
Link to this action View source on GitHubArguments Name Type Required repo string Yes path string Yes See the action source for defaults, validation, and limits.
-
artifactory.file_stats script low Low: read-only or trivially reversible
GET /artifactory/api/storage/<repo>/<path>?stats
Show download stats for one artifact — download count, last downloaded time, and who downloaded it last.
Link to this action View source on GitHubArguments Name Type Required repo string Yes path string Yes See the action source for defaults, validation, and limits.
-
artifactory.license script low Low: read-only or trivially reversible
GET /artifactory/api/system/license
Show license type, expiry, and licensed-to (never the license key itself).
Link to this action View source on GitHub -
artifactory.ping script low Low: read-only or trivially reversible
GET /artifactory/api/system/ping
-
artifactory.repositories script low Low: read-only or trivially reversible
GET /artifactory/api/repositories
List repositories (key, type, package type, URL), optionally filtered by repository class or package type.
Link to this action View source on GitHubArguments Name Type Required type string No package_type string No See the action source for defaults, validation, and limits.
-
artifactory.storage_summary script low Low: read-only or trivially reversible
GET /artifactory/api/storageinfo
Show filestore usage totals and the per-repository storage breakdown (size, file and folder counts).
Link to this action View source on GitHub -
artifactory.tasks script low Low: read-only or trivially reversible
GET /artifactory/api/tasks
List background tasks (indexing, garbage collection, replication) with their type, state, and schedule.
Link to this action View source on GitHub -
artifactory.version script low Low: read-only or trivially reversible
GET /artifactory/api/system/version