Azure Application Insights

On this page

Connects Kotharo to Azure Application Insights for errors and logs. All adapters

What you need

Connect

/kotharo:setup finds Azure Application Insights and takes you through these steps. To connect it by hand:

claude mcp add --scope user azure -- npx -y @azure/mcp@3 server start --namespace monitor --mode all --read-only

Install Node.js, which brings npm and npx. Its install page covers other systems.

macOS:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash
\. "$HOME/.nvm/nvm.sh"
nvm install 24

Windows, in Git Bash:

powershell -c "irm https://community.chocolatey.org/install.ps1|iex"
choco install nodejs --version="24.22.1"

Linux:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash
\. "$HOME/.nvm/nvm.sh"
nvm install 24

Install Azure CLI. Its install page covers other systems.

macOS:

brew update && brew install azure-cli

Windows, in Git Bash:

winget install --exact --id Microsoft.AzureCLI

Linux:

curl -fsSL 'https://azurecliprod.blob.core.windows.net/$root/deb_install.sh' | sudo bash

Sign in

Run az login, then az account set --subscription <subscription> for the one that holds Application Insights. Reading needs Log Analytics Reader on its workspace.

To check you are signed in, run az account show.