cd /news/ai-agents/azure-devops-mcp-server-setup-for-cl… · home › topics › ai-agents › article
[ARTICLE · art-178008] src=calyban.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Azure DevOps MCP server: setup for Claude Code, Codex and Copilot

Microsoft's official Azure DevOps MCP server, distributed as the npm package @azure-devops/mcp, is configured by running `npx -y @azure-devops/mcp contoso` with the organization name as the argument, and a dev blog dated 2026-11-28 documents setup for Claude Code, Codex and GitHub Copilot in VS Code. The post highlights the `-d` flag, which restricts loading to selected tool groups among core, work, work-items, search, test-plans, repositories, wiki, pipelines and advanced-security, because every connected tool's description is sent with every agent request and some clients cap the number of tools they accept. The post also warns that Copilot's `.vscode/mcp.json` uses the top-level key `servers` rather than `mcpServers`, so a Cursor-style block is silently ignored.

key takeaway

Load only the Azure DevOps MCP tool groups you need with the `-d` flag (e.g. `-d core repositories` for PR review) because every connected tool's description is sent with every agent request and some clients cap accepted tool counts.

by read2 min views3 publishedNov 28, 2026
Azure DevOps MCP server: setup for Claude Code, Codex and Copilot
Image: source

Dev blog · Guides · 2026-11-28

Short answer: Microsoft’s official server is @azure-devops/mcp. Run it with your organization name as the argument: npx -y @azure-devops/mcp contoso. The first time it runs, it asks you to sign in with a Microsoft account that can see that organization. Add -d core work work-items to load only the tool groups you need.

The -d flag is the part worth reading this post for.

Or let Calyban set it up: it asks for your organization name once and writes the server into every agent you pick, in each one’s own format. Free, no account.

Claude Code #

claude mcp add azure-devops -- npx -y @azure-devops/mcp contoso

Replace contoso with your organization (the bit after dev.azure.com/). On Windows, put cmd /c before npx.

Codex #

[mcp_servers.azure-devops]
command = "npx"
args = ["-y", "@azure-devops/mcp", "contoso"]

GitHub Copilot in VS Code #

Copilot reads .vscode/mcp.json, and its top-level key is servers, not mcpServers:

{
  "servers": {
    "ado": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@azure-devops/mcp", "contoso"]
    }
  }
}

Paste a Cursor-style mcpServers block here and VS Code silently ignores it.

Load fewer tools with -d #

The full server covers work items, repos, pull requests, pipelines, wikis, test plans, search and Advanced Security, which is a lot of tools. Every connected tool’s description is sent with every request your agent makes, used or not, and some clients cap how many tools they accept at all.

So load only the groups you’ll use. The domains are core, work, work-items, search, test-plans, repositories, wiki, pipelines and advanced-security:

claude mcp add azure-devops -- npx -y @azure-devops/mcp contoso -d core work work-items

A PR-review setup might be -d core repositories; a release engineer might want -d core pipelines. Leave -d out and you get everything.

Things to ask it #

  • “List my active work items in the current sprint.”
  • “Summarize the open pull requests on the api repo and who’s reviewing them.”
  • “Why did last night’s pipeline run fail?”
  • “Get the wiki page /API/Authentication.”

The Calyban way #

Open Azure DevOps in Calyban and press Install. It asks for your organization name, then writes the server into each agent you pick, in that agent’s own format, with the cmd /c wrapper on Windows. Afterwards, Capabilities shows what the server’s tool descriptions add to every request and how often your agent actually calls it, which tells you whether a smaller -d list would pay off.

For Azure DevOps on some projects only, choose One folder in the install dialog and it goes into that repo alone.

Calyban is free for Windows and Linux at /#download. Questions go to Discord.

── more in #ai-agents 4 stories · sorted by recency
── more on @microsoft 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/azure-devops-mcp-ser…] indexed:0 read:2min 2026-11-28 · —