Skip to main content
Glama
jfrog

JFrog MCP Server

Official
by jfrog

jfrog_list_running_images

Identify all active container images across runtime clusters, displaying their security and operational status with configurable filters, statistics, and time-based queries for streamlined management.

Instructions

List all running container images across runtime clusters with their security and operational status

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filtersNoFilters to apply
num_of_rowsNoNumber of rows to return
page_numNoPage number
statisticsNoWhether to include statistics
timePeriodNoTime period to querynow

Implementation Reference

  • Core handler function that builds the query parameters and performs the API request to list running JFrog Runtime images, parsing the response with the output schema.
    export async function getRunningImages(params: z.infer<typeof ListRunningImagesSchema>) { const queryString = new URLSearchParams({ num_of_rows: params.num_of_rows.toString(), statistics: params.statistics.toString(), timePeriod: params.timePeriod, filters: params.filters, page_num: params.page_num.toString() }).toString(); const response = await jfrogRequest(`/runtime/api/v1/live/images?${queryString}`, { method: "GET" }); return JFrogRuntimeImagesResponseSchema.parse(response); }
  • Zod input schema defining parameters for listing running images: num_of_rows, statistics, timePeriod, filters, page_num.
    export const ListRunningImagesSchema = z.object({ num_of_rows: z.number().int().default(100).describe("Number of rows to return"), statistics: z.boolean().default(true).describe("Whether to include statistics"), timePeriod: z.string().default("now").describe("Time period to query"), filters: z.string().default("").describe("Filters to apply"), page_num: z.number().int().default(1).describe("Page number") });
  • tools/runtime.ts:77-86 (registration)
    Tool registration object specifying the name, description, input schema, and a thin handler that parses args and delegates to getRunningImages.
    const listRunningImagesTool = { name: "jfrog_list_running_images", description: "List all running container images across runtime clusters with their security and operational status", inputSchema: zodToJsonSchema(ListRunningImagesSchema), //outputSchema: zodToJsonSchema(JFrogRuntimeImagesResponseSchema), handler: async (args: any) => { const parsedArgs = ListRunningImagesSchema.parse(args); return await getRunningImages(parsedArgs); } };
  • tools/runtime.ts:90-94 (registration)
    Exports the array of runtime tools, registering jfrog_list_running_images alongside others.
    export const RuntimeTools = [ getAllRuntimeClustersTool, getRuntimeClusterTool, listRunningImagesTool ];

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jfrog/mcp-jfrog'

If you have feedback or need assistance with the MCP directory API, please join our Discord server