Skip to main content
Glama
Infisical MCP Server

Infisical MCP Server

Official
by Infisical

create-project

Creates a new Infisical project to store secrets or manage certificates, keys, or secret scanning; returns its ID and environment slugs for use in other tools.

Instructions

Create a new project. Projects store secrets unless another type is given, and a secret-manager project starts with the environments dev, staging and prod. The response has the new project's ID and environment slugs, which the other tools take. Infisical allows several projects with the same name, so check list-projects first rather than creating a project again.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectName": "<projectName>"
    },
    "name": "create-project"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoA URL-friendly identifier of lowercase letters, numbers and hyphens. When left out, Infisical generates one from the name with a random suffix
typeNoWhat the project is for. Defaults to secret-manager, for storing secrets. cert-manager is for certificates and PKI, kms for managing encryption keys with Infisical KMS, and secret-scanning for scanning code for leaked secrets (one per organization).
kmsKeyIdNoThe ID of an existing KMS key to encrypt this project's data with. Leave out to use Infisical's default key. This does not create a key
descriptionNoA description of the project
projectNameYesThe name of the project
projectTemplateNoThe name of a project template to create the project from. Leave out unless the user names one; templates need a paid plan

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv0.1.0
    • changedInput schema / properties / description / description
      Previous value: -"The description of the project to create"New value: +"A description of the project"
    • changedInput schema / properties / kmsKeyId / description
      Previous value: -"The ID of the KMS key to use for the project. Defaults to Infisical's default KMS"New value: +"The ID of an existing KMS key to encrypt this project's data with. Leave out to use Infisical's default key. This does not create a key"
    • changedInput schema / properties / projectName / description
      Previous value: -"The name of the project to create (required)"New value: +"The name of the project"
    • changedInput schema / properties / projectTemplate / description
      Previous value: -"The template of the project to create"New value: +"The name of a project template to create the project from. Leave out unless the user names one; templates need a paid plan"
    • changedInput schema / properties / slug / description
      Previous value: -"The slug of the project to create"New value: +"A URL-friendly identifier of lowercase letters, numbers and hyphens. When left out, Infisical generates one from the name with a random suffix"
    • changedInput schema / properties / type / description
      Previous value: -"The type of project to create (required). If not specified by the user, ask them to confirm the type they want to use."New value: +"What the project is for. Defaults to secret-manager, for storing secrets. cert-manager is for certificates and PKI, kms for managing encryption keys with Infisical KMS, and secret-scanning for scanning code for leaked secrets (one per organization)."
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "secret-manager",
      -  "cert-manager",
      -  "kms",
      -  "secret-scanning",
      -  "pam"
      -]New value: +[
      +  "secret-manager",
      +  "cert-manager",
      +  "kms",
      +  "secret-scanning"
      +]
    • changedInput schema / required
      Previous value: -[
      -  "projectName",
      -  "type"
      -]New value: +[
      +  "projectName"
      +]
  2. Changed1 schema field changedv0.0.24
    • addedInput schema / properties / type / enum
      Added value: +[
      +  "secret-manager",
      +  "cert-manager",
      +  "kms",
      +  "secret-scanning",
      +  "pam"
      +]
  3. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, idempotentHint=false and destructiveHint=false; the description adds the real behavioral payload: a secret-manager project is provisioned with dev, staging and prod environments, the type defaults to secret-manager, and the response carries the ID and environment slugs other tools consume. It stops short of stating org-role/permission requirements or whether creation can be undone.

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

Conciseness4/5

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

Four sentences, front-loaded with the action and free of filler; each sentence adds a distinct fact (default resource, seeded environments, response contents, duplicate risk). Slight redundancy with the schema on the type default keeps it from a 5.

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

Completeness4/5

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

With 6 params at 100% schema coverage and no output schema, the description fills the important gaps: what gets created implicitly (environments), what comes back (ID, slugs), and the duplicate hazard with its guardrail. Only the access/permission preconditions are absent, which keeps it just under full completeness.

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 coverage is 100%, so every one of the six parameters already has a description, and the description largely restates those defaults (type defaults to secret-manager, template needs a paid plan). Its one addition, that the returned ID and environment slugs are what the other tools consume, is return-oriented rather than parameter semantics, so the baseline of 3 is right.

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

Purpose5/5

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

Opens with a specific verb and resource ("Create a new project") and immediately explains what a project is and what the default variant stores. The duplicate-name note plus the pointer to list-projects clearly separates it from the read-side sibling.

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

Usage Guidelines5/5

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

Gives an explicit when-not: "Infisical allows several projects with the same name, so check list-projects first rather than creating a project again." It also conditions the optional template parameter ("leave out unless the user names one") and the kmsKeyId default, so an agent knows the safe minimal call path.

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