Create environment

veryfront__create_environment

Requires project.environments.manage.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
project_referencestringNoProject ID or slug
namestringYesEnvironment name (e.g., staging, production). New environments are private.
domainsstring[]NoOptional list of custom domains

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__create_environment",
    "arguments": {
      "name": "example"
    }
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
idstringYesUnique identifier for the returned record. Format: uuid.
namestringYesHuman-readable name for the returned record.
project_idstringYesProject identifier associated with this result.
protectedbooleanYes
domainsstring[]YesCustom domains attached to the environment.

Full schemas

json
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "name": {
      "type": "string",
      "description": "Environment name (e.g., staging, production). New environments are private."
    },
    "domains": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "One domain item supplied to the tool."
      },
      "description": "Optional list of custom domains"
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false,
  "description": "Arguments for the create_environment tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for the returned record."
    },
    "name": {
      "type": "string",
      "description": "Human-readable name for the returned record."
    },
    "project_id": {
      "$ref": "#/properties/id",
      "description": "Project identifier associated with this result."
    },
    "protected": {
      "type": "boolean"
    },
    "domains": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Custom domains attached to the environment."
    }
  },
  "required": [
    "id",
    "name",
    "project_id",
    "protected",
    "domains"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the create_environment tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}