railway-mcp
by jason-tan-swe
Verified
variable_copy
[WORKFLOW] Copy variables from one environment to another
⚡️ Best for: ✓ Environment migration ✓ Configuration sharing ✓ Environment duplication
⚠️ Not for: × Single variable updates (use variable_set) × Temporary configuration changes
→ Prerequisites: service_list
→ Alternatives: variable_set
→ Next steps: deployment_trigger, service_restart
→ Related: variable_list, service_update
Input Schema
Name | Required | Description | Default |
---|---|---|---|
overwrite | No | Whether to overwrite existing variables in the target environment | |
projectId | Yes | ID of the project | |
serviceId | No | ID of the service (optional, if omitted copies shared variables) | |
sourceEnvironmentId | Yes | ID of the source environment (usually obtained from project_info) | |
targetEnvironmentId | Yes | ID of the target environment (usually obtained from project_info) |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools
- configure_api_token
- database_deploy_from_template
- database_list_types
- deployment_list
- deployment_logs
- deployment_status
- deployment_trigger
- domain_check
- domain_create
- domain_delete
- domain_list
- domain_update
- list_service_variables
- project_create
- project_delete
- project_environments
- project_info
- project_list
- service_create_from_image
- service_create_from_repo
- service_delete
- service_info
- service_list
- service_restart
- service_update
- tcp_proxy_create
- tcp_proxy_delete
- tcp_proxy_list
- variable_bulk_set
- variable_copy
- variable_delete
- variable_set
- volume_create
- volume_delete
- volume_list
- volume_update