az-devops-cli-mcp
Azure DevOps MCP tools for Claude Code and Codex CLI, enabling interaction with boards, work items, repos, and pull requests via natural language.
README
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.server
Restart 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_work_item |
Create Task, Bug, User Story, Epic |
get_work_item |
Get item by ID |
update_work_item |
Update state, assignment, title |
set_iteration |
Assign to sprint (required for Sprint board) |
query_work_items |
WIQL query for bulk lookups |
link_work_items |
Link items (Child, Parent, Related) |
get_work_item_relations |
Verify hierarchy after linking |
add_comment |
Add discussion comment / agent log |
Repos / PRs
| Tool | What it does |
|---|---|
list_prs |
List PRs by status |
get_pr |
Get PR details |
create_pr |
Open a new PR |
link_pr_to_work_item |
Trace PR to work item |
list_branches |
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 |
|---|---|
az devops configure |
Preferred — org set globally for your machine |
AZURE_DEVOPS_ORG env var |
Per-session override |
.env file |
AZURE_DEVOPS_ORG=https://dev.azure.com/YOUR_ORG |
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/
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。