Some commands can automatically detect the current project:
Copy
# In a directory with .leanmcp/config.jsoncd ~/my-mcp-project# These work without specifying project ID:mcli projects build $(cat .leanmcp/config.json | jq -r '.project.id')mcli projects show $(cat .leanmcp/config.json | jq -r '.project.id')
# List all projects and show their statusmcli projects list# Get detailed info for each projectfor id in $(mcli projects list --json | jq -r '.[].id'); do echo "=== Project $id ===" mcli projects show $iddone