@mcp-apps/azure-devops-mcp-server
Version:
A Model Context Protocol (MCP) server for Azure DevOps integration
120 lines (119 loc) • 3.15 kB
TypeScript
import { z } from "zod";
export declare const listBuildPipelinesTool: {
name: string;
description: string;
parameters: {
organizationUrl: z.ZodString;
project: z.ZodString;
maxResults: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
};
handler: ({ organizationUrl, project, maxResults }: {
organizationUrl: string;
project: string;
maxResults: number;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
export declare const getBuildPipelineDetailsTool: {
name: string;
description: string;
parameters: {
organizationUrl: z.ZodString;
project: z.ZodString;
pipelineId: z.ZodNumber;
};
handler: ({ organizationUrl, project, pipelineId }: {
organizationUrl: string;
project: string;
pipelineId: number;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
export declare const listBuildRunsTool: {
name: string;
description: string;
parameters: {
organizationUrl: z.ZodString;
project: z.ZodString;
pipelineId: z.ZodOptional<z.ZodNumber>;
maxResults: z.ZodDefault<z.ZodNumber>;
};
handler: ({ organizationUrl, project, pipelineId, maxResults }: {
organizationUrl: string;
project: string;
pipelineId?: number;
maxResults: number;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
export declare const listReleasePipelinesTool: {
name: string;
description: string;
parameters: {
organizationUrl: z.ZodString;
project: z.ZodString;
maxResults: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
};
handler: ({ organizationUrl, project, maxResults }: {
organizationUrl: string;
project: string;
maxResults: number;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
export declare const getReleasePipelineDetailsTool: {
name: string;
description: string;
parameters: {
organizationUrl: z.ZodString;
project: z.ZodString;
pipelineId: z.ZodNumber;
};
handler: ({ organizationUrl, project, pipelineId }: {
organizationUrl: string;
project: string;
pipelineId: number;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
export declare const listReleaseRunsTool: {
name: string;
description: string;
parameters: {
organizationUrl: z.ZodString;
project: z.ZodString;
pipelineId: z.ZodOptional<z.ZodNumber>;
maxResults: z.ZodDefault<z.ZodNumber>;
};
handler: ({ organizationUrl, project, pipelineId, maxResults }: {
organizationUrl: string;
project: string;
pipelineId?: number;
maxResults: number;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};