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

19 lines (18 loc) 703 B
import { WorkspaceMembership } from '../services/vendor.atlassian.workspaces.types.js'; /** * Get the default workspace slug * * This function follows this priority: * 1. Use cached value if available * 2. Check BITBUCKET_DEFAULT_WORKSPACE environment variable * 3. Fetch from API and use the first workspace in the list * * @returns {Promise<string|null>} The default workspace slug or null if not available */ export declare function getDefaultWorkspace(): Promise<string | null>; /** * Get list of workspaces from API or cache * * @returns {Promise<WorkspaceMembership[]>} Array of workspace membership objects */ export declare function getWorkspaces(): Promise<WorkspaceMembership[]>;