Skip to main content
Glama
jfrog

JFrog MCP Server

Official
by jfrog

jfrog_get_specific_project

Retrieve detailed information about a specific project in the JFrog platform by providing the unique project key for streamlined project management and analysis.

Instructions

Get detailed information about a specific project in the JFrog platform

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_keyYesThe unique key of the project to retrieve

Implementation Reference

  • MCP tool definition for 'jfrog_get_specific_project' including name, description, input schema, and handler function that calls the helper getSpecificProjectInformation with the project_key.
    const getSpecificProjectTool = { name: "jfrog_get_specific_project", description: "Get detailed information about a specific project in the JFrog platform", inputSchema: zodToJsonSchema(z.object({ project_key: z.string().describe("The unique key of the project to retrieve") })), //outputSchema: zodToJsonSchema(accessSchemas.JFrogProjectSchema), handler: async (args: any) => { return await getSpecificProjectInformation(args.project_key); } };
  • Helper function that performs the actual API request to retrieve specific project details and parses the response using JFrogProjectSchema.
    export async function getSpecificProjectInformation(projectKey: string) { const response = await jfrogRequest(`/access/api/v1/projects/${projectKey}`, { method: "GET", }); return accessSchemas.JFrogProjectSchema.parse(response); }
  • Zod schema JFrogProjectSchema used to validate and parse the output from the JFrog project API response.
    export const JFrogProjectSchema = z.object({ display_name: z.string().describe("Display name of the project"), description: z.string().describe("Project description"), admin_privileges: z.object({ manage_members: z.boolean().describe("Whether admin can manage members"), manage_resources: z.boolean().describe("Whether admin can manage resources"), index_resources: z.boolean().describe("Whether admin can index resources") }), storage_quota_bytes: z.number().describe("Storage quota in bytes"), soft_limit: z.boolean().describe("Whether soft limit is enabled"), storage_quota_email_notification: z.boolean().describe("Whether storage quota email notifications are enabled"), project_key: z.string().describe("Unique key of the project") });
  • tools/access.ts:85-90 (registration)
    Registration of the tool in the AccessTools array, which is later spread into the main tools list.
    export const AccessTools = [ getAllEnvironmentsTool, listAllProjectsTool, createProjectTool, getSpecificProjectTool ];
  • tools/index.ts:13-23 (registration)
    Main tools array where AccessTools (containing jfrog_get_specific_project) is registered by spreading.
    export const tools =[ ...RepositoryTools, ...BuildsTools, ...RuntimeTools, ...AccessTools, ...AQLTools, ...CatalogTools, ...CurationTools, ...PermissionsTools, ...ArtifactSecurityTools, ];

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