az-devops-cli-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@az-devops-cli-mcpshow my open pull requests"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
az-devops-cli-mcp
Azure DevOps MCP tools for Claude Code and Codex CLI — boards, work items, repos, and PRs.
Install & Register
# 1. Install
pip install az-devops-cli-mcp
# 2. Login (once per machine)
az login
az devops configure --defaults organization=https://dev.azure.com/YOUR_ORG
# 3. Register with Claude Code
claude mcp add az-devops-cli-mcp -- python -m az_devops_cli_mcp.server
# 4. Register with Codex CLI
codex mcp add az-devops-cli-mcp -- python -m az_devops_cli_mcp.serverRestart Claude Code or Codex CLI. All 13 tools are ready.
How It Works
The server runs as a stdio process — spawned on demand by the client, no ports or background services needed.
Claude Code / Codex CLI
| spawns on demand
v
python -m az_devops_cli_mcp.server (stdin/stdout)
|
v
az CLI (your az login session)Available Tools (13 total)
Work Items
Tool | What it does |
| Create Task, Bug, User Story, Epic |
| Get item by ID |
| Update state, assignment, title |
| Assign to sprint (required for Sprint board) |
| WIQL query for bulk lookups |
| Link items (Child, Parent, Related) |
| Verify hierarchy after linking |
| Add discussion comment / agent log |
Repos / PRs
Tool | What it does |
| List PRs by status |
| Get PR details |
| Open a new PR |
| Trace PR to work item |
| List repo branches |
AG2 Usage (optional)
from autogen import ConversableAgent
from az_devops_cli_mcp import ALL_TOOLS, WORK_ITEM_TOOLS, REPO_TOOLS
agent = ConversableAgent(
name="devops_agent",
tools=ALL_TOOLS,
system_message="You manage Azure DevOps for LytStore..."
)Configuration
Method | How |
| Preferred — org set globally for your machine |
| Per-session override |
|
|
Safety
Destructive commands (delete, remove, destroy) are blocked at the core layer.
The agent returns an error and requires explicit user confirmation.
Manual MCP Config (fallback)
If claude mcp add / codex mcp add aren't available, add this to your config file manually.
Claude Code — ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"az-devops-cli-mcp": {
"type": "stdio",
"command": "python",
"args": ["-m", "az_devops_cli_mcp.server"]
}
}
}Codex CLI — ~/.codex/config.json: same block.
Contributing
git clone https://github.com/PraiseSinkamba/az-devops-cli-mcp
cd az-devops-cli-mcp
pip install -e ".[dev]"
pytest tests/This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PraiseSinkamba/az-devops-cli-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server