Create Application
Follow the mcp-patterns skill (${CLAUDE_PLUGIN_ROOT}/skills/mcp-patterns/SKILL.md) for the application tool parameters and usage notes; read it before the first call.
Create a new application in an existing Dokploy project.
Arguments
Format: <name> --project <project> [--env <environment-name>] [--build <nixpacks|dockerfile|static>]
- name: Application name (required)
- --project: Project name or ID (required)
- --env: Environment name within the project (optional, default:
production) - --build: Build type — nixpacks, dockerfile, heroku, paketo, railpack, or static (default: nixpacks)
Parse from "$ARGUMENTS".
Process
Resolve project: If --project is a name, call
project-alland find matching project.Resolve the target environment:
project-one { projectId }→environments[](defaultproduction); orenvironment-byProjectId { projectId }. If--envis given, match by name; if several environments exist and none is specified, ask the user.Create application using MCP tool
application-createwith:name: the app nameappName: kebab-case version of name (for Docker container naming)environmentId: resolved environment ID (NOT projectId)
Set build type using MCP tool
application-saveBuildTypeif --build is specified.Display result: Show application ID, name, project, environment, build type. Suggest next steps: connect git repo, set env vars, add domain, deploy.
Example Usage
/dokploy-dev:create-app "web-frontend" --project my-saas
/dokploy-dev:create-app "api-server" --project my-saas --build dockerfile
/dokploy-dev:create-app "landing-page" --project marketing --build static