- Home
- MCP servers
- Liara
Liara
- typescript
6
GitHub Stars
typescript
Language
5 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"razavioo-liara-mcp": {
"command": "npx",
"args": [
"-y",
"liara-mcp"
],
"env": {
"LIARA_TEAM_ID": "optional_team_id",
"LIARA_API_TOKEN": "your_api_token_here",
"LIARA_API_BASE_URL": "https://api.iran.liara.ir"
}
}
}
}You run a Liara MCP Server to enable AI assistants to deploy and manage apps, databases, storage, DNS, networks, VMs, and more on Liara through natural language. This MCP server provides broad control over Liara resources from conversations, enabling automated workflows, scalable deployments, and integrated observability.
How to use
You interact with the MCP server through an MCP client. Use natural language prompts to create and manage Liara resources, trigger deployments, adjust environment variables, handle databases and backups, manage object storage, DNS, domains, disks, mail servers, virtual machines, networks, and observability data. Start by authenticating with your API token, then issue commands like creating an app, deploying a release, updating environment variables, or retrieving logs. The MCP server translates your requests into Liara API actions and returns results or guidance.
How to install
Prerequisites: you need Node.js >= 18.0.0 and a valid Liara API token.
Install the MCP server globally using npm or run it directly with npx.
npm install -g liara-mcp
Configuration and usage notes
Configure your MCP client to supply your Liara API token. You can set the token directly in your MCP client configuration or store it in a local environment file.
Available tools
liara_list_apps
List all apps under the Liara account and return basic details for each app.
liara_get_app
Retrieve detailed information about a single app including configuration, status, and deployment history.
liara_create_app
Create a new application on Liara with a specified name and platform.
liara_delete_app
Delete an existing application and its associated resources.
liara_start_app
Start a stopped application to run on its configured platform and resources.
liara_stop_app
Stop a running application to halt its processes without deleting it.
liara_restart_app
Restart an application to apply changes or recover from transient issues.
liara_resize_app
Change the resource plan (CPU/memory) of an existing app.
liara_set_env_vars
Set one or multiple environment variables for an app.
liara_get_env_vars
Retrieve all environment variables for an app.
liara_delete_env_vars
Delete one or more environment variables from an app.
liara_upload_source
Upload source code intended for deployment to an app.
liara_deploy_release
Deploy a released version of an app from uploaded sources.
liara_list_releases
List all releases for an app.
liara_get_release
Get details about a specific release.
liara_rollback_release
Rollback an app to a previous release version.
liara_list_sources
List all uploaded source bundles.
liara_delete_source
Delete an uploaded source bundle.
liara_list_databases
List databases associated with the Liara account.
liara_get_database
Get details for a specific database.
liara_create_database
Create a new database instance (MySQL, PostgreSQL, MongoDB, Redis, etc.).
liara_delete_database
Delete a database instance.
liara_start_database
Start a stopped database instance.
liara_stop_database
Stop a running database instance.
liara_restart_database
Restart a database instance.
liara_get_database_connection
Retrieve connection details (host, port, credentials) for a database.
liara_reset_database_password
Reset or generate a new password for a database.
liara_update_database
Update database settings or upgrade version.
liara_create_backup
Create a backup for a database.
liara_list_backups
List all backups for a database.
liara_get_backup_download_url
Obtain a download URL for a database backup.
liara_restore_backup
Restore a database from a backup.
liara_delete_backup
Delete a database backup.
liara_list_buckets
List all object storage buckets.
liara_get_bucket
Get details for a storage bucket.
liara_create_bucket
Create a new storage bucket.
liara_delete_bucket
Delete a storage bucket.
liara_get_bucket_credentials
Fetch S3-compatible credentials for a bucket.
liara_list_objects
List objects inside a bucket.
liara_upload_object
Upload an object to a bucket.
liara_get_object_download_url
Get a direct download URL for a bucket object.
liara_delete_object
Delete an object from a bucket.
liara_set_zero_downtime
Enable or disable zero-downtime deployments for an app.
liara_set_default_subdomain
Enable or disable the default subdomain for an app.
liara_set_fixed_ip
Enable or disable a static IP for an app.
liara_set_read_only
Enable or disable read-only mode for an app.
liara_list_disks
List disks attached to an app.
liara_get_disk
Get details about a specific disk.
liara_create_disk
Create a new disk for an app.
liara_delete_disk
Delete a disk.
liara_resize_disk
Resize an existing disk.
liara_create_ftp_access
Create FTP access for a disk.
liara_list_ftp_accesses
List FTP access entries for a disk.
liara_delete_ftp_access
Delete FTP access for a disk.
liara_list_zones
List DNS zones.
liara_get_zone
Get details for 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 in a zone.
liara_create_dns_record
Create a DNS record.
liara_get_dns_record
Get details for 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 added to apps.
liara_get_domain
Get details for a domain associated with an app.
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 for a mail server.
liara_create_mail_server
Create a new mail server.
liara_delete_mail_server
Delete 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_send_email
Send an email via a configured mail server.
liara_list_vms
List virtual machines in your account.
liara_get_vm
Get details for a specific VM.
liara_create_vm
Create a new virtual machine.
liara_start_vm
Start a VM.
liara_stop_vm
Stop a VM.
liara_restart_vm
Restart a VM.
liara_delete_vm
Delete a VM.
liara_resize_vm
Resize a VM.
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_get_metrics
Retrieve metrics for an app.
liara_get_logs
Retrieve logs for an app.
liara_list_plans
List available resource plans.
liara_get_plan
Get details for a specific plan.
liara_get_user
Get user account information.