adtk auth
The auth, status, and logout commands manage your Azure DevOps credentials. Credentials are stored locally in a config file and used by all other commands and the MCP server.
Interactive login that prompts for your organization name and Personal Access Token (PAT).
adtk authYou will need:
- Your Azure DevOps organization name (e.g.
myorgfordev.azure.com/myorg) - A Personal Access Token from
https://dev.azure.com/{org}/_usersSettings/tokens
status
Section titled “status”Show the current authentication status, including organization, URL, and credential source.
adtk statusExample output:
Authenticated via stored credentials Organization: myorg URL: https://dev.azure.com/myorg PAT: abcd...wxyz Saved: 2025-01-15 10:30:00 File: /home/user/.config/adtk/credentials.jsonIf authenticated via environment variables:
Authenticated via environment variables Organization: myorg URL: https://dev.azure.com/myorglogout
Section titled “logout”Remove stored credentials from the local config file.
adtk logoutLogged out. Credentials removed.