Skip to main content
Glama

Azure DevOps MCP Server with PAT Authentication

by ennuiii

repo_create_pull_request_thread

Add a comment thread to a specific pull request in Azure DevOps, enabling detailed discussions on files or code sections using repository ID, pull request ID, and content.

Instructions

Creates a new comment thread on a pull request.

Input Schema

NameRequiredDescriptionDefault
contentYesThe content of the comment to be added.
filePathNoThe path of the file where the comment thread will be created. (optional)
projectNoProject ID or project name (optional)
pullRequestIdYesThe ID of the pull request where the comment thread exists.
repositoryIdYesThe ID of the repository where the pull request is located.
rightFileEndLineNoPosition of last character of the thread's span in right file. The line number of a thread's position. Starts at 1. Must only be set if rightFileStartLine is also specified. (optional)
rightFileEndOffsetNoPosition of last character of the thread's span in right file. The character offset of a thread's position inside of a line. Must only be set if rightFileEndLine is also specified. (optional)
rightFileStartLineNoPosition of first character of the thread's span in right file. The line number of a thread's position. Starts at 1. (optional)
rightFileStartOffsetNoPosition of first character of the thread's span in right file. The line number of a thread's position. The character offset of a thread's position inside of a line. Starts at 1. Must only be set if rightFileStartLine is also specified. (optional)
statusNoThe status of the comment thread. Defaults to 'Active'.Active

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "content": { "description": "The content of the comment to be added.", "type": "string" }, "filePath": { "description": "The path of the file where the comment thread will be created. (optional)", "type": "string" }, "project": { "description": "Project ID or project name (optional)", "type": "string" }, "pullRequestId": { "description": "The ID of the pull request where the comment thread exists.", "type": "number" }, "repositoryId": { "description": "The ID of the repository where the pull request is located.", "type": "string" }, "rightFileEndLine": { "description": "Position of last character of the thread's span in right file. The line number of a thread's position. Starts at 1. Must only be set if rightFileStartLine is also specified. (optional)", "type": "number" }, "rightFileEndOffset": { "description": "Position of last character of the thread's span in right file. The character offset of a thread's position inside of a line. Must only be set if rightFileEndLine is also specified. (optional)", "type": "number" }, "rightFileStartLine": { "description": "Position of first character of the thread's span in right file. The line number of a thread's position. Starts at 1. (optional)", "type": "number" }, "rightFileStartOffset": { "description": "Position of first character of the thread's span in right file. The line number of a thread's position. The character offset of a thread's position inside of a line. Starts at 1. Must only be set if rightFileStartLine is also specified. (optional)", "type": "number" }, "status": { "default": "Active", "description": "The status of the comment thread. Defaults to 'Active'.", "enum": [ "Unknown", "Active", "Fixed", "WontFix", "Closed", "ByDesign", "Pending" ], "type": "string" } }, "required": [ "repositoryId", "pullRequestId", "content" ], "type": "object" }

Other Tools from Azure DevOps MCP Server with PAT Authentication

Related Tools

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/ennuiii/DevOpsMcpPAT'

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