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

21 lines (20 loc) 1.07 kB
import { DiffstatResponse } from '../services/vendor.atlassian.repositories.diff.types.js'; /** * Format diffstat results into Markdown * * @param diffstat - Diffstat response containing file changes * @param baseBranchOrCommit - Name of the base branch or commit (source of the diff) * @param targetBranchOrCommit - Name of the target branch or commit (destination of the diff) * @returns Formatted Markdown string */ export declare function formatDiffstat(diffstat: DiffstatResponse, baseBranchOrCommit: string, targetBranchOrCommit: string): string; /** * Format complete diff results, including diffstat summary and raw diff * * @param diffstat - Diffstat response containing file changes * @param rawDiff - Raw unified diff text * @param baseBranchOrCommit - Name of the base branch or commit * @param targetBranchOrCommit - Name of the target branch or commit * @returns Formatted Markdown string */ export declare function formatFullDiff(diffstat: DiffstatResponse, rawDiff: string, baseBranchOrCommit: string, targetBranchOrCommit: string): string;