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

28 lines (27 loc) 1.12 kB
/** * Utility functions for converting Atlassian Document Format (ADF) to Markdown * * NOTE: Unlike Jira, Bitbucket Cloud API natively accepts and returns Markdown format. * This utility only includes adfToMarkdown for potential edge cases where Bitbucket * might return ADF content (though this is rare). * * Functions like markdownToAdf and textToAdf (needed in the Jira project) are NOT needed * in the Bitbucket integration and have been removed to avoid confusion. */ /** * Convert Atlassian Document Format (ADF) to Markdown * * @param adf - The ADF content to convert (can be string or object) * @returns The converted Markdown content */ export declare function adfToMarkdown(adf: unknown): string; /** * The following functions have been removed since they are not needed in Bitbucket: * - textToAdf (removed) * - markdownToAdf (removed) * * Unlike Jira, Bitbucket's API natively accepts Markdown content, * so there's no need to convert Markdown to ADF when sending data. * Instead, see formatter.util.ts and optimizeBitbucketMarkdown() for * Bitbucket-specific markdown handling. */