# Available AI tools

> A complete reference of all MCP tools available for managing your Ploi Cloud applications with AI.

Available AI tools
-------------------

When you connect your AI tool to Ploi Cloud via MCP, it automatically gets access to all API operations as tools. These are grouped by category below.

### Applications

| Tool | Description |
|------|-------------|
| `applications_index` | List all your applications |
| `applications_store` | Create a new application |
| `applications_show` | Get application details |
| `applications_update` | Update application settings |
| `applications_destroy` | Delete an application |
| `applications_status` | Check application running status |
| `applications_deploy` | Trigger a new deployment |
| `applications_resume` | Resume a suspended application |
| `applications_suspend` | Suspend an application |
| `applications_logs` | View application runtime logs |

### Build configuration

| Tool | Description |
|------|-------------|
| `applications_build-config_index` | View current build configuration |
| `applications_build-config_update` | Update build and init commands |
| `applications_php-config_update` | Set PHP version and extensions |
| `applications_settings_update` | Update memory, health check, and other settings |
| `applications_resources_update` | Update CPU and memory resource limits |
| `applications_repository_update` | Change repository URL or branch |

### Deployments

| Tool | Description |
|------|-------------|
| `applications_deployments_index` | List all deployments |
| `applications_deployments_show` | Get deployment details |
| `applications_deployments_logs` | View deployment logs |
| `applications_rollback` | Roll back to a previous deployment |

### Services

| Tool | Description |
|------|-------------|
| `v1_applications_services_index` | List services for an application |
| `v1_applications_services_store` | Add a service (MySQL, Redis, etc.) |
| `v1_applications_services_update` | Update a service |
| `v1_applications_services_destroy` | Remove a service |
| `applications_services_logs` | View service logs |
| `applications_services_restart` | Restart a service |

### Secrets (environment variables)

| Tool | Description |
|------|-------------|
| `applications_secrets_index` | List all secrets |
| `applications_secrets_store` | Create a new secret |
| `applications_secrets_update` | Update an existing secret |
| `applications_secrets_destroy` | Delete a secret |
| `applications_secrets_injected` | View auto-injected variables from services |

### Domains

| Tool | Description |
|------|-------------|
| `applications_domains_index` | List domains |
| `applications_domains_store` | Add a custom domain |
| `applications_domains_destroy` | Remove a domain |
| `applications_domains_ssl-status` | Check SSL certificate status |

### Volumes

| Tool | Description |
|------|-------------|
| `applications_volumes_index` | List volumes |
| `applications_volumes_store` | Create a persistent volume |
| `applications_volumes_update` | Update volume settings |
| `applications_volumes_show` | View volume details |

### Source uploads

| Tool | Description |
|------|-------------|
| `applications_source_upload` | Upload a source archive (.zip or .tar.gz) for upload-type applications |
| `applications_source_download` | Download the current source archive (signed URL) |

### Debugging

| Tool | Description |
|------|-------------|
| `applications_debug_show` | View debug status |
| `applications_debug_summary` | Get a summary of application health |

### Example prompts

Here are some things you can say to your AI tool once connected:

**Deploying:**
- "Deploy my app from github.com/myorg/myapp"
- "Create a new Laravel application called my-project"
- "Deploy the main branch of my repository"

**Services:**
- "Add a MySQL database to my app"
- "Add Redis for caching"
- "What services does my app have?"

**Monitoring:**
- "Show me the logs for my-app"
- "What's the status of my latest deployment?"
- "Why did my deployment fail?"

**Configuration:**
- "Add the environment variable STRIPE_KEY with value sk_live_..."
- "Change the PHP version to 8.3"
- "Increase memory to 1Gi"

**Domains:**
- "Add the domain example.com to my application"
- "Check the SSL status for my domain"

**Management:**
- "List all my applications"
- "Roll back to the previous deployment"
- "Suspend my staging app"
