@mseep/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
29 lines (28 loc) • 1.34 kB
TypeScript
import { ControllerResponse } from '../types/common.types.js';
import { ListWorkspacesOptions, GetWorkspaceOptions, WorkspaceIdentifier } from './atlassian.workspaces.types.js';
/**
* Controller for managing Bitbucket workspaces.
* Provides functionality for listing workspaces and retrieving workspace details.
*/
/**
* List Bitbucket workspaces with optional filtering
* @param options - Options for listing workspaces
* @param options.limit - Maximum number of workspaces to return
* @param options.cursor - Pagination cursor for retrieving the next set of results
* @returns Promise with formatted workspace list content and pagination information
*/
declare function list(options: ListWorkspacesOptions): Promise<ControllerResponse>;
/**
* Get details of a specific Bitbucket workspace
* @param identifier - Object containing the workspace slug
* @param identifier.workspaceSlug - The slug of the workspace to retrieve
* @param options - Options for retrieving the workspace (not currently used)
* @returns Promise with formatted workspace details content
* @throws Error if workspace retrieval fails
*/
declare function get(identifier: WorkspaceIdentifier, options?: GetWorkspaceOptions): Promise<ControllerResponse>;
declare const _default: {
list: typeof list;
get: typeof get;
};
export default _default;