Skip to main content
Glama
uhvogala

Azure DevOps MCP

by uhvogala

Azure DevOps MCP

此 VS Code 扩展通过本地 MCP 服务器向智能体公开 Azure DevOps Git 拉取请求。它使用官方的 MCP TypeScript SDK、azure-devops-node-api 和 VS Code 的 Microsoft 身份验证提供程序。不会创建、复制或维护任何个人访问令牌、客户端 ID 或客户端密钥。

使用

  1. 运行 Azure DevOps MCP: Sign In to Azure DevOps。VS Code 会在需要时打开其正常的 Microsoft 登录流程。

  2. 开始智能体对话。VS Code 会自动发现 Azure DevOps pull requests MCP 服务器。

该服务器提供 list_pull_requestsget_pull_requestopen_pull_request_file_diffcreate_pull_requestsubmit_pull_requestcreate_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 启动扩展开发宿主。

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

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/uhvogala/azure-devops-mcp-vscode'

If you have feedback or need assistance with the MCP directory API, please join our Discord server