Model Context Protocol (MCP) Server for the JFrog Platform API, enabling repository management, build tracking, release lifecycle management, and more.
mcp_demo_min.mp4
This is an experimental project intended to demonstrate JFrog's capabilities with MCP. It is not officially supported or verified by JFrog.
- Repository Management: Create and manage local, remote, and virtual repositories
- Build Tracking: List and retrieve build information
- Runtime Monitoring: View runtime clusters and running container images
- Mission Control: View associated JFrog Platform instances
- Artifact Search: Execute powerful AQL queries to search for artifacts and builds
- Catalog and Curation: Access package information, versions, vulnerabilities, and check curation status
Repository Management
-
check_jfrog_availability
- Check if JFrog platform is ready and functioning
- Returns: Platform readiness status
-
create_local_repository
- Create a new local repository in Artifactory
- Inputs:
key
(string): Repository keyrclass
(string): Repository class (must be "local")packageType
(string): Package type of the repositorydescription
(optional string): Repository descriptionprojectKey
(optional string): Project key to assign the repository toenvironments
(optional string[]): Environments to assign the repository to
- Returns: Created repository details
-
create_remote_repository
- Create a new remote repository in Artifactory to proxy external package registries
- Inputs:
key
(string): Repository keyrclass
(string): Repository class (must be "remote")packageType
(string): Package type of the repositoryurl
(string): URL to the remote repositoryusername
(optional string): Remote repository usernamepassword
(optional string): Remote repository passworddescription
(optional string): Repository descriptionprojectKey
(optional string): Project key to assign the repository toenvironments
(optional string[]): Environments to assign the repository to- Many other optional parameters for specific repository configurations
- Returns: Created repository details
-
create_virtual_repository
- Create a new virtual repository in Artifactory that aggregates multiple repositories
- Inputs:
key
(string): Repository keyrclass
(string): Repository class (must be "virtual")packageType
(string): Package type of the repositoryrepositories
(string[]): List of repository keys to include in the virtual repositorydescription
(optional string): Repository descriptionprojectKey
(optional string): Project key to assign the repository toenvironments
(optional string[]): Environments to assign the repository to- Other optional parameters for specific repository configurations
- Returns: Created repository details
-
list_repositories
- List all repositories in Artifactory with optional filtering
- Inputs:
type
(optional string): Filter repositories by type (local, remote, virtual, federated, distribution)packageType
(optional string): Filter repositories by package typeproject
(optional string): Filter repositories by project key
- Returns: List of repositories matching the filters
-
set_folder_property
- Set properties on a folder in Artifactory, with optional recursive application
- Inputs:
folderPath
(string): Path to the folder where properties should be setproperties
(object): Key-value pairs of properties to setrecursive
(optional boolean): Whether to apply properties recursively to sub-folders
- Returns: Operation result
-
execute_aql_query
- Execute an Artifactory Query Language (AQL) query to search for artifacts, builds, or other entities in JFrog Artifactory
- Inputs:
query
(string): The AQL query to execute. Must follow AQL syntax (e.g., items.find({"repo":"my-repo"}).include("name","path"))domain
(optional string): The primary domain to search in (items, builds, archive.entries, build.promotions, releases)transitive
(optional boolean): Whether to search in remote repositorieslimit
(optional number): Maximum number of results to returnoffset
(optional number): Number of results to skipinclude_fields
(optional string[]): Fields to include in the resultssort_by
(optional string): Field to sort results bysort_order
(optional string): Sort order (asc or desc)
- Returns: Search results with metadata
Build Management
-
list_jfrog_builds
- Return a list of all builds in the JFrog platform
- Returns: List of builds
-
get_specific_build
- Get details for a specific build by name
- Inputs:
buildName
(string): Name of the build to retrieveproject
(optional string): Project key to scope the build search
- Returns: Build details
Runtime Management
-
list_jfrog_runtime_clusters
- Return a list of all runtime clusters in the JFrog platform
- Inputs:
limit
(optional integer): The maximum number of clusters to returnnext_key
(optional string): The next key to use for pagination
- Returns: List of runtime clusters
-
get_jfrog_runtime_specific_cluster
- Return a runtime cluster by ID
- Inputs:
clusterId
(integer): The ID of the cluster to retrieve
- Returns: Cluster details
-
list_jfrog_running_images
- List all running container images across runtime clusters with their security and operational status
- Inputs:
filters
(optional string): Filters to applynum_of_rows
(optional integer): Number of rows to returnpage_num
(optional integer): Page numberstatistics
(optional boolean): Whether to include statisticstimePeriod
(optional string): Time period to query
- Returns: List of running images
Access Control
-
list_jfrog_environments
- Get a list of all environments types in the JFrog platform with their details
- Inputs:
- Returns: List of environments
-
list_jfrog_projects
- Get a list of all projects in the JFrog platform with their details
- Inputs:
- Returns: List of projects
-
get_specific_project
- Get detailed information about a specific project in the JFrog platform
- Inputs:
project_key
(string): The unique key of the project to retrieve
- Returns: Project details
-
create_project
- Create a new project in the JFrog platform
- Inputs:
project_key
(string): Unique identifier for the projectdisplay_name
(string): Display name of the projectdescription
(string): Description of the projectadmin_privileges
(object): Administrative privileges for the projectstorage_quota_bytes
(number): Storage quota in bytes (-1 for unlimited)
- Returns: Created project details
Catalog and Curation
-
jfrog_get_package_info
- Get publicly available information about a software package
- Inputs:
type
(string): The type of package (pypi, npm, maven, golang, nuget, huggingface, rubygems)name
(string): The name of the package, as it appears in the package repositoryversion
(optional string): The version of the package (default: "latest")
- Returns: Package information including description, latest version, license, and URLs
-
jfrog_get_package_versions
- Get a list of versions of a publicly available package with publication dates
- Inputs:
type
(string): The type of package (pypi, npm, maven, golang, nuget, huggingface, rubygems)name
(string): The name of the package, as it appears in the package repository
- Returns: List of package versions with publication dates
-
jfrog_get_package_version_vulnerabilities
- Get a list of known vulnerabilities affecting a specific version of an open source package
- Inputs:
type
(string): The type of package (pypi, npm, maven, golang, nuget, huggingface, rubygems)name
(string): The name of the package, as it appears in the package repositoryversion
(optional string): The version of the package (default: "latest")pageSize
(optional number): Number of vulnerabilities to return per page (default: 10)pageCount
(optional number): Number of pages to return (default: 1)
- Returns: List of vulnerabilities affecting the specified package version
-
jfrog_get_vulnerability_info
- Get detailed information about a specific vulnerability, including affected packages and versions
- Inputs:
cve_id
(string): The CVE ID or vulnerability identifier to look uppageSize
(optional number): Number of vulnerabilities to return per page (default: 10)pageCount
(optional number): Number of pages to return (default: 1)
- Returns: Detailed vulnerability information and affected packages
-
jfrog_get_package_curation_status
- Check the curation status of a specific package version
- Inputs:
packageType
(string): The type of package (pypi, npm, maven, golang, nuget, huggingface, rubygems)packageName
(string): The name of the package, as it appears in the package repositorypackageVersion
(string): The version of the package, as it appears in the package repository
- Returns: Curation status (approved, blocked, or inconclusive)
To install mcp-jfrog for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @jfrog/mcp-jfrog --client claude
- Node.js v18 or higher
- Docker (if using Docker deployment, see )
- A valid JFrog platform instance with appropriate permissions
- Access to create and manage access tokens in your JFrog platform instance
JFROG_ACCESS_TOKEN
: Your JFrog access token (required)JFROG_URL
: Base URL for your JFrog platform (required)
To use this MCP server, you need to create a JFrog Access Token or use an Idenetity token with appropriate permissions:
For information on how to create a JFrog Token, please refer to the JFrog official documentations:
Your JFrog platform instance URL (e.g. https://acme.jfrog.io)
Clone the repo to your local machine using git clone
and cd
into the project directory:
git clone git@github.com:jfrog/mcp-jfrog.git
cd mcp-jfrog
Build as a Docker image:
docker build -t mcp/jfrog -f Dockerfile .
Build as an npm module:
npm i && npm run build
Use with Cursor
Add the following to your `~/.cursor/mcp.json`:{
"mcpServers": {
"MCP-JFrog": {
"command": "npm",
"args": [
"exec",
"-y",
"github:jfrog/mcp-jfrog"
],
"env": {
"JFROG_ACCESS_TOKEN": "ACCESS_TOKEN",
"JFROG_URL": "https://<YOUR_JFROG_INSTANCE_URL>"
}
}
},
"mcp-local-dev":{
"command": "node",
"args": [
"/<ABSOLUT_PATH_TO>/mcp-jfrog/dist/index.js"
],
"env": {
"JFROG_ACCESS_TOKEN": "<ACCESS_TOKEN>>",
"JFROG_URL": "<JFROG_URL>"
}
}
}
{
"mcpServers": {
"jfrog": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"JFROG_ACCESS_TOKEN",
"-e",
"JFROG_URL",
"mcp/jfrog"
],
"env": {
"JFROG_ACCESS_TOKEN": "<YOUR_TOKEN>",
"JFROG_URL": "https://your-instance.jfrog.io" // Your JFrog platform URL
}
}
}
}
Use with Claude Desktop
Add the following to your claude_desktop_config.json
:
{
"mcpServers": {
"jfrog": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"JFROG_ACCESS_TOKEN",
"-e",
"JFROG_URL",
"mcp/jfrog"
],
"env": {
"JFROG_ACCESS_TOKEN": "<YOUR_TOKEN>",
"JFROG_URL": "https://your-instance.jfrog.io" // Your JFrog platform URL
}
}
}
}
{
"mcpServers": {
"MCP-JFrog": {
"command": "npm",
"args": [
"exec",
"-y",
"github:jfrog/mcp-jfrog"
],
"env": {
"JFROG_ACCESS_TOKEN": "ACCESS_TOKEN",
"JFROG_URL": "https://<YOUR_JFROG_INSTANCE_URL>"
}
}
}
}
This MCP server is licensed under the Apache License 2.0. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the Apache License 2.0. For more details, please see the LICENSE.md file in the project repository.