UNPKG

@aashari/mcp-server-atlassian-bitbucket

Version:

Node.js/TypeScript MCP server for Atlassian Bitbucket. Enables AI systems (LLMs) to interact with workspaces, repositories, and pull requests via tools (list, get, comment, search). Connects AI directly to version control workflows through the standard MC

81 lines (80 loc) 2.38 kB
import { z } from 'zod'; /** * Schema for the branch diff tool arguments */ export declare const BranchDiffArgsSchema: z.ZodObject<{ /** * Workspace slug containing the repository */ workspaceSlug: z.ZodOptional<z.ZodString>; /** * Repository slug containing the branches */ repoSlug: z.ZodString; /** * Source branch (feature branch) */ sourceBranch: z.ZodString; /** * Destination branch (target branch like main/master) */ destinationBranch: z.ZodOptional<z.ZodString>; /** * Include full diff in the output */ includeFullDiff: z.ZodOptional<z.ZodBoolean>; /** * Maximum number of files to return per page */ limit: z.ZodOptional<z.ZodNumber>; /** * Pagination cursor for retrieving additional results */ cursor: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { repoSlug: string; sourceBranch: string; cursor?: number | undefined; limit?: number | undefined; workspaceSlug?: string | undefined; includeFullDiff?: boolean | undefined; destinationBranch?: string | undefined; }, { repoSlug: string; sourceBranch: string; cursor?: number | undefined; limit?: number | undefined; workspaceSlug?: string | undefined; includeFullDiff?: boolean | undefined; destinationBranch?: string | undefined; }>; export type BranchDiffArgsType = z.infer<typeof BranchDiffArgsSchema>; /** * Schema for the commit diff tool arguments */ export declare const CommitDiffArgsSchema: z.ZodObject<{ workspaceSlug: z.ZodOptional<z.ZodString>; repoSlug: z.ZodString; sinceCommit: z.ZodString; untilCommit: z.ZodString; includeFullDiff: z.ZodOptional<z.ZodBoolean>; limit: z.ZodOptional<z.ZodNumber>; cursor: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { repoSlug: string; sinceCommit: string; untilCommit: string; cursor?: number | undefined; limit?: number | undefined; workspaceSlug?: string | undefined; includeFullDiff?: boolean | undefined; }, { repoSlug: string; sinceCommit: string; untilCommit: string; cursor?: number | undefined; limit?: number | undefined; workspaceSlug?: string | undefined; includeFullDiff?: boolean | undefined; }>; export type CommitDiffArgsType = z.infer<typeof CommitDiffArgsSchema>;