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

38 lines (37 loc) 1.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ContentType = void 0; exports.getContentTypeDisplay = getContentTypeDisplay; /** * Types of content that can be searched in Bitbucket */ var ContentType; (function (ContentType) { ContentType["WIKI"] = "wiki"; ContentType["ISSUE"] = "issue"; ContentType["PULLREQUEST"] = "pullrequest"; ContentType["COMMIT"] = "commit"; ContentType["BRANCH"] = "branch"; ContentType["TAG"] = "tag"; })(ContentType || (exports.ContentType = ContentType = {})); /** * Get the display name for a content type */ function getContentTypeDisplay(type) { switch (type) { case ContentType.WIKI: return 'Wiki'; case ContentType.ISSUE: return 'Issue'; case ContentType.PULLREQUEST: return 'Pull Request'; case ContentType.COMMIT: return 'Commit'; case ContentType.BRANCH: return 'Branch'; case ContentType.TAG: return 'Tag'; default: return type; } }