azure-devops
Connection selection
Use authenticated Azure DevOps MCP tools first when they are available in the agent's environment. Detect this by tool availability, without depending on a particular MCP server name. Use the token and direct API instructions below only when Azure DevOps MCP tools are unavailable or when raw API or curl access is explicitly needed.
You have access to an environment variable, AZURE_DEVOPS_TOKEN, which allows you to interact with
the Azure DevOps API.
Git
Use plain git clone, git fetch, git pull and git push. OpenHands sets up git credentials for each Azure DevOps organization the user belongs to, so these commands work for any repository in those organizations, not only the one that was opened. Run them with GIT_TERMINAL_PROMPT=0 so git fails at once instead of waiting at a username or password prompt.
A repository written as ORG/PROJECT/REPO is cloned from https://dev.azure.com/ORG/PROJECT/_git/REPO: