Cover image
Try Now
2025-04-12

Azure DevOps MCP服务器,用于通过自然语言管理工作项目。

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

azure-devops-mcp-server MCP Server

透過自然語言更方便地與 Azure DevOps 互動。

This is a TypeScript-based MCP server designed to interact with Azure DevOps Work Items using the Azure DevOps REST API via axios.

Features

Tools

This server provides the following tools to manage Azure DevOps resources:

  • create_work_item: 在 Azure DevOps 中建立新的 Work Item (例如 User Story, Bug, Task)。
    • 必要參數:type (類型), title (標題)。
    • 可選參數:projectName (專案名稱,預設為伺服器偵測到的第一個專案), description (描述), areaPath (區域路徑,預設為目標專案名稱), iterationPath (迭代路徑,預設為目標專案名稱), assignedTo (指派對象), tags (標籤)。
  • get_work_item_details: 根據 ID 取得 Azure DevOps Work Item 的詳細資訊。
    • 必要參數:id (Work Item ID)。
    • 可選參數:fields (要取得的欄位列表,預設回傳所有欄位), summarize (布林值,設為 true 時只回傳摘要資訊,預設 false)。
  • update_work_item: 更新現有 Azure DevOps Work Item 的欄位 (例如狀態、指派對象)。
    • 必要參數:id (Work Item ID), updates (包含要更新欄位和值的物件)。
    • 可選參數:comment (更新評論)。
  • search_work_items: 搜尋 Azure DevOps Work Items。可依專案、類型、標題或 ID 進行篩選。
    • 可選參數:query (搜尋關鍵字), projectName (專案名稱), workItemType (工作項目類型)。
  • list_projects: 列出 Azure DevOps 組織中的所有專案。
  • get_project_details: 根據專案 ID 或名稱取得 Azure DevOps 專案的詳細資訊。
    • 必要參數:projectIdOrName (專案 ID 或名稱)。
  • link_commit_to_work_item: 將 Git Commit 連結到 Azure DevOps Work Item。
    • 必要參數:workItemId (Work Item ID), commitSha (Commit SHA), repositoryName (儲存庫名稱)。
    • 可選參數:projectName (專案名稱), comment (連結說明)。
    • 注意:已修正先前版本中因組織 URL 結尾斜線可能導致的連結錯誤。
  • add_issue_comment: 為現有的 Azure DevOps Work Item 添加評論。
    • 必要參數:workItemId (Work Item ID), comment (評論內容)。

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "azure-devops-mcp-server": {
      "command": "C:\\Program Files\\nodejs\\node.exe", // Or your Node.js path
      "args": [
        "C:\\Tools\\Cline\\MCP\\azure-devops-mcp-server\\build\\index.js" // Adjust path if needed
      ],
      "env": {
        "AZURE_DEVOPS_ORG_URL": "YOUR_ORG_URL", // e.g., https://dev.azure.com/YourOrganizationName
        "AZURE_DEVOPS_PAT": "YOUR_PERSONAL_ACCESS_TOKEN"
      }
    }
  }
}

重要: 您需要將 YOUR_ORG_URL 替換為您的 Azure DevOps 組織 URL,並將 YOUR_PERSONAL_ACCESS_TOKEN 替換為具有讀寫 Work Item 權限的有效 Personal Access Token (PAT)。

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

參考資料 (References)

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • J. DE HARO OLLE
  • Especialista en juegos de palabras en varios idiomas.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • HiveNexus
  • 一个适用于中小型团队的AI聊天机器人,支持DeepSeek,Open AI,Claude和Gemini等车型。 专为中小团队设计的ai聊天应用,支持deepSeek,打开ai,claude,双子座等模型。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

    Reviews

    3 (1)
    Avatar
    user_0evmozRL
    2025-04-17

    As a dedicated user of the azure-devops-mcp-server by wuhuangjia, I am thoroughly impressed with its functionality and seamless integration with Azure DevOps. The server provides robust performance, making continuous development and deployment processes more efficient. The comprehensive documentation on the GitHub page is incredibly helpful, ensuring easy setup and smooth operation. Highly recommend!