Skip to main content
Glama

azure-devops MCP Server

by mmruesch12

Azure DevOps MCP 服务器

提供与 Azure DevOps 集成的 MCP(模型上下文协议)服务器,允许 AI 助手与 Azure DevOps 工作项、拉取请求和 wiki 进行交互。

特征

  • 工作项管理(创建、列出、获取)
  • 拉取请求操作(创建、列出、获取、评论、差异)
  • Wiki 页面管理(创建、编辑)

设置

  1. 安装依赖项:
npm install
  1. 配置环境变量(创建.env文件):
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/your-org AZURE_DEVOPS_PAT=your-personal-access-token AZURE_DEVOPS_PROJECT=default-project AZURE_DEVOPS_REPOSITORY=default-repo
  1. 构建服务器:
npm run build

安装

将服务器配置添加到您的 MCP 设置中:

对于 VSCode

在 macOS/Linux 上

添加到~/.vscode/cline_mcp_settings.json或 Cursor/Roo 等效项:

{ "mcpServers": { "azure-devops": { "command": "node", "args": ["/path/to/azure-devops-mcp/build/index.js"], "env": { "AZURE_DEVOPS_ORG_URL": "your-org-url", "AZURE_DEVOPS_PAT": "your-pat", "AZURE_DEVOPS_PROJECT": "your-project", "AZURE_DEVOPS_REPOSITORY": "your-repo" }, "disabled": false, "autoApprove": [] } } }
在 Windows 上

添加到%USERPROFILE%\.vscode\cline_mcp_settings.json或 Cursor/Roo 等效项:

{ "mcpServers": { "azure-devops": { "command": "node", "args": ["C:/path/to/azure-devops-mcp/build/index.js"], "env": { "AZURE_DEVOPS_ORG_URL": "your-org-url", "AZURE_DEVOPS_PAT": "your-pat", "AZURE_DEVOPS_PROJECT": "your-project", "AZURE_DEVOPS_REPOSITORY": "your-repo" }, "disabled": false, "autoApprove": [] } } }

可用工具

工作项目

列出工作项目

列出项目中的工作项。

{ "project": string, // Required "types"?: string[], // Optional: Filter by work item types "states"?: string[], // Optional: Filter by states "assignedTo"?: string // Optional: Filter by assigned user }
获取工作项目

获取特定工作项的详细信息。

{ "project": string, // Required "id": number // Required: Work item ID }
创建工作项

创建一个新的工作项。

{ "project": string, // Required "type": string, // Required: e.g., "Task", "Bug" "title": string, // Required "description"?: string, // Optional "assignedTo"?: string // Optional }

拉取请求

列表拉取请求

列出存储库中的拉取请求。

{ "status"?: "active" | "completed" | "abandoned" // Optional }
获取拉取请求

获取特定拉取请求的详细信息。

{ "pullRequestId": number // Required }
创建拉取请求

创建一个新的拉取请求。

{ "title": string, // Required "description": string, // Required "sourceBranch": string, // Required "targetBranch": string, // Required "reviewers"?: string[] // Optional: Array of reviewer email addresses }
创建拉取请求评论

向拉取请求添加评论。

{ "pullRequestId": number, // Required "content": string, // Required "threadId"?: number, // Optional: For replies "filePath"?: string, // Optional: For file comments "lineNumber"?: number, // Optional: For line comments "status"?: "active"|"fixed"|"pending"|"wontfix"|"closed" // Optional: Thread status }
获取拉取请求差异

获取拉取请求的差异。

{ "pullRequestId": number, // Required "filePath"?: string, // Optional: Specific file to get diff for "iterationId"?: number // Optional: Specific iteration to get diff for }

维基百科

创建维基页面

创建一个新的 wiki 页面。

{ "project": string, // Required "wiki": string, // Required "path": string, // Required "content": string // Required }
编辑维基页面

编辑现有的 wiki 页面。

{ "project": string, // Required "wiki": string, // Required "path": string, // Required "content": string, // Required "etag": string // Required: For concurrency control }

发展

使用环境变量在开发模式下运行:

npm run dev

笔记

除非在工具参数中明确指定,否则projectrepository参数将使用环境配置中的默认值。

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

基于 TypeScript 的 MCP 服务器,实现了简单的笔记系统,允许用户创建、访问和生成文本笔记的摘要。

  1. 特征
    1. 设置
      1. 安装
        1. 对于 VSCode
      2. 可用工具
        1. 工作项目
        2. 拉取请求
        3. 维基百科
      3. 发展
        1. 笔记

          Related MCP Servers

          • A
            security
            F
            license
            A
            quality
            A simple TypeScript-based MCP server that implements a notes system, allowing users to create, list, and generate summaries of text notes via Claude.
            Last updated -
            1
            JavaScript
          • -
            security
            F
            license
            -
            quality
            A TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes through Claude Desktop.
            Last updated -
            JavaScript
            • Apple
          • -
            security
            F
            license
            -
            quality
            A TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes.
            Last updated -
            JavaScript
            • Apple
          • A
            security
            A
            license
            A
            quality
            A TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes via URIs and tools.
            Last updated -
            12
            4
            TypeScript
            MIT License
            • Apple

          View all related MCP servers

          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/mmruesch12/azdo-mcp'

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