Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LIARA_TEAM_ID | No | Optional team ID if you're working with a team account | |
| LIARA_API_TOKEN | Yes | Your Liara API token (required). Get it from the API section in Liara Console (https://console.liara.ir/API) | |
| LIARA_API_BASE_URL | No | Liara API base URL | https://api.iran.liara.ir |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| liara_list_apps | List all apps/projects in your Liara account |
| liara_get_app | Get detailed information about a specific app |
| liara_create_app | Create a new app |
| liara_delete_app | Delete an app |
| liara_start_app | Start an app (scale up) |
| liara_stop_app | Stop an app (scale down) |
| liara_restart_app | Restart an app |
| liara_resize_app | Change app plan (resize resources) |
| liara_set_env_vars | Set or update environment variables for an app |
| liara_set_env_var | Set a single environment variable for an app |
| liara_get_env_vars | Get all environment variables for an app |
| liara_delete_env_var | Delete/unset an environment variable for an app |
| liara_delete_env_vars | Delete/unset multiple environment variables for an app |
| liara_set_zero_downtime | Enable or disable zero-downtime deployment for an app |
| liara_set_default_subdomain | Enable or disable default subdomain for an app |
| liara_set_fixed_ip | Enable or disable static IP for an app (returns IP when enabling) |
| liara_set_read_only | Enable or disable read-only mode for an app |
| liara_upload_source | Upload source code (.tar.gz file) for deployment |
| liara_deploy_release | Deploy a release using a source ID |
| liara_list_releases | List all releases for an app |
| liara_get_release | Get details of a specific release |
| liara_rollback_release | Rollback to a previous release |
| liara_list_sources | List all uploaded sources for an app |
| liara_delete_source | Delete an uploaded source |
| liara_list_databases | List all databases in your Liara account |
| liara_get_database | Get details of a specific database |
| liara_get_database_connection | Get database connection information (host, port, credentials) |
| liara_update_database | Update database settings such as plan (resize) or version |
| liara_create_database | Create a new database |
| liara_delete_database | Delete a database |
| liara_start_database | Start a database |
| liara_stop_database | Stop a database |
| liara_resize_database | Change database plan (resize resources) |
| liara_create_backup | Create a database backup |
| liara_list_backups | List backups for a database |
| liara_get_backup_download_url | Get download URL for a database backup |
| liara_restart_database | Restart a database |
| liara_restore_backup | Restore a database from a backup |
| liara_delete_backup | Delete a database backup |
| liara_list_buckets | List all storage buckets |
| liara_get_bucket | Get details of a specific bucket |
| liara_create_bucket | Create a new storage bucket |
| liara_delete_bucket | Delete a storage bucket |
| liara_get_bucket_credentials | Get S3-compatible credentials for a bucket |
| liara_list_objects | List objects in a bucket |
| liara_upload_object | Upload an object to a bucket |
| liara_get_object_download_url | Get download URL for an object |
| liara_delete_object | Delete an object from a bucket |
| liara_list_plans | List available plans (apps, databases, or VMs) |
| liara_get_plan | Get details of a specific plan |
| liara_list_zones | List all DNS zones |
| liara_get_zone | Get details of a DNS zone |
| liara_create_zone | Create a new DNS zone |
| liara_delete_zone | Delete a DNS zone |
| liara_list_dns_records | List DNS records for a zone |
| liara_create_dns_record | Create a DNS record |
| liara_get_dns_record | Get details of a DNS record |
| liara_update_dns_record | Update a DNS record |
| liara_delete_dns_record | Delete a DNS record |
| liara_list_domains | List all domains attached to apps |
| liara_get_domain | Get details of a domain |
| liara_add_domain | Add a domain to an app |
| liara_remove_domain | Remove a domain from an app |
| liara_list_mail_servers | List all mail servers |
| liara_get_mail_server | Get details of a mail server |
| liara_create_mail_server | Create a new mail server |
| liara_delete_mail_server | Delete a mail server |
| liara_send_email | Send an email via a mail server |
| liara_start_mail_server | Start a mail server |
| liara_stop_mail_server | Stop a mail server |
| liara_restart_mail_server | Restart a mail server |
| liara_list_vms | List all virtual machines |
| liara_get_vm | Get details of a virtual machine |
| liara_create_vm | Create a new virtual machine |
| liara_start_vm | Start a virtual machine |
| liara_stop_vm | Stop a virtual machine |
| liara_restart_vm | Restart a virtual machine |
| liara_delete_vm | - |
| liara_delete_vm | Delete a virtual machine |
| liara_resize_vm | Resize a virtual machine (change plan) |
| liara_create_snapshot | Create a VM snapshot |
| liara_list_snapshots | List VM snapshots |
| liara_restore_snapshot | Restore a VM from a snapshot |
| liara_delete_snapshot | Delete a VM snapshot |
| liara_attach_network | Attach a network to a VM |
| liara_detach_network | Detach a network from a VM |
| liara_list_disks | List disks for an app |
| liara_create_disk | Create a new disk for an app |
| liara_delete_disk | Delete a disk |
| liara_get_disk | Get details of a specific disk |
| liara_resize_disk | Resize a disk |
| liara_create_ftp_access | Create FTP access for a disk |
| liara_list_ftp_accesses | List FTP accesses for a disk |
| liara_delete_ftp_access | Delete/revoke FTP access for a disk |
| liara_list_networks | List all networks |
| liara_get_network | Get details of a network |
| liara_create_network | Create a new network |
| liara_delete_network | Delete a network |
| liara_get_user | Get comprehensive user information including plans and teams |
| liara_get_metrics | Get app metrics summary |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |