Create an environment. Requires project.environments.manage.
Arguments
project_referencestringProject ID or slug
namestringrequiredEnvironment name (e.g., staging, production). New environments are private.
domainsarray of stringOptional list of custom domains
Responses
curl -X POST -N "https://api.veryfront.com/mcp" \ -H "Authorization: Bearer $VERYFRONT_API_KEY" \ -H "Accept: application/json, text/event-stream" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "veryfront__create_environment", "arguments": { "name": "string" } }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"id\":\"00000000-0000-0000-0000-000000000000\",\"name\":\"string\",\"project_id\":\"00000000-0000-0000-0000-000000000000\",\"protected\":false,\"domains\":[\"string\"]}" } ], "structuredContent": { "id": "00000000-0000-0000-0000-000000000000", "name": "string", "project_id": "00000000-0000-0000-0000-000000000000", "protected": false, "domains": [ "string" ] } }}The tool ran; its output is result.structuredContent.