mcp-server-azure-devops
by Tiberriver256·★ 367·综合分 49
Azure DevOps 的 MCP 服务器实现,通过 MCP 协议提供全面的 API 集成。
概述
这个 MCP 服务器实现了 Azure DevOps 的模型上下文协议,使 AI 助手能够通过标准化接口与 Azure DevOps API 交互。它提供了管理项目、工作项、存储库、拉取请求、管道等的全面工具。服务器支持多种身份验证方法,包括个人访问令牌、Azure Identity 和 Azure CLI 身份验证,使其适用于不同的组织设置。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
如果您已经在使用Azure DevOps并希望让AI助手通过自然语言命令与您的DevOps工作流交互,应该选择此服务器。
什么时候不要选它
如果您不使用Azure DevOps或需要与其他DevOps平台(如GitHub、GitLab或Jenkins)集成,则不应选择此服务器。
此 server 暴露的工具
从 README 抽取出 12 个工具get_meGet details of the authenticated user (id, displayName, email)
list_projectsList all projects in an organization
get_projectGet details of a specific project
list_repositoriesList all repositories in a project
get_file_contentGet content of a file or directory from a repository
create_work_itemCreate a new work item
update_work_itemUpdate an existing work item
search_work_itemsSearch for work items across projects in Azure DevOps
list_pipelinesList pipelines in a project
trigger_pipelineTrigger a pipeline run with customizable parameters
create_pull_requestCreate a new pull request
list_pull_requestsList pull requests in a repository
可对比工具
安装
安装
使用 npm(推荐)
npx -y @tiberriver256/mcp-server-azure-devops从源码安装
git clone https://github.com/tiberriver256/mcp-server-azure-devops.git
cd mcp-server-azure-devops
npm ci
cp .env.example .env
npm run build
npm startClaude Desktop 配置
{
"mcpServers": {
"azureDevOps": {
"command": "npx",
"args": ["-y", "@tiberriver256/mcp-server-azure-devops"],
"env": {
"AZURE_DEVOPS_ORG_URL": "https://dev.azure.com/your-organization",
"AZURE_DEVOPS_AUTH_METHOD": "pat",
"AZURE_DEVOPS_PAT": "<YOUR_PAT>",
"AZURE_DEVOPS_DEFAULT_PROJECT": "your-project-name"
}
}
}
}FAQ
- 支持哪些身份验证方法?
- 服务器支持个人访问令牌(PAT)、Azure Identity(DefaultAzureCredential)和 Azure CLI 身份验证。
- 我可以在 Azure DevOps Server(本地部署)上使用吗?
- 可以,但仅支持 PAT 身份验证。Azure Identity 和 Azure CLI 仅适用于 Azure DevOps 服务。
mcp-server-azure-devops 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。