Azure DevOps MCP
Azure DevOps MCP
此 VS Code 扩展通过本地 MCP 服务器向智能体公开 Azure DevOps Git 拉取请求。它使用官方的 MCP TypeScript SDK、azure-devops-node-api 和 VS Code 的 Microsoft 身份验证提供程序。不会创建、复制或维护任何个人访问令牌、客户端 ID 或客户端密钥。
使用
运行
Azure DevOps MCP: Sign In to Azure DevOps。VS Code 会在需要时打开其正常的 Microsoft 登录流程。开始智能体对话。VS Code 会自动发现
Azure DevOps pull requestsMCP 服务器。
该服务器提供 list_pull_requests、get_pull_request、open_pull_request_file_diff、create_pull_request 和 submit_pull_request。create_pull_request 准备本地草稿;submit_pull_request 创建远程拉取请求,并需要 confirm: true。两者都使用 refs/heads/... 形式的源和目标引用,以及调用者的 Azure DevOps 权限。
将 includeChanges: true 传给 get_pull_request 以返回其最新的更改文件,包括提交 ID 和更改类型。在支持 MCP Apps 的聊天宿主中,create_pull_request 会打开一个可编辑的草稿卡片,其中包含精简且有数量上限的更改文件列表。它提供 Markdown 预览开关,并通过 submit_pull_request 提交最终描述文本;生成的拉取请求随即变为交互式审阅卡片,显示当前审阅者投票、批准 PR 按钮、可点击的评论计数,以及每个更改文件对应的 打开差异 按钮。在卡片加载或执行操作时,会显示一个加载指示器。
VS Code 管理已登录的 Microsoft 会话。可通过 VS Code 的“账户”菜单管理该账户或退出登录。当令牌过期时,开始新的智能体对话以获取新的 Azure DevOps 令牌。
Related MCP server: Azure DevOps MCP Server
开发
运行 npm run compile 对扩展和 MCP 服务器进行类型检查、lint 和打包。运行 npm test 执行扩展宿主测试。在 macOS 上,当受管网络需要额外的受信任 CA 时,测试命令会使用系统钥匙串证书。在 VS Code 中按 F5 启动扩展开发宿主。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server that provides seamless interaction with Azure DevOps Git repositories, enabling users to manage repositories, branches, pull requests, and pipelines through natural language.883
- Alicense-qualityDmaintenanceEnables interaction with Azure DevOps services including work items, repositories, pipelines, wikis, and test plans through a local MCP server that provides direct access to Azure DevOps REST APIs from your code editor.103,700MIT
- Alicense-qualityBmaintenanceMCP server that enables AI assistants to manage Azure DevOps resources including Work Items, Git repositories, pipelines, and user identities.15MIT
- Flicense-qualityDmaintenanceMCP server that provides tools to interact with Azure DevOps, including querying work items, repositories, pull requests, builds, commits, and creating work items via a standardized interface.
Related MCP Connectors
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
A MCP server built for developers enabling Git based project management with project and personal…
MCP Server for JFrog, providing tools for development and artifact management.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/uhvogala/azure-devops-mcp-vscode'
If you have feedback or need assistance with the MCP directory API, please join our Discord server