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
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | A URL-friendly identifier of lowercase letters, numbers and hyphens. When left out, Infisical generates one from the name with a random suffix | |
| type | No | 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). | |
| kmsKeyId | No | 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 | |
| description | No | A description of the project | |
| projectName | Yes | The name of the project | |
| projectTemplate | No | The name of a project template to create the project from. Leave out unless the user names one; templates need a paid plan |