@mcp-apps/azure-devops-mcp-server
Version:
A Model Context Protocol (MCP) server for Azure DevOps integration
34 lines (33 loc) • 1.18 kB
TypeScript
import { z } from "zod";
import * as GitInterfaces from "azure-devops-node-api/interfaces/GitInterfaces";
declare const STATUS_MAP: Record<string, GitInterfaces.CommentThreadStatus>;
export declare const replyPullRequestCommentTool: {
name: string;
description: string;
parameters: {
organizationUrl: z.ZodString;
project: z.ZodString;
repositoryName: z.ZodString;
pullRequestId: z.ZodNumber;
threadId: z.ZodNumber;
content: z.ZodString;
parentCommentId: z.ZodDefault<z.ZodNumber>;
updateStatus: z.ZodOptional<z.ZodEnum<["active", "fixed", "won't-fix", "closed", "by-design", "pending"]>>;
};
handler: ({ organizationUrl, project, repositoryName, pullRequestId, threadId, content, parentCommentId, updateStatus, }: {
organizationUrl: string;
project: string;
repositoryName: string;
pullRequestId: number;
threadId: number;
content: string;
parentCommentId: number;
updateStatus?: keyof typeof STATUS_MAP;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
export {};