@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
22 lines (21 loc) • 1.28 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CloneRepositoryToolArgs = void 0;
const zod_1 = require("zod");
/**
* Schema for clone-repository tool arguments.
*/
exports.CloneRepositoryToolArgs = zod_1.z.object({
workspaceSlug: zod_1.z
.string()
.optional()
.describe('Bitbucket workspace slug containing the repository. If not provided, the tool will use your default workspace (either configured via BITBUCKET_DEFAULT_WORKSPACE or the first workspace in your account). Example: "myteam"'),
repoSlug: zod_1.z
.string()
.min(1, 'Repository slug is required')
.describe('Repository name/slug to clone. This is the short name of the repository. Example: "project-api"'),
targetPath: zod_1.z
.string()
.min(1, 'Target path is required')
.describe('Directory path where the repository will be cloned. IMPORTANT: Absolute paths are strongly recommended (e.g., "/home/user/projects" or "C:\\Users\\name\\projects"). Relative paths will be resolved relative to the server\'s working directory, which may not be what you expect. The repository will be cloned into a subdirectory at targetPath/repoSlug. Make sure you have write permissions to this location.'),
});