
Azure DevOps On-Premises
io.github.zwitbaum由 GitHub 账号 zwitbaum 发布v2.1.0更新于 Oct 24, 2026
MCP server for on-premises Azure DevOps Server and TFS: repos, pull requests, work items, and wiki.
概览
面向本地部署 Azure DevOps Server 与 TFS 的 MCP 服务器,让助手浏览代码库、审阅拉取请求、管理工作项并编辑 Wiki。
- 可以做什么
- 列出代码库、读取指定提交或分支的文件内容、查看提交变更与逐行差异
- 获取、创建和更新拉取请求,进行评审投票,并读取、新增、回复、修改或删除评论线程
- 查询、创建、更新、删除、恢复工作项,并管理附件、评论与关联链接
- 按条件搜索代码、工作项和 Wiki 页面
- 读取、创建、更新和删除 Wiki 页面
- 适用场景
- 适用于团队在本地部署 Azure DevOps Server 或 TFS、常通过 VPN 使用 Windows 域账号登录的场景,希望助手协助代码评审、工作项处理或文档维护。微软官方服务器仅支持云端 Azure DevOps。
- 运行要求
- 通过 uvx 在本机运行,需要 Python 3.10+ 与 uv。必须设置 DEVOPS_API_URL 为完整项目地址,并选择一种认证方式:NTLM 用 DEVOPS_USERNAME 与 DEVOPS_PASSWORD,或使用 DEVOPS_PAT,或使用 DEVOPS_TOKEN 作为 OAuth 令牌。需能访问 DevOps 服务器网络,可能需 VPN。
安装
在 SourceWeft 中
- 打开 控制台中的 Azure DevOps On-Premises,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
MCP DevOps On-Premise
Model Context Protocol MCP server for on-premises Azure DevOps that lets AI assistants browse repositories, review pull requests, manage work items, and interact with wikis.
Overview
Many organizations use on-premise DevOps solutions such as TFS or Azure DevOps Server in their projects. Integrating these systems with modern agentic AI tools and LLMs can be difficult. The official Microsoft Azure DevOps MCP server does not support these environments and is unlikely to support them in the future.
This MCP server closes that gap and enables smooth integration with on-premise DevOps systems.
This project is under active development, with features continuously added to meet current requirements. Community needs are highly valued — if you miss any features, please submit an Issue. User-requested features are fast-tracked and will be prioritized and added as soon as possible.
Key Advantages
One of the most important features of this MCP server is NTLM authentication support. NTLM is required by many on-premises and enterprise environments where users authenticate with Windows domain credentials, either directly or over VPN. Most MCP servers for Azure DevOps target only cloud-hosted Azure DevOps Services with token-based auth and cannot connect to these environments.
- NTLM authentication (Windows domain credentials) for on-prem and VPN-based setups where no other auth method works.
- PAT and OAuth bearer token authentication as alternatives when available.
- Enables secure access to on-prem DevOps systems from MCP-compatible AI tools such as GitHub Copilot, Claude Desktop, Cursor, Windsurf, and others.
- Works in restricted or offline environments without exposing sensitive data to external services.
- Retrieves commit diffs with clear added/removed lines, similar to the DevOps UI.
- Helps keep and track project documentation alongside code changes.
- Automates common tasks such as work item management and code review processes.
Getting Started
Prerequisites
Python 3.10+ and uv are required. If not yet installed, see installation guide.
Quick Install
Click one of the buttons below to install directly in your IDE. You will be prompted for credentials:
[Install in VS Code] [Install in VS Code Insiders] [Install in Cursor]
For other platforms, see Manual Installation in the Getting Started guide.
Manual Installation
The MCP server can be installed manually in the following AI tools: VS Code, Visual Studio, Cursor, Goose, LM Studio, Amp, Claude Code, Claude Desktop, Codex, Gemini CLI, OpenCode, Qodo Gen, Warp, Windsurf, GitHub Copilot CLI, GitHub Copilot Coding Agent, and others.
For step-by-step instructions, see Manual Installation in the Getting Started guide.
Configuration
The DEVOPS_API_URL must point to your full project URL:
The server supports three authentication methods. If you are unsure which one to use, start with NTLM because it is the most common for on-prem/VPN setups.
For detailed setup instructions for each method, see Authentication in the Getting Started guide.
With NTLM (username + password)
With PAT
If you used a permanent install, replace
"command": "uvx"with"command": "mcp-devops-onpremise"and remove the"args"line.
Updating
All configuration examples use mcp-devops-onpremise@latest, which instructs uvx to fetch the latest version automatically on every run.
For permanent installs and release notes, see Updating in the Getting Started guide.
Available Tools
Pull Requests
Repositories
Work Items
Search
Wiki
Development
来源:README.md,提交 c4a145a
工具
0版本历史
1- v2.1.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分