@zhanglc77/bitbucket-mcp-server
Version:
MCP server for Bitbucket API integration - supports both Cloud and Server
1,229 lines • 38.2 kB
TypeScript
export declare const toolDefinitions: ({
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
pull_request_id: {
type: string;
description: string;
};
state?: undefined;
author?: undefined;
reviewer?: undefined;
limit?: undefined;
start?: undefined;
fields?: undefined;
title?: undefined;
source_branch?: undefined;
destination_branch?: undefined;
description?: undefined;
reviewers?: undefined;
close_source_branch?: undefined;
comment_text?: undefined;
parent_comment_id?: undefined;
file_path?: undefined;
line_number?: undefined;
line_type?: undefined;
suggestion?: undefined;
suggestion_end_line?: undefined;
code_snippet?: undefined;
search_context?: undefined;
match_strategy?: undefined;
merge_strategy?: undefined;
commit_message?: undefined;
filter?: undefined;
branch_name?: undefined;
force?: undefined;
context_lines?: undefined;
include_patterns?: undefined;
exclude_patterns?: undefined;
comment?: undefined;
include_merged_prs?: undefined;
path?: undefined;
branch?: undefined;
start_line?: undefined;
line_count?: undefined;
full_content?: undefined;
since?: undefined;
until?: undefined;
include_merge_commits?: undefined;
search?: undefined;
search_query?: undefined;
file_pattern?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
state: {
type: string;
description: string;
enum: string[];
};
author: {
type: string;
description: string;
};
reviewer: {
type: string;
description: string;
};
limit: {
type: string;
description: string;
};
start: {
type: string;
description: string;
};
fields: {
type: string;
description: string;
};
pull_request_id?: undefined;
title?: undefined;
source_branch?: undefined;
destination_branch?: undefined;
description?: undefined;
reviewers?: undefined;
close_source_branch?: undefined;
comment_text?: undefined;
parent_comment_id?: undefined;
file_path?: undefined;
line_number?: undefined;
line_type?: undefined;
suggestion?: undefined;
suggestion_end_line?: undefined;
code_snippet?: undefined;
search_context?: undefined;
match_strategy?: undefined;
merge_strategy?: undefined;
commit_message?: undefined;
filter?: undefined;
branch_name?: undefined;
force?: undefined;
context_lines?: undefined;
include_patterns?: undefined;
exclude_patterns?: undefined;
comment?: undefined;
include_merged_prs?: undefined;
path?: undefined;
branch?: undefined;
start_line?: undefined;
line_count?: undefined;
full_content?: undefined;
since?: undefined;
until?: undefined;
include_merge_commits?: undefined;
search?: undefined;
search_query?: undefined;
file_pattern?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
title: {
type: string;
description: string;
};
source_branch: {
type: string;
description: string;
};
destination_branch: {
type: string;
description: string;
};
description: {
type: string;
description: string;
};
reviewers: {
type: string;
items: {
type: string;
};
description: string;
};
close_source_branch: {
type: string;
description: string;
};
pull_request_id?: undefined;
state?: undefined;
author?: undefined;
reviewer?: undefined;
limit?: undefined;
start?: undefined;
fields?: undefined;
comment_text?: undefined;
parent_comment_id?: undefined;
file_path?: undefined;
line_number?: undefined;
line_type?: undefined;
suggestion?: undefined;
suggestion_end_line?: undefined;
code_snippet?: undefined;
search_context?: undefined;
match_strategy?: undefined;
merge_strategy?: undefined;
commit_message?: undefined;
filter?: undefined;
branch_name?: undefined;
force?: undefined;
context_lines?: undefined;
include_patterns?: undefined;
exclude_patterns?: undefined;
comment?: undefined;
include_merged_prs?: undefined;
path?: undefined;
branch?: undefined;
start_line?: undefined;
line_count?: undefined;
full_content?: undefined;
since?: undefined;
until?: undefined;
include_merge_commits?: undefined;
search?: undefined;
search_query?: undefined;
file_pattern?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
pull_request_id: {
type: string;
description: string;
};
title: {
type: string;
description: string;
};
description: {
type: string;
description: string;
};
destination_branch: {
type: string;
description: string;
};
reviewers: {
type: string;
items: {
type: string;
};
description: string;
};
state?: undefined;
author?: undefined;
reviewer?: undefined;
limit?: undefined;
start?: undefined;
fields?: undefined;
source_branch?: undefined;
close_source_branch?: undefined;
comment_text?: undefined;
parent_comment_id?: undefined;
file_path?: undefined;
line_number?: undefined;
line_type?: undefined;
suggestion?: undefined;
suggestion_end_line?: undefined;
code_snippet?: undefined;
search_context?: undefined;
match_strategy?: undefined;
merge_strategy?: undefined;
commit_message?: undefined;
filter?: undefined;
branch_name?: undefined;
force?: undefined;
context_lines?: undefined;
include_patterns?: undefined;
exclude_patterns?: undefined;
comment?: undefined;
include_merged_prs?: undefined;
path?: undefined;
branch?: undefined;
start_line?: undefined;
line_count?: undefined;
full_content?: undefined;
since?: undefined;
until?: undefined;
include_merge_commits?: undefined;
search?: undefined;
search_query?: undefined;
file_pattern?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
pull_request_id: {
type: string;
description: string;
};
comment_text: {
type: string;
description: string;
};
parent_comment_id: {
type: string;
description: string;
};
file_path: {
type: string;
description: string;
};
line_number: {
type: string;
description: string;
};
line_type: {
type: string;
description: string;
enum: string[];
};
suggestion: {
type: string;
description: string;
};
suggestion_end_line: {
type: string;
description: string;
};
code_snippet: {
type: string;
description: string;
};
search_context: {
type: string;
properties: {
before: {
type: string;
items: {
type: string;
};
description: string;
};
after: {
type: string;
items: {
type: string;
};
description: string;
};
};
description: string;
enum?: undefined;
};
match_strategy: {
type: string;
enum: string[];
description: string;
};
state?: undefined;
author?: undefined;
reviewer?: undefined;
limit?: undefined;
start?: undefined;
fields?: undefined;
title?: undefined;
source_branch?: undefined;
destination_branch?: undefined;
description?: undefined;
reviewers?: undefined;
close_source_branch?: undefined;
merge_strategy?: undefined;
commit_message?: undefined;
filter?: undefined;
branch_name?: undefined;
force?: undefined;
context_lines?: undefined;
include_patterns?: undefined;
exclude_patterns?: undefined;
comment?: undefined;
include_merged_prs?: undefined;
path?: undefined;
branch?: undefined;
start_line?: undefined;
line_count?: undefined;
full_content?: undefined;
since?: undefined;
until?: undefined;
include_merge_commits?: undefined;
search?: undefined;
search_query?: undefined;
file_pattern?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
pull_request_id: {
type: string;
description: string;
};
merge_strategy: {
type: string;
description: string;
enum: string[];
};
close_source_branch: {
type: string;
description: string;
};
commit_message: {
type: string;
description: string;
};
state?: undefined;
author?: undefined;
reviewer?: undefined;
limit?: undefined;
start?: undefined;
fields?: undefined;
title?: undefined;
source_branch?: undefined;
destination_branch?: undefined;
description?: undefined;
reviewers?: undefined;
comment_text?: undefined;
parent_comment_id?: undefined;
file_path?: undefined;
line_number?: undefined;
line_type?: undefined;
suggestion?: undefined;
suggestion_end_line?: undefined;
code_snippet?: undefined;
search_context?: undefined;
match_strategy?: undefined;
filter?: undefined;
branch_name?: undefined;
force?: undefined;
context_lines?: undefined;
include_patterns?: undefined;
exclude_patterns?: undefined;
comment?: undefined;
include_merged_prs?: undefined;
path?: undefined;
branch?: undefined;
start_line?: undefined;
line_count?: undefined;
full_content?: undefined;
since?: undefined;
until?: undefined;
include_merge_commits?: undefined;
search?: undefined;
search_query?: undefined;
file_pattern?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
filter: {
type: string;
description: string;
};
limit: {
type: string;
description: string;
};
start: {
type: string;
description: string;
};
pull_request_id?: undefined;
state?: undefined;
author?: undefined;
reviewer?: undefined;
fields?: undefined;
title?: undefined;
source_branch?: undefined;
destination_branch?: undefined;
description?: undefined;
reviewers?: undefined;
close_source_branch?: undefined;
comment_text?: undefined;
parent_comment_id?: undefined;
file_path?: undefined;
line_number?: undefined;
line_type?: undefined;
suggestion?: undefined;
suggestion_end_line?: undefined;
code_snippet?: undefined;
search_context?: undefined;
match_strategy?: undefined;
merge_strategy?: undefined;
commit_message?: undefined;
branch_name?: undefined;
force?: undefined;
context_lines?: undefined;
include_patterns?: undefined;
exclude_patterns?: undefined;
comment?: undefined;
include_merged_prs?: undefined;
path?: undefined;
branch?: undefined;
start_line?: undefined;
line_count?: undefined;
full_content?: undefined;
since?: undefined;
until?: undefined;
include_merge_commits?: undefined;
search?: undefined;
search_query?: undefined;
file_pattern?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
branch_name: {
type: string;
description: string;
};
force: {
type: string;
description: string;
};
pull_request_id?: undefined;
state?: undefined;
author?: undefined;
reviewer?: undefined;
limit?: undefined;
start?: undefined;
fields?: undefined;
title?: undefined;
source_branch?: undefined;
destination_branch?: undefined;
description?: undefined;
reviewers?: undefined;
close_source_branch?: undefined;
comment_text?: undefined;
parent_comment_id?: undefined;
file_path?: undefined;
line_number?: undefined;
line_type?: undefined;
suggestion?: undefined;
suggestion_end_line?: undefined;
code_snippet?: undefined;
search_context?: undefined;
match_strategy?: undefined;
merge_strategy?: undefined;
commit_message?: undefined;
filter?: undefined;
context_lines?: undefined;
include_patterns?: undefined;
exclude_patterns?: undefined;
comment?: undefined;
include_merged_prs?: undefined;
path?: undefined;
branch?: undefined;
start_line?: undefined;
line_count?: undefined;
full_content?: undefined;
since?: undefined;
until?: undefined;
include_merge_commits?: undefined;
search?: undefined;
search_query?: undefined;
file_pattern?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
pull_request_id: {
type: string;
description: string;
};
context_lines: {
type: string;
description: string;
};
include_patterns: {
type: string;
items: {
type: string;
};
description: string;
};
exclude_patterns: {
type: string;
items: {
type: string;
};
description: string;
};
file_path: {
type: string;
description: string;
};
state?: undefined;
author?: undefined;
reviewer?: undefined;
limit?: undefined;
start?: undefined;
fields?: undefined;
title?: undefined;
source_branch?: undefined;
destination_branch?: undefined;
description?: undefined;
reviewers?: undefined;
close_source_branch?: undefined;
comment_text?: undefined;
parent_comment_id?: undefined;
line_number?: undefined;
line_type?: undefined;
suggestion?: undefined;
suggestion_end_line?: undefined;
code_snippet?: undefined;
search_context?: undefined;
match_strategy?: undefined;
merge_strategy?: undefined;
commit_message?: undefined;
filter?: undefined;
branch_name?: undefined;
force?: undefined;
comment?: undefined;
include_merged_prs?: undefined;
path?: undefined;
branch?: undefined;
start_line?: undefined;
line_count?: undefined;
full_content?: undefined;
since?: undefined;
until?: undefined;
include_merge_commits?: undefined;
search?: undefined;
search_query?: undefined;
file_pattern?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
pull_request_id: {
type: string;
description: string;
};
comment: {
type: string;
description: string;
};
state?: undefined;
author?: undefined;
reviewer?: undefined;
limit?: undefined;
start?: undefined;
fields?: undefined;
title?: undefined;
source_branch?: undefined;
destination_branch?: undefined;
description?: undefined;
reviewers?: undefined;
close_source_branch?: undefined;
comment_text?: undefined;
parent_comment_id?: undefined;
file_path?: undefined;
line_number?: undefined;
line_type?: undefined;
suggestion?: undefined;
suggestion_end_line?: undefined;
code_snippet?: undefined;
search_context?: undefined;
match_strategy?: undefined;
merge_strategy?: undefined;
commit_message?: undefined;
filter?: undefined;
branch_name?: undefined;
force?: undefined;
context_lines?: undefined;
include_patterns?: undefined;
exclude_patterns?: undefined;
include_merged_prs?: undefined;
path?: undefined;
branch?: undefined;
start_line?: undefined;
line_count?: undefined;
full_content?: undefined;
since?: undefined;
until?: undefined;
include_merge_commits?: undefined;
search?: undefined;
search_query?: undefined;
file_pattern?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
branch_name: {
type: string;
description: string;
};
include_merged_prs: {
type: string;
description: string;
};
pull_request_id?: undefined;
state?: undefined;
author?: undefined;
reviewer?: undefined;
limit?: undefined;
start?: undefined;
fields?: undefined;
title?: undefined;
source_branch?: undefined;
destination_branch?: undefined;
description?: undefined;
reviewers?: undefined;
close_source_branch?: undefined;
comment_text?: undefined;
parent_comment_id?: undefined;
file_path?: undefined;
line_number?: undefined;
line_type?: undefined;
suggestion?: undefined;
suggestion_end_line?: undefined;
code_snippet?: undefined;
search_context?: undefined;
match_strategy?: undefined;
merge_strategy?: undefined;
commit_message?: undefined;
filter?: undefined;
force?: undefined;
context_lines?: undefined;
include_patterns?: undefined;
exclude_patterns?: undefined;
comment?: undefined;
path?: undefined;
branch?: undefined;
start_line?: undefined;
line_count?: undefined;
full_content?: undefined;
since?: undefined;
until?: undefined;
include_merge_commits?: undefined;
search?: undefined;
search_query?: undefined;
file_pattern?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
path: {
type: string;
description: string;
};
branch: {
type: string;
description: string;
};
pull_request_id?: undefined;
state?: undefined;
author?: undefined;
reviewer?: undefined;
limit?: undefined;
start?: undefined;
fields?: undefined;
title?: undefined;
source_branch?: undefined;
destination_branch?: undefined;
description?: undefined;
reviewers?: undefined;
close_source_branch?: undefined;
comment_text?: undefined;
parent_comment_id?: undefined;
file_path?: undefined;
line_number?: undefined;
line_type?: undefined;
suggestion?: undefined;
suggestion_end_line?: undefined;
code_snippet?: undefined;
search_context?: undefined;
match_strategy?: undefined;
merge_strategy?: undefined;
commit_message?: undefined;
filter?: undefined;
branch_name?: undefined;
force?: undefined;
context_lines?: undefined;
include_patterns?: undefined;
exclude_patterns?: undefined;
comment?: undefined;
include_merged_prs?: undefined;
start_line?: undefined;
line_count?: undefined;
full_content?: undefined;
since?: undefined;
until?: undefined;
include_merge_commits?: undefined;
search?: undefined;
search_query?: undefined;
file_pattern?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
file_path: {
type: string;
description: string;
};
branch: {
type: string;
description: string;
};
start_line: {
type: string;
description: string;
};
line_count: {
type: string;
description: string;
};
full_content: {
type: string;
description: string;
};
pull_request_id?: undefined;
state?: undefined;
author?: undefined;
reviewer?: undefined;
limit?: undefined;
start?: undefined;
fields?: undefined;
title?: undefined;
source_branch?: undefined;
destination_branch?: undefined;
description?: undefined;
reviewers?: undefined;
close_source_branch?: undefined;
comment_text?: undefined;
parent_comment_id?: undefined;
line_number?: undefined;
line_type?: undefined;
suggestion?: undefined;
suggestion_end_line?: undefined;
code_snippet?: undefined;
search_context?: undefined;
match_strategy?: undefined;
merge_strategy?: undefined;
commit_message?: undefined;
filter?: undefined;
branch_name?: undefined;
force?: undefined;
context_lines?: undefined;
include_patterns?: undefined;
exclude_patterns?: undefined;
comment?: undefined;
include_merged_prs?: undefined;
path?: undefined;
since?: undefined;
until?: undefined;
include_merge_commits?: undefined;
search?: undefined;
search_query?: undefined;
file_pattern?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
branch_name: {
type: string;
description: string;
};
limit: {
type: string;
description: string;
};
start: {
type: string;
description: string;
};
since: {
type: string;
description: string;
};
until: {
type: string;
description: string;
};
author: {
type: string;
description: string;
};
include_merge_commits: {
type: string;
description: string;
};
search: {
type: string;
description: string;
};
pull_request_id?: undefined;
state?: undefined;
reviewer?: undefined;
fields?: undefined;
title?: undefined;
source_branch?: undefined;
destination_branch?: undefined;
description?: undefined;
reviewers?: undefined;
close_source_branch?: undefined;
comment_text?: undefined;
parent_comment_id?: undefined;
file_path?: undefined;
line_number?: undefined;
line_type?: undefined;
suggestion?: undefined;
suggestion_end_line?: undefined;
code_snippet?: undefined;
search_context?: undefined;
match_strategy?: undefined;
merge_strategy?: undefined;
commit_message?: undefined;
filter?: undefined;
force?: undefined;
context_lines?: undefined;
include_patterns?: undefined;
exclude_patterns?: undefined;
comment?: undefined;
include_merged_prs?: undefined;
path?: undefined;
branch?: undefined;
start_line?: undefined;
line_count?: undefined;
full_content?: undefined;
search_query?: undefined;
file_pattern?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
pull_request_id: {
type: string;
description: string;
};
limit: {
type: string;
description: string;
};
start: {
type: string;
description: string;
};
state?: undefined;
author?: undefined;
reviewer?: undefined;
fields?: undefined;
title?: undefined;
source_branch?: undefined;
destination_branch?: undefined;
description?: undefined;
reviewers?: undefined;
close_source_branch?: undefined;
comment_text?: undefined;
parent_comment_id?: undefined;
file_path?: undefined;
line_number?: undefined;
line_type?: undefined;
suggestion?: undefined;
suggestion_end_line?: undefined;
code_snippet?: undefined;
search_context?: undefined;
match_strategy?: undefined;
merge_strategy?: undefined;
commit_message?: undefined;
filter?: undefined;
branch_name?: undefined;
force?: undefined;
context_lines?: undefined;
include_patterns?: undefined;
exclude_patterns?: undefined;
comment?: undefined;
include_merged_prs?: undefined;
path?: undefined;
branch?: undefined;
start_line?: undefined;
line_count?: undefined;
full_content?: undefined;
since?: undefined;
until?: undefined;
include_merge_commits?: undefined;
search?: undefined;
search_query?: undefined;
file_pattern?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
workspace: {
type: string;
description: string;
};
repository: {
type: string;
description: string;
};
search_query: {
type: string;
description: string;
};
search_context: {
type: string;
enum: string[];
description: string;
properties?: undefined;
};
file_pattern: {
type: string;
description: string;
};
include_patterns: {
type: string;
items: {
type: string;
};
description: string;
};
limit: {
type: string;
description: string;
};
start: {
type: string;
description: string;
};
pull_request_id?: undefined;
state?: undefined;
author?: undefined;
reviewer?: undefined;
fields?: undefined;
title?: undefined;
source_branch?: undefined;
destination_branch?: undefined;
description?: undefined;
reviewers?: undefined;
close_source_branch?: undefined;
comment_text?: undefined;
parent_comment_id?: undefined;
file_path?: undefined;
line_number?: undefined;
line_type?: undefined;
suggestion?: undefined;
suggestion_end_line?: undefined;
code_snippet?: undefined;
match_strategy?: undefined;
merge_strategy?: undefined;
commit_message?: undefined;
filter?: undefined;
branch_name?: undefined;
force?: undefined;
context_lines?: undefined;
exclude_patterns?: undefined;
comment?: undefined;
include_merged_prs?: undefined;
path?: undefined;
branch?: undefined;
start_line?: undefined;
line_count?: undefined;
full_content?: undefined;
since?: undefined;
until?: undefined;
include_merge_commits?: undefined;
search?: undefined;
};
required: string[];
};
})[];
//# sourceMappingURL=definitions.d.ts.map