Skip to main content
Glama

create_environment

Create a new environment with custom variables to manage API configurations and testing workflows for backend development.

Instructions

Create a new environment with variables

Input Schema

NameRequiredDescriptionDefault
nameYesEnvironment name
descriptionNoEnvironment description
variablesNoEnvironment variables (JSON string, object, or comma-separated key=value pairs)
isDefaultNoSet as default environment
projectIdNoProject ID (optional, will use current project if not provided)

Input Schema (JSON Schema)

{ "properties": { "description": { "description": "Environment description", "type": "string" }, "isDefault": { "default": false, "description": "Set as default environment", "type": "boolean" }, "name": { "description": "Environment name", "type": "string" }, "projectId": { "description": "Project ID (optional, will use current project if not provided)", "type": "string" }, "variables": { "description": "Environment variables (JSON string, object, or comma-separated key=value pairs)", "type": "string" } }, "required": [ "name" ], "type": "object" }

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/martin-1103/mcp2'

If you have feedback or need assistance with the MCP directory API, please join our Discord server