UNPKG

@mcp-apps/azure-devops-mcp-server

Version:

A Model Context Protocol (MCP) server for Azure DevOps integration

29 lines (28 loc) 833 B
import { z } from "zod"; export declare const createPullRequestTool: { name: string; description: string; parameters: { organizationUrl: z.ZodString; project: z.ZodString; repositoryName: z.ZodString; sourceBranch: z.ZodString; targetBranch: z.ZodDefault<z.ZodString>; title: z.ZodString; description: z.ZodOptional<z.ZodString>; }; handler: ({ organizationUrl, project, repositoryName, sourceBranch, targetBranch, title, description }: { organizationUrl: string; project: string; repositoryName: string; sourceBranch: string; targetBranch: string; title: string; description?: string; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; };