CLI Reference
Complete reference for all azd app commands and flags.
Global Flags
These flags are available for all commands:
| Flag | Short | Description |
|---|---|---|
--output | -o | Output format (default, json) |
--debug | - | Enable debug logging |
--structured-logs | - | Enable structured JSON logging to stderr |
Commands
azd app reqs Full Docs Verifies that all required tools are installed and optionally checks if they are running. Can also auto-generate requirements from your project.
azd app deps Full Docs Automatically detects your project type and installs all dependencies.
azd app run Full Docs Starts your development environment based on project type with support for multi-service orchestration.
azd app start Full Docs Start stopped services.
azd app stop Full Docs Stop running services.
azd app restart Full Docs Restart services.
azd app health Full Docs Monitor the health status of running services with production-grade reliability and observability features.
azd app logs Full Docs View logs from running services with filtering and follow support.
azd app info Full Docs Show comprehensive information about running services.
azd app mcp Full Docs Model Context Protocol (MCP) server for AI assistant integration. Enables AI assistants like Claude Desktop and GitHub Copilot to interact with your azd app projects.
azd app notifications Full Docs View and manage notifications for service state changes and events.
azd app version Full Docs Show version information for the azd app extension.
Quick Reference
# Check prerequisitesazd app reqs
# Install dependenciesazd app deps
# Start development environmentazd app run
# Monitor service healthazd app health --stream
# View logsazd app logs --follow
# Show running servicesazd app info
# Start MCP server for AI debuggingazd app mcp serveEnvironment Variables
When running through azd app <command>,
these Azure environment variables are automatically available:
| Variable | Description |
|---|---|
AZURE_SUBSCRIPTION_ID | Current Azure subscription |
AZURE_RESOURCE_GROUP_NAME | Target resource group |
AZURE_ENV_NAME | Environment name |
AZURE_LOCATION | Azure region |
AI-Powered Debugging with MCP
The azd app mcp command
enables AI assistants like GitHub Copilot to interact with your running services.