Azure DevOps MCP by usefulapi

Read pull requests, builds and work items, and create work items or PR comments in Azure DevOps.

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
99%
命名の品質
77%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(2)

  • LOWTool 'azuredevops_list_build_definitions' name length outside 3-30 rangeazuredevops_list_build_definitions 内
  • LOWTool 'azuredevops_create_pull_request_comment' name length outside 3-30 rangeazuredevops_create_pull_request_comment 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~2,265トークン数(ツール定義)
~1.4 KB一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 1.77%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "azure-devops": {
      "url": "https://azure-devops.usefulapi.io/mcp"
    }
  }
}

リモートエンドポイント

https://azure-devops.usefulapi.io/mcpstreamable-http

できること

ツール一覧

ツール(12)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢azuredevops_list_projects(top, skip, state_filter)

List the projects in the Azure DevOps organization. Good first call to discover project names. Azure DevOps API: GET /_apis/projects.

入力スキーマ

{
  "type": "object",
  "properties": {
    "top": {
      "description": "Maximum number of results to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    },
    "skip": {
      "description": "Number of projects to skip (paging).",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "state_filter": {
      "description": "Project state filter (default wellFormed).",
      "type": "string",
      "enum": [
        "wellFormed",
        "createPending",
        "deleting",
        "new",
        "all"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢azuredevops_get_project(project)

Get one project's details (name, description, state, visibility). Azure DevOps API: GET /_apis/projects/{projectId}.

入力スキーマ

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project name or id, for example \"Fabrikam\"."
    }
  },
  "required": [
    "project"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢azuredevops_list_repositories(project)

List the Git repositories in a project, with their default branch and web URL. Azure DevOps API: GET /{project}/_apis/git/repositories.

入力スキーマ

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project name or id, for example \"Fabrikam\"."
    }
  },
  "required": [
    "project"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢azuredevops_list_pull_requests(project, repository, status, target_branch, top)

List pull requests in one repository, by default the active ones. Azure DevOps API: GET /{project}/_apis/git/repositories/{repositoryId}/pullrequests.

入力スキーマ

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project name or id, for example \"Fabrikam\"."
    },
    "repository": {
      "type": "string",
      "minLength": 1,
      "description": "Repository name or id."
    },
    "status": {
      "description": "Pull request status (default active).",
      "type": "string",
      "enum": [
        "active",
        "abandoned",
        "completed",
        "all"
      ]
    },
    "target_branch": {
      "description": "Only pull requests into this branch, for example \"main\".",
      "type": "string",
      "minLength": 1
    },
    "top": {
      "description": "Maximum number of results to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    }
  },
  "required": [
    "project",
    "repository"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢azuredevops_get_pull_request(project, pull_request_id)

Get one pull request: title, description, status, reviewers, source and target branches. Azure DevOps API: GET /{project}/_apis/git/pullrequests/{pullRequestId}.

入力スキーマ

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project name or id, for example \"Fabrikam\"."
    },
    "pull_request_id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Pull request id (the number in its URL)."
    }
  },
  "required": [
    "project",
    "pull_request_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢azuredevops_list_build_definitions(project, name, top)

List build pipeline definitions in a project, optionally filtered by name. Azure DevOps API: GET /{project}/_apis/build/definitions.

入力スキーマ

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project name or id, for example \"Fabrikam\"."
    },
    "name": {
      "description": "Filter by pipeline name (prefix match).",
      "type": "string"
    },
    "top": {
      "description": "Maximum number of results to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    }
  },
  "required": [
    "project"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢azuredevops_list_builds(project, definition_ids, status, result, branch, ...)

List recent pipeline runs (builds) in a project, filtered by pipeline, status, result or branch. Azure DevOps API: GET /{project}/_apis/build/builds.

入力スキーマ

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project name or id, for example \"Fabrikam\"."
    },
    "definition_ids": {
      "description": "Comma-separated pipeline ids (from azuredevops_list_build_definitions).",
      "type": "string",
      "pattern": "^\\d+(,\\d+)*$"
    },
    "status": {
      "description": "Build status filter.",
      "type": "string",
      "enum": [
        "all",
        "inProgress",
        "completed",
        "notStarted",
        "cancelling",
        "postponed"
      ]
    },
    "result": {
      "description": "Build result filter (completed builds only).",
      "type": "string",
      "enum": [
        "succeeded",
        "partiallySucceeded",
        "failed",
        "canceled"
      ]
    },
    "branch": {
      "description": "Branch name, for example \"refs/heads/main\".",
      "type": "string",
      "minLength": 1
    },
    "top": {
      "description": "Maximum number of results to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    }
  },
  "required": [
    "project"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢azuredevops_get_build(project, build_id)

Get one pipeline run: status, result, requester, source branch, start and finish times. Azure DevOps API: GET /{project}/_apis/build/builds/{buildId}.

入力スキーマ

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project name or id, for example \"Fabrikam\"."
    },
    "build_id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Build id (the number in the build URL)."
    }
  },
  "required": [
    "project",
    "build_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢azuredevops_query_work_items(project, wiql, top)

Run a WIQL query and return the matching work item ids. Use azuredevops_get_work_items for the fields. Azure DevOps API: POST /{project}/_apis/wit/wiql.

入力スキーマ

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project name or id, for example \"Fabrikam\"."
    },
    "wiql": {
      "type": "string",
      "minLength": 1,
      "description": "WIQL text, for example SELECT [System.Id] FROM WorkItems WHERE [System.State] = 'Active'."
    },
    "top": {
      "description": "Maximum number of results to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    }
  },
  "required": [
    "project",
    "wiql"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢azuredevops_get_work_items(project, ids, fields)

Get work items by id, with the requested fields (default: the standard fields). Azure DevOps API: POST /{project}/_apis/wit/workitemsbatch.

入力スキーマ

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project name or id, for example \"Fabrikam\"."
    },
    "ids": {
      "minItems": 1,
      "maxItems": 200,
      "type": "array",
      "items": {
        "type": "integer",
        "exclusiveMinimum": 0,
        "maximum": 9007199254740991
      },
      "description": "Work item ids, up to 200 per call."
    },
    "fields": {
      "description": "Field reference names, for example System.Title, System.State, System.AssignedTo.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    }
  },
  "required": [
    "project",
    "ids"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴azuredevops_create_work_item(project, work_item_type, title, description)

Create one work item (for example a Task or a Bug) in a project. Writes to the tracker; it is not idempotent. Azure DevOps API: POST /{project}/_apis/wit/workitems/${type}.

入力スキーマ

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project name or id, for example \"Fabrikam\"."
    },
    "work_item_type": {
      "type": "string",
      "minLength": 1,
      "description": "Work item type, for example Task, Bug or User Story."
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "description": "Work item title (System.Title)."
    },
    "description": {
      "description": "Description, as HTML or plain text (System.Description).",
      "type": "string",
      "maxLength": 20000
    }
  },
  "required": [
    "project",
    "work_item_type",
    "title"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴azuredevops_create_pull_request_comment(project, repository, pull_request_id, content)

Post a new comment thread on a pull request. Writes to the repository review; it is not idempotent. Azure DevOps API: POST /{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads.

入力スキーマ

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project name or id, for example \"Fabrikam\"."
    },
    "repository": {
      "type": "string",
      "minLength": 1,
      "description": "Repository name or id."
    },
    "pull_request_id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Pull request id (the number in its URL)."
    },
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 10000,
      "description": "Comment text (Markdown)."
    }
  },
  "required": [
    "project",
    "repository",
    "pull_request_id",
    "content"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 12 件