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

46 lines (45 loc) 1.65 kB
import { z } from 'zod'; /** * Schema for list-repositories tool arguments */ export declare const ListRepositoriesToolArgs: z.ZodObject<{ limit: z.ZodOptional<z.ZodNumber>; cursor: z.ZodOptional<z.ZodString>; workspaceSlug: z.ZodOptional<z.ZodString>; query: z.ZodOptional<z.ZodString>; sort: z.ZodOptional<z.ZodString>; role: z.ZodOptional<z.ZodString>; projectKey: z.ZodOptional<z.ZodString>; }, z.core.$strip>; export type ListRepositoriesToolArgsType = z.infer<typeof ListRepositoriesToolArgs>; /** * Schema for create-branch tool arguments. */ export declare const CreateBranchToolArgsSchema: z.ZodObject<{ workspaceSlug: z.ZodOptional<z.ZodString>; repoSlug: z.ZodString; newBranchName: z.ZodString; sourceBranchOrCommit: z.ZodString; }, z.core.$strip>; export type CreateBranchToolArgsType = z.infer<typeof CreateBranchToolArgsSchema>; /** * Schema for clone-repository tool arguments. */ export declare const CloneRepositoryToolArgs: z.ZodObject<{ workspaceSlug: z.ZodOptional<z.ZodString>; repoSlug: z.ZodString; targetPath: z.ZodString; }, z.core.$strip>; export type CloneRepositoryToolArgsType = z.infer<typeof CloneRepositoryToolArgs>; /** * Schema for list-branches tool arguments */ export declare const ListBranchesToolArgs: z.ZodObject<{ limit: z.ZodOptional<z.ZodNumber>; cursor: z.ZodOptional<z.ZodString>; workspaceSlug: z.ZodOptional<z.ZodString>; repoSlug: z.ZodString; query: z.ZodOptional<z.ZodString>; sort: z.ZodOptional<z.ZodString>; }, z.core.$strip>; export type ListBranchesToolArgsType = z.infer<typeof ListBranchesToolArgs>;