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

42 lines (41 loc) 1.29 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GetWorkspaceToolArgs = exports.ListWorkspacesToolArgs = void 0; const zod_1 = require("zod"); /** * Base pagination arguments for all tools */ const PaginationArgs = { limit: zod_1.z .number() .int() .positive() .max(100) .optional() .describe('Maximum number of items to return (1-100). Controls the response size. Defaults to 25 if omitted.'), cursor: zod_1.z .string() .optional() .describe('Pagination cursor for retrieving the next set of results. Obtained from previous response when more results are available.'), }; /** * Schema for list-workspaces tool arguments */ exports.ListWorkspacesToolArgs = zod_1.z.object({ /** * Maximum number of workspaces to return and pagination */ ...PaginationArgs, }); /** * Schema for get-workspace tool arguments */ exports.GetWorkspaceToolArgs = zod_1.z.object({ /** * Workspace slug to retrieve */ workspaceSlug: zod_1.z .string() .min(1, 'Workspace slug is required') .describe('Workspace slug to retrieve detailed information for. Must be a valid workspace slug from your Bitbucket account. Example: "myteam"'), });