Skip to main content
Glama
jfrog

JFrog MCP Server

Official
by jfrog

jfrog_create_project

Create a new project in the JFrog platform, defining display name, description, admin privileges, storage quota, and project key. Manage access and resources for streamlined project setup.

Instructions

Create a new project in the JFrog platform

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
admin_privilegesYesAdministrative privileges for the project
descriptionYesDescription of the project
display_nameYesDisplay name of the project
project_keyYesUnique identifier for the project, Project key must start with a lowercase letter and only contain lowercase letters
storage_quota_bytesYesStorage quota in bytes (-1 for unlimited)

Implementation Reference

  • The core handler function that executes the JFrog project creation by making a POST request to the API endpoint and parsing the response with the schema.
    export async function createProject(project: z.infer<typeof accessSchemas.CreateProjectSchema>) {
      const response = await jfrogRequest("/access/api/v1/projects", {
        method: "POST",
        body: project
      });
         
      return accessSchemas.CreateProjectSchema.parse(response);
    }
  • Zod schema defining the structure for creating a JFrog project, used for input validation and output parsing.
    export const CreateProjectSchema = z.object({
      display_name: z.string().describe("Display name of the project"),
      description: z.string().describe("Description of the project"),
      admin_privileges: z.object({
        manage_members: z.boolean().describe("Whether project admins can manage members"),
        manage_resources: z.boolean().describe("Whether project admins can manage resources"),
        index_resources: z.boolean().describe("Whether project admins can index resources")
      }).describe("Administrative privileges for the project"),
      storage_quota_bytes: z.number().describe("Storage quota in bytes (-1 for unlimited)"),
      project_key: z.string().describe("Unique identifier for the project, Project key must start with a lowercase letter and only contain lowercase letters")
    });
  • tools/access.ts:61-69 (registration)
    Registers the MCP tool named 'jfrog_create_project' including its name, description, input schema, and handler function that delegates to the createProject implementation.
    const createProjectTool = {
      name: "jfrog_create_project",
      description: "Create a new project in the JFrog platform",
      inputSchema: zodToJsonSchema(accessSchemas.CreateProjectSchema),
      //outputSchema: zodToJsonSchema(accessSchemas.CreateProjectSchema),
      handler: async (args: any) => {
        return await createProject(args);
      }
    };
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure but offers minimal information. It states 'Create' which implies a write/mutation operation, but doesn't disclose permissions needed, whether the operation is idempotent, potential side effects, error conditions, or response format. For a creation tool with 5 required parameters, this leaves significant behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that states the core purpose without unnecessary words. It's appropriately sized for a creation tool and front-loads the essential information. Every word earns its place with zero waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a creation tool with 5 required parameters, no annotations, and no output schema, the description is insufficiently complete. It doesn't explain what happens after creation, potential constraints (like project key format mentioned in schema but not description), authentication requirements, or error handling. The agent lacks critical context for successful invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with each parameter well-documented in the schema itself (e.g., 'Unique identifier for the project', 'Storage quota in bytes (-1 for unlimited)'). The description adds no parameter-specific information beyond what the schema provides, so it meets the baseline of 3 where the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Create') and resource ('new project in the JFrog platform'), making the purpose immediately understandable. It distinguishes this from sibling tools like 'jfrog_list_projects' or 'jfrog_get_specific_project' by specifying creation rather than retrieval. However, it doesn't explicitly differentiate from other creation tools like 'jfrog_create_local_repository' beyond the resource type.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., authentication requirements), when not to use it (e.g., for updating existing projects), or refer to related tools like 'jfrog_list_projects' for checking existing projects before creation. The agent must infer usage from the tool name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Related Tools

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