@mcp-apps/azure-devops-mcp-server
Version:
A Model Context Protocol (MCP) server for Azure DevOps integration
126 lines (125 loc) • 3.38 kB
TypeScript
import { z } from "zod";
export declare const gitCommandTool: {
name: string;
description: string;
parameters: {
repositoryPath: z.ZodString;
command: z.ZodString;
workingDirectory: z.ZodOptional<z.ZodString>;
};
handler: ({ repositoryPath, command, workingDirectory }: {
repositoryPath: string;
command: string;
workingDirectory?: string;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
export declare const cloneRepositoryTool: {
name: string;
description: string;
parameters: {
organizationUrl: z.ZodString;
project: z.ZodString;
repositoryName: z.ZodString;
localPath: z.ZodString;
branch: z.ZodOptional<z.ZodString>;
};
handler: ({ organizationUrl, project, repositoryName, localPath, branch }: {
organizationUrl: string;
project: string;
repositoryName: string;
localPath: string;
branch?: string;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
export declare const createBranchTool: {
name: string;
description: string;
parameters: {
repositoryPath: z.ZodString;
branchName: z.ZodString;
startPoint: z.ZodOptional<z.ZodString>;
checkout: z.ZodDefault<z.ZodBoolean>;
};
handler: ({ repositoryPath, branchName, startPoint, checkout }: {
repositoryPath: string;
branchName: string;
startPoint?: string;
checkout: boolean;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
export declare const pushChangesTool: {
name: string;
description: string;
parameters: {
repositoryPath: z.ZodString;
remoteName: z.ZodDefault<z.ZodString>;
branchName: z.ZodString;
setUpstream: z.ZodDefault<z.ZodBoolean>;
force: z.ZodDefault<z.ZodBoolean>;
};
handler: ({ repositoryPath, remoteName, branchName, setUpstream, force }: {
repositoryPath: string;
remoteName: string;
branchName: string;
setUpstream: boolean;
force: boolean;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
export declare const getRepositoryStatusTool: {
name: string;
description: string;
parameters: {
repositoryPath: z.ZodString;
showUntracked: z.ZodDefault<z.ZodBoolean>;
};
handler: ({ repositoryPath, showUntracked }: {
repositoryPath: string;
showUntracked: boolean;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
export declare const commitChangesTool: {
name: string;
description: string;
parameters: {
repositoryPath: z.ZodString;
message: z.ZodString;
stageAll: z.ZodDefault<z.ZodBoolean>;
allowEmpty: z.ZodDefault<z.ZodBoolean>;
};
handler: ({ repositoryPath, message, stageAll, allowEmpty }: {
repositoryPath: string;
message: string;
stageAll: boolean;
allowEmpty: boolean;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};