com um clique
deploy
// Deploy ServerKit to the production server via SSH. Runs update, rebuilds frontend, restarts services, and performs health checks. Use when pushing changes to production.
// Deploy ServerKit to the production server via SSH. Runs update, rebuilds frontend, restarts services, and performs health checks. Use when pushing changes to production.
Scan LESS stylesheets for variable errors — undefined variables, CSS custom properties passed to compile-time functions (fade, darken, lighten, etc.), and incorrect variable name patterns. Reports issues with file, line, and fix.
Generate a pull request title and description from the current branch's commits. Produces a concise summary, optional feature highlights, and collapsible technical details.
Scan backend services for subprocess bugs — missing sudo, missing exception handling on distro-specific commands, raw subprocess calls bypassing system utilities, and container/environment assumptions that break in LXC or restricted environments. Reports issues with file, line, and fix.
Inspect the ServerKit SQLite database — show tables, schemas, row counts, and run queries. Runs via WSL for local dev or SSH MCP for production. Use when debugging data issues or understanding the current database state.
Scaffold a new full-stack feature for ServerKit with Flask backend (model, service, API blueprint) and React frontend (page, styles, route). Use when creating new modules, pages, or API endpoints.
| name | deploy |
| description | Deploy ServerKit to the production server via SSH. Runs update, rebuilds frontend, restarts services, and performs health checks. Use when pushing changes to production. |
| disable-model-invocation | true |
| argument-hint | [branch] |
| allowed-tools | mcp__ssh-mcp__exec, mcp__ssh-mcp__sudo-exec, Bash |
Deploy ServerKit to the production server. Target branch: ${ARGUMENTS:-main}
Run these on the remote server via SSH MCP:
serverkit version
serverkit status
serverkit update --branch ${ARGUMENTS:-main}
This will:
curl -s http://127.0.0.1:5000/api/v1/system/health
curl -s http://localhost
serverkit status
Report clearly:
journalctl -u serverkit -n 20 --no-pagerIf any health check fails:
journalctl -u serverkit -n 50 --no-pagercd /opt/serverkit && docker compose logs --tail=50serverkit update --branch main --force