{"slug": "azure-devops-mcp-server-setup-for-claude-code-codex-and-copilot", "title": "Azure DevOps MCP server: setup for Claude Code, Codex and Copilot", "summary": "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.", "body_md": "[Dev blog](https://calyban.com/blog) · [Guides](https://calyban.com/blog#guide) · 2026-11-28\n\n# Azure DevOps MCP server: setup for Claude Code, Codex and Copilot\n\n**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.\n\nThe `-d` flag is the part worth reading this post for.\n\nOr let [Calyban](https://calyban.com/) 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.\n\n## Claude Code\n\n```\nclaude mcp add azure-devops -- npx -y @azure-devops/mcp contoso\n```\n\nReplace `contoso` with your organization (the bit after `dev.azure.com/`). On Windows, put `cmd /c` before `npx`.\n\n## Codex\n\n```\n[mcp_servers.azure-devops]\ncommand = \"npx\"\nargs = [\"-y\", \"@azure-devops/mcp\", \"contoso\"]\n```\n\n## GitHub Copilot in VS Code\n\nCopilot reads `.vscode/mcp.json`, and its top-level key is `servers`, not `mcpServers`:\n\n```\n{\n  \"servers\": {\n    \"ado\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@azure-devops/mcp\", \"contoso\"]\n    }\n  }\n}\n```\n\nPaste a Cursor-style `mcpServers` block here and VS Code silently ignores it.\n\n## Load fewer tools with -d\n\nThe 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.\n\nSo load only the groups you’ll use. The domains are `core`, `work`, `work-items`, `search`, `test-plans`, `repositories`, `wiki`, `pipelines` and `advanced-security`:\n\n```\nclaude mcp add azure-devops -- npx -y @azure-devops/mcp contoso -d core work work-items\n```\n\nA PR-review setup might be `-d core repositories`; a release engineer might want `-d core pipelines`. Leave `-d` out and you get everything.\n\n## Things to ask it\n\n- “List my active work items in the current sprint.”\n- “Summarize the open pull requests on the api repo and who’s reviewing them.”\n- “Why did last night’s pipeline run fail?”\n- “Get the wiki page /API/Authentication.”\n\n## The Calyban way\n\nOpen [Azure DevOps](https://calyban.com/mcp/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.\n\nFor Azure DevOps on some projects only, choose **One folder** in the install dialog and it goes into that repo alone.\n\nCalyban is free for Windows and Linux at [/#download](https://calyban.com/#download). Questions go to [Discord](https://discord.gg/pHDNtgYvWn).", "url": "https://wpnews.pro/news/azure-devops-mcp-server-setup-for-claude-code-codex-and-copilot", "canonical_source": "https://calyban.com/blog/azure-devops-mcp-claude-code", "published_at": "2026-11-28 00:00:00+00:00", "updated_at": "2026-11-29 06:14:08.714695+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "developer-tools", "ai-tools"], "entities": ["Microsoft", "Azure DevOps", "@azure-devops/mcp", "Claude Code", "Codex", "GitHub Copilot", "Visual Studio Code", "Calyban"], "also_reported_by": [], "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.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/azure-devops-mcp-server-setup-for-claude-code-codex-and-copilot", "markdown": "https://wpnews.pro/news/azure-devops-mcp-server-setup-for-claude-code-codex-and-copilot.md", "text": "https://wpnews.pro/news/azure-devops-mcp-server-setup-for-claude-code-codex-and-copilot.txt", "jsonld": "https://wpnews.pro/news/azure-devops-mcp-server-setup-for-claude-code-codex-and-copilot.jsonld"}}