@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
44 lines (43 loc) • 1.35 kB
TypeScript
import { PaginationOptions, EntityIdentifier } from '../types/common.types.js';
/**
* Options for listing Bitbucket repositories.
* These options control filtering and pagination of repository listings.
*/
export interface ListRepositoriesOptions extends PaginationOptions {
/**
* The workspace slug to list repositories for.
* This is a required parameter for identifying the workspace.
*/
workspaceSlug: string;
/**
* Filter repositories by query.
* Performs a case-insensitive partial match on repository names and descriptions.
*/
query?: string;
/**
* The field to sort repositories by.
* Examples: 'name', 'updated_on', 'size'
*/
sort?: string;
/**
* Role filter for repository access.
* Examples: 'owner', 'admin', 'contributor', 'member'
*/
role?: string;
}
/**
* Repository identifier for retrieving specific repositories.
* Used as the parameter to get() method.
*/
export interface RepositoryIdentifier extends EntityIdentifier {
/**
* The workspace slug containing the repository.
* This identifies the team or account that owns the repository.
*/
workspaceSlug: string;
/**
* The repository slug.
* This is the unique identifier for the repository within the workspace.
*/
repoSlug: string;
}