@tiberriver256/mcp-server-azure-devops
Version:
Azure DevOps reference server for the Model Context Protocol (MCP)
35 lines (34 loc) • 805 B
TypeScript
import { Pipeline, Run } from 'azure-devops-node-api/interfaces/PipelinesInterfaces';
/**
* Options for listing pipelines
*/
export interface ListPipelinesOptions {
projectId: string;
orderBy?: string;
top?: number;
continuationToken?: string;
}
/**
* Options for getting a pipeline
*/
export interface GetPipelineOptions {
projectId: string;
organizationId?: string;
pipelineId: number;
pipelineVersion?: number;
}
/**
* Options for triggering a pipeline
*/
export interface TriggerPipelineOptions {
projectId: string;
pipelineId: number;
branch?: string;
variables?: Record<string, {
value: string;
isSecret?: boolean;
}>;
templateParameters?: Record<string, string>;
stagesToSkip?: string[];
}
export { Pipeline, Run };