@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
53 lines (52 loc) • 1.24 kB
TypeScript
import { ContentType } from '../utils/atlassian.util.js';
/**
* Content search parameters
*/
export interface ContentSearchParams {
/** Workspace slug to search in */
workspaceSlug: string;
/** Query string to search for */
query: string;
/** Maximum number of results to return (default: 25) */
limit?: number;
/** Page number for pagination (default: 1) */
page?: number;
/** Repository slug to search in (optional) */
repoSlug?: string;
/** Type of content to search for (optional) */
contentType?: ContentType;
}
/**
* Generic content search result item
*/
export interface ContentSearchResultItem {
type?: string;
title?: string;
name?: string;
summary?: string;
description?: string;
content?: string;
created_on?: string;
updated_on?: string;
links?: {
self?: {
href: string;
};
html?: {
href: string;
};
[]: unknown;
};
[]: unknown;
}
/**
* Content search response
*/
export interface ContentSearchResponse {
size: number;
page: number;
pagelen: number;
values: ContentSearchResultItem[];
next?: string;
previous?: string;
}