Automate Render tasks via Rube MCP (Composio): services, deployments, projects. Always search tools first for current schemas.
Add this skill
npx mdskills install sickn33/render-automationComprehensive Render automation with structured workflows and excellent pitfall documentation
1---2name: render-automation3description: "Automate Render tasks via Rube MCP (Composio): services, deployments, projects. Always search tools first for current schemas."4requires:5 mcp: [rube]6---78# Render Automation via Rube MCP910Automate Render cloud platform operations through Composio's Render toolkit via Rube MCP.1112## Prerequisites1314- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)15- Active Render connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `render`16- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas1718## Setup1920**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.2122231. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds242. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `render`253. If connection is not ACTIVE, follow the returned auth link to complete Render authentication264. Confirm connection status shows ACTIVE before running any workflows2728## Core Workflows2930### 1. List and Browse Services3132**When to use**: User wants to find or inspect Render services (web services, static sites, workers, cron jobs)3334**Tool sequence**:351. `RENDER_LIST_SERVICES` - List all services with optional filters [Required]3637**Key parameters**:38- `name`: Filter services by name substring39- `type`: Filter by service type ('web_service', 'static_site', 'private_service', 'background_worker', 'cron_job')40- `limit`: Maximum results per page (default 20, max 100)41- `cursor`: Pagination cursor from previous response4243**Pitfalls**:44- Service types must match exact enum values: 'web_service', 'static_site', 'private_service', 'background_worker', 'cron_job'45- Pagination uses cursor-based approach; follow `cursor` until absent46- Name filter is substring-based, not exact match47- Service IDs follow the format 'srv-xxxxxxxxxxxx'48- Default limit is 20; set higher for comprehensive listing4950### 2. Trigger Deployments5152**When to use**: User wants to manually deploy or redeploy a service5354**Tool sequence**:551. `RENDER_LIST_SERVICES` - Find the service to deploy [Prerequisite]562. `RENDER_TRIGGER_DEPLOY` - Trigger a new deployment [Required]573. `RENDER_RETRIEVE_DEPLOY` - Monitor deployment progress [Optional]5859**Key parameters**:60- For TRIGGER_DEPLOY:61 - `serviceId`: Service ID to deploy (required, format: 'srv-xxxxxxxxxxxx')62 - `clearCache`: Set `true` to clear build cache before deploying63- For RETRIEVE_DEPLOY:64 - `serviceId`: Service ID65 - `deployId`: Deploy ID from trigger response (format: 'dep-xxxxxxxxxxxx')6667**Pitfalls**:68- `serviceId` is required; resolve via LIST_SERVICES first69- Service IDs start with 'srv-' prefix70- Deploy IDs start with 'dep-' prefix71- `clearCache: true` forces a clean build; takes longer but resolves cache-related issues72- Deployment is asynchronous; use RETRIEVE_DEPLOY to poll status73- Triggering a deploy while another is in progress may queue the new one7475### 3. Monitor Deployment Status7677**When to use**: User wants to check the progress or result of a deployment7879**Tool sequence**:801. `RENDER_RETRIEVE_DEPLOY` - Get deployment details and status [Required]8182**Key parameters**:83- `serviceId`: Service ID (required)84- `deployId`: Deployment ID (required)85- Response includes `status`, `createdAt`, `updatedAt`, `finishedAt`, `commit`8687**Pitfalls**:88- Both `serviceId` and `deployId` are required89- Deploy statuses include: 'created', 'build_in_progress', 'update_in_progress', 'live', 'deactivated', 'build_failed', 'update_failed', 'canceled'90- 'live' indicates successful deployment91- 'build_failed' or 'update_failed' indicate deployment errors92- Poll at reasonable intervals (10-30 seconds) to avoid rate limits9394### 4. Manage Projects9596**When to use**: User wants to list and organize Render projects9798**Tool sequence**:991. `RENDER_LIST_PROJECTS` - List all projects [Required]100101**Key parameters**:102- `limit`: Maximum results per page (max 100)103- `cursor`: Pagination cursor from previous response104105**Pitfalls**:106- Projects group related services together107- Pagination uses cursor-based approach108- Project IDs are used for organizational purposes109- Not all services may be assigned to a project110111## Common Patterns112113### ID Resolution114115**Service name -> Service ID**:116```1171. Call RENDER_LIST_SERVICES with name=service_name1182. Find service by name in results1193. Extract id (format: 'srv-xxxxxxxxxxxx')120```121122**Deployment lookup**:123```1241. Store deployId from RENDER_TRIGGER_DEPLOY response1252. Call RENDER_RETRIEVE_DEPLOY with serviceId and deployId1263. Check status for completion127```128129### Deploy and Monitor Pattern130131```1321. RENDER_LIST_SERVICES -> find service by name -> get serviceId1332. RENDER_TRIGGER_DEPLOY with serviceId -> get deployId1343. Loop: RENDER_RETRIEVE_DEPLOY with serviceId + deployId1354. Check status: 'live' = success, 'build_failed'/'update_failed' = error1365. Continue polling until terminal state reached137```138139### Pagination140141- Use `cursor` from response for next page142- Continue until `cursor` is absent or results are empty143- Both LIST_SERVICES and LIST_PROJECTS use cursor-based pagination144- Set `limit` to max (100) for fewer pagination rounds145146## Known Pitfalls147148**Service IDs**:149- Always prefixed with 'srv-' (e.g., 'srv-abcd1234efgh')150- Deploy IDs prefixed with 'dep-' (e.g., 'dep-d2mqkf9r0fns73bham1g')151- Always resolve service names to IDs via LIST_SERVICES152153**Service Types**:154- Must use exact enum values when filtering155- Available types: web_service, static_site, private_service, background_worker, cron_job156- Different service types have different deployment behaviors157158**Deployment Behavior**:159- Deployments are asynchronous; always poll for completion160- Clear cache deploys take longer but resolve stale cache issues161- Failed deploys do not roll back automatically; the previous version stays live162- Concurrent deploy triggers may be queued163164**Rate Limits**:165- Render API has rate limits166- Avoid rapid polling; use 10-30 second intervals167- Bulk operations should be throttled168169**Response Parsing**:170- Response data may be nested under `data` key171- Timestamps use ISO 8601 format172- Parse defensively with fallbacks for optional fields173174## Quick Reference175176| Task | Tool Slug | Key Params |177|------|-----------|------------|178| List services | RENDER_LIST_SERVICES | name, type, limit, cursor |179| Trigger deploy | RENDER_TRIGGER_DEPLOY | serviceId, clearCache |180| Get deploy status | RENDER_RETRIEVE_DEPLOY | serviceId, deployId |181| List projects | RENDER_LIST_PROJECTS | limit, cursor |182
Full transparency — inspect the skill content before installing.