Azure DevOps MCP by usefulapi

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

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
99%
Qualität der Benennung
77%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Befunde (2)

  • LOWTool 'azuredevops_list_build_definitions' name length outside 3-30 rangein azuredevops_list_build_definitions
  • LOWTool 'azuredevops_create_pull_request_comment' name length outside 3-30 rangein azuredevops_create_pull_request_comment

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~2,265Tokens (Tool-Definitionen)
~1.4 KBTypische Antwortgröße
Mittlere Auswirkung auf die Aufmerksamkeit (1.77% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

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

Remote-Endpunkte

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

Was es kann

Tool-Inventar

Tools (12)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢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.

Eingabe-Schema

{
  "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}.

Eingabe-Schema

{
  "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.

Eingabe-Schema

{
  "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.

Eingabe-Schema

{
  "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}.

Eingabe-Schema

{
  "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.

Eingabe-Schema

{
  "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.

Eingabe-Schema

{
  "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}.

Eingabe-Schema

{
  "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.

Eingabe-Schema

{
  "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.

Eingabe-Schema

{
  "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}.

Eingabe-Schema

{
  "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.

Eingabe-Schema

{
  "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"
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet12 Tools