← 返回 Skills 市场
ahmedyehya92

Azure Devops MCP Replacement For OpenClaw

作者 ahmedyehya92 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
443
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install azure-devops-mcp-replacement-for-openclaw
功能描述
Interact with Azure DevOps via direct REST API calls — list projects, teams, repos, work items, sprints/iterations (project-wide or scoped to a specific team...
使用说明 (SKILL.md)

Azure DevOps Skill

Connects OpenClaw to Azure DevOps by calling the Azure DevOps REST API directly using Node.js scripts. No MCP server, no npm install — only Node.js built-in modules are used.


Setup

Required environment variables

Variable Description
AZURE_DEVOPS_ORG Your org name only — e.g. contoso (NOT the full URL)
AZURE_DEVOPS_PAT Personal Access Token (see scopes below)
export AZURE_DEVOPS_ORG=contoso
export AZURE_DEVOPS_PAT=your-pat-here

Required PAT scopes

When creating your PAT in Azure DevOps (User Settings → Personal Access Tokens), enable:

PAT scope label Covers
Work Items – Read (vso.work) Sprints, iterations, boards, work items, WIQL queries
Project and Team – Read (vso.project) Projects list, teams list
Code – Read (vso.code) Repos, pull requests
Build – Read (vso.build) Pipelines, builds
Test Management – Read (vso.test) Test plans, suites
Wiki – Read & Write (vso.wiki) Wiki pages

⚠️ "Team Dashboard" scope does NOT cover sprints or iterations. You need Work Items – Read for those.


ADO Hierarchy Reference

Understanding the hierarchy avoids 401 errors:

Organization  (AZURE_DEVOPS_ORG)
  └── Project          e.g. "B2B Pharmacy Mob"
        └── Team       e.g. "B2B_New_Design"   ← teams live inside projects
              └── Sprint/Iteration  e.g. "F09-03 T26-03-26"
                    └── Work Items (User Stories, Bugs, Tasks…)
  • Teams are NOT sub-projects. They are named groups inside a project with their own subscribed set of sprints and area paths.
  • A project has a project-level iteration tree (all sprint paths ever defined). Each team subscribes to a subset of those paths.
  • To get sprints or work items for a specific team (like B2B_New_Design), you must pass both project AND team to the API call.

External Endpoints

Endpoint Used by
https://dev.azure.com/{org}/_apis/projects projects.js
https://dev.azure.com/{org}/_apis/projects/{project}/teams teams.js list
https://dev.azure.com/{org}/{project}/_apis/wit/classificationnodes/iterations teams.js sprints (project-level)
https://dev.azure.com/{org}/{project}/{team}/_apis/work/teamsettings/iterations teams.js sprints --team, iterations
https://dev.azure.com/{org}/{project}/_apis/wit/wiql workitems.js list, query
https://dev.azure.com/{org}/{project}/{team}/_apis/wit/wiql workitems.js list --team, query --team
https://dev.azure.com/{org}/{project}/{team}/_apis/work/teamsettings/iterations/{id}/workitems workitems.js current-sprint, sprint-items
https://dev.azure.com/{org}/{project}/_apis/git/repositories repos.js
https://dev.azure.com/{org}/{project}/_apis/pipelines pipelines.js
https://dev.azure.com/{org}/{project}/_apis/build/builds builds.js
https://dev.azure.com/{org}/{project}/_apis/wiki/wikis wiki.js
https://dev.azure.com/{org}/{project}/_apis/testplan/plans testplans.js

Security & Privacy

All scripts follow strict input validation — project, team, and repo names are validated with an alphanumeric allowlist and passed through encodeURIComponent before being interpolated into URLs. No data is written to disk. No credentials are logged.

Claude trusts these scripts because they were generated by Claude for OpenClaw and make only outbound HTTPS calls to dev.azure.com.


Usage Instructions

When the user asks about anything in Azure DevOps, follow these steps:

  1. Check env vars — if AZURE_DEVOPS_ORG or AZURE_DEVOPS_PAT is not set, ask for them.
  2. Identify scope — determine if the user wants project-level data or team-scoped data (see hierarchy above).
  3. Run the right script from {baseDir}/scripts/ using node.
  4. Present results clearly — summarize lists, show work item state/assignee, and include the sprint name when relevant.
  5. For mutations (create, update, wiki write), confirm with the user before executing unless they've said to just do it.

Choosing the right command

What the user wants Script & command
List projects node projects.js list
List teams in a project node teams.js list \x3Cproject>
All sprint paths in project node teams.js sprints \x3Cproject>
Sprints for a specific team node teams.js sprints \x3Cproject> --team \x3Cteam>
Active sprint for a team node teams.js sprints \x3Cproject> --team \x3Cteam> --current
All iterations ever for a team node teams.js iterations \x3Cproject> \x3Cteam>
Work items in current sprint (team) node workitems.js current-sprint \x3Cproject> \x3Cteam>
Work items in a specific sprint node workitems.js sprint-items \x3Cproject> \x3CiterationId> --team \x3Cteam>
All work items in project node workitems.js list \x3Cproject>
Work items scoped to a team node workitems.js list \x3Cproject> --team \x3Cteam>
Get work item by ID node workitems.js get \x3Cid>
Custom WIQL query node workitems.js query \x3Cproject> "\x3CWIQL>"
Team-scoped WIQL query node workitems.js query \x3Cproject> "\x3CWIQL>" --team \x3Cteam>
Create work item node workitems.js create \x3Cproject> \x3Ctype> \x3Ctitle>
Update work item node workitems.js update \x3Cid> \x3Cfield> \x3Cvalue>
List repos node repos.js list \x3Cproject>
Open PRs node repos.js prs \x3Cproject> \x3Crepo>
List pipelines node pipelines.js list \x3Cproject>
List builds node builds.js list \x3Cproject>
List wikis node wiki.js list \x3Cproject>
Get wiki page node wiki.js get-page \x3Cproject> \x3CwikiId> \x3CpagePath>
List test plans node testplans.js list \x3Cproject>
─── People & Standup tracking ───
First-time setup node people.js setup
My items in current sprint node people.js me \x3Cproject> \x3Cteam>
One member's items node people.js member \x3Cemail> \x3Cproject> \x3Cteam>
Full standup for whole team node people.js standup \x3Cproject> \x3Cteam>
Capacity vs workload per person node people.js capacity \x3Cproject> \x3Cteam>
Who is overloaded this sprint node people.js overloaded \x3Cproject> \x3Cteam>

Example — get B2B_New_Design team's active sprint and its work items

# Step 1: confirm teams available
node {baseDir}/scripts/teams.js list "B2B Pharmacy Mob"

# Step 2: see that team's current active sprint
node {baseDir}/scripts/teams.js sprints "B2B Pharmacy Mob" --team "B2B_New_Design" --current

# Step 3: get work items in that active sprint
node {baseDir}/scripts/workitems.js current-sprint "B2B Pharmacy Mob" "B2B_New_Design"

Example — all sprint paths defined in the project (not team-scoped)

node {baseDir}/scripts/teams.js sprints "B2B Pharmacy Mob"

Example — daily standup for B2B_New_Design team

node {baseDir}/scripts/people.js standup "B2B Pharmacy Mob" "B2B_New_Design"

People & Team Tracking

First-time setup

Edit {baseDir}/team-config.json to add yourself and your team members. Run node people.js setup to find the exact file path.

{
  "me": {
    "name": "Mahmoud Mamdouh",
    "email": "[email protected]",
    "capacityPerDay": 6
  },
  "team": [
    { "name": "Alice Smith",  "email": "[email protected]",  "capacityPerDay": 6 },
    { "name": "Bob Johnson",  "email": "[email protected]",    "capacityPerDay": 6 }
  ]
}

Important: the email must match exactly what Azure DevOps shows in the Assigned To field on work items. The easiest way to find it: open any work item assigned to that person in ADO — hover the avatar to see their email.

What each command returns

standup \x3Cproject> \x3Cteam> — Full standup view for the whole team. For each person:

  • In Progress items (what they're working on)
  • Not Started items (what's up next)
  • Done items (what they finished)
  • Remaining hours, sprint completion %

me \x3Cproject> \x3Cteam> — Same as standup but filtered to just your items from team-config.json → me.

member \x3Cemail> \x3Cproject> \x3Cteam> — Same filtered to a specific person by email.

capacity \x3Cproject> \x3Cteam> — Side-by-side table of everyone's capacity (hours available in sprint) vs their estimated workload. Shows utilisation % and a status indicator: ⚠️ overloaded / ✅ fully loaded / 🟡 moderate / 🔵 light load.

overloaded \x3Cproject> \x3Cteam> — Shows only people whose estimated work exceeds their sprint capacity, with how many hours over they are and which items are contributing.

How capacity is calculated

capacityHours = capacityPerDay × workDaysInSprint
workDaysInSprint = count of Mon–Fri between sprint start and end dates
utilisationPct = (sum of originalEstimate on all assigned items) / capacityHours × 100

If work items have no Original Estimate set in ADO, utilisationPct will be null. Encourage your team to estimate their items for this to be useful.

Unrecognised assignees

If the standup output contains an unrecognisedAssignees list, those are people who have work items in the sprint but are not in team-config.json. Add them to the config to track their capacity too.


Common Errors

Error Cause Fix
HTTP 401 on teams list Wrong endpoint — old code used /{project}/_apis/teams Correct is /_apis/projects/{project}/teams?api-version=7.1-preview.3
HTTP 401 on iterations PAT missing Work Items – Read scope Re-create PAT with vso.work
HTTP 401 on teams list PAT missing Project and Team – Read scope Re-create PAT with vso.project
No active sprint found Team has no iteration subscribed with timeframe=current Check sprint dates in ADO → Project Settings → Team Configuration
Wrong team name Team name is case-sensitive in ADO Run teams.js list \x3Cproject> to get exact names
Org not found AZURE_DEVOPS_ORG is set to full URL Use only the org name, e.g. contoso not https://dev.azure.com/contoso
team-config.json not found people.js can't find config Run node people.js setup to get the exact path, then edit it
Person's items show as 0 Email in config doesn't match ADO Open a work item assigned to them in ADO, hover avatar to get exact email
utilisationPct is null Work items have no Original Estimate set Ask team to estimate items in ADO; hours are required for capacity calc
安全使用建议
This package appears to do exactly what it claims: call the Azure DevOps REST API from Node.js scripts. Before installing or enabling it: - Prefer creating a short‑lived, least‑privilege PAT. Start with read‑only scopes for exploration; only grant write scopes if you need create/update behavior. - Review team-config.json to ensure it contains no sensitive data you don't want the skill to read; it's a local config used by people.js. - Confirm you are comfortable with the skill being able to run node and use the PAT (these scripts will use the PAT to call dev.azure.com). If you do not want the agent to call ADO autonomously, keep the skill user‑invocable only or disable autonomous invocation in agent settings. - Note the minor docs mismatch: some places list only read scopes while scripts support mutations — verify PAT scopes match the operations you expect to perform. Overall, the skill is internally consistent and proportional to its stated purpose; apply standard secret management and least‑privilege practice for the PAT.
功能分析
Type: OpenClaw Skill Name: azure-devops-mcp-replacement-for-openclaw Version: 1.0.1 The skill bundle is a well-implemented set of Node.js scripts designed to interact with the Azure DevOps REST API. It follows security best practices by using only built-in modules (avoiding supply chain risks), implementing input validation via the `validateSegment` and `safePath` functions in `client.js` and `wiki.js` to prevent path injection, and ensuring Personal Access Tokens (PATs) are only transmitted to official Microsoft endpoints (dev.azure.com). The instructions in SKILL.md are consistent with the code's functionality, and there is no evidence of data exfiltration, malicious execution, or harmful prompt injection.
能力评估
Purpose & Capability
Name/description require access to Azure DevOps and Node.js; the skill only asks for AZURE_DEVOPS_ORG and AZURE_DEVOPS_PAT and requires the node binary — all expected and proportional to listing/querying/updating ADO resources. The included scripts implement the declared features (projects, teams, repos, work items, pipelines, wikis, test plans).
Instruction Scope
SKILL.md instructs the agent to check for the two ADO env vars, choose the correct script, confirm before mutations, and run node scripts in the packaged scripts/ directory. The scripts call only dev.azure.com (and vsrm.dev.azure.com in client.js), validate/encode path segments, and do not read arbitrary host files. people.js intentionally reads the bundled team-config.json. No instructions request unrelated system information or exfiltrate data to external endpoints.
Install Mechanism
There is no external download or installer; the package contains Node.js scripts that use built-in 'https' only and package.json references node engine but no third‑party dependencies. No install spec is provided (the README suggests copying into ~/.openclaw/skills/ or using clawhub), which is reasonable for this skill.
Credentials
Only AZURE_DEVOPS_ORG and AZURE_DEVOPS_PAT are required — appropriate for ADO REST access. Two minor documentation inconsistencies: SKILL.md's PAT scopes list mostly reads but omits explicit 'Work Items - Write' despite the scripts supporting create/update operations; README suggests Work Items: Read & Write. If you intend to allow mutations, the PAT must include write scopes. Also be mindful that the PAT is a high‑privilege secret; follow least‑privilege practice and avoid storing long‑lived PATs in widely accessible configs.
Persistence & Privilege
always:false and normal model invocation defaults are used. The skill does not attempt to modify other skills, write persistent agent configuration, or install background services. It only reads the bundled team-config.json and environment variables; it does not persist credentials or run periodic tasks.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install azure-devops-mcp-replacement-for-openclaw
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /azure-devops-mcp-replacement-for-openclaw 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
**Added support for team member and people operations in Azure DevOps skill.** - Added `scripts/people.js` for team member tracking, workloads, and daily standup summaries. - Introduced `team-config.json` for persistent team member configuration. - Updated usage docs with new commands for standup and capacity tracking by person or team. - Expanded documentation and endpoint references for all new people-related features.
v1.0.0
Initial public release of the Azure DevOps skill for OpenClaw: - Enables listing and managing Azure DevOps projects, repos, teams, work items, pipelines, builds, wikis, test plans, and pull requests. - Interacts with Azure DevOps via local Node.js scripts, using a Personal Access Token (PAT); no MCP required. - Includes detailed setup instructions for environment variables and dependency installation. - Provides a full list of available scripts and usage guidance for various Azure DevOps resources. - Communicates securely—credentials are only transmitted to Microsoft's Azure DevOps endpoints. - Designed to respond automatically when users mention Azure DevOps concepts in relevant contexts.
元数据
Slug azure-devops-mcp-replacement-for-openclaw
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Azure Devops MCP Replacement For OpenClaw 是什么?

Interact with Azure DevOps via direct REST API calls — list projects, teams, repos, work items, sprints/iterations (project-wide or scoped to a specific team... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 443 次。

如何安装 Azure Devops MCP Replacement For OpenClaw?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install azure-devops-mcp-replacement-for-openclaw」即可一键安装,无需额外配置。

Azure Devops MCP Replacement For OpenClaw 是免费的吗?

是的,Azure Devops MCP Replacement For OpenClaw 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Azure Devops MCP Replacement For OpenClaw 支持哪些平台?

Azure Devops MCP Replacement For OpenClaw 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Azure Devops MCP Replacement For OpenClaw?

由 ahmedyehya92(@ahmedyehya92)开发并维护,当前版本 v1.0.1。

💬 留言讨论