UNPKG

@nexus2520/bitbucket-mcp-server

Version:

MCP server for Bitbucket API integration - supports both Cloud and Server

22 lines 698 B
import { AxiosError } from 'axios'; export interface ApiError { status?: number; message: string; isAxiosError: boolean; originalError?: AxiosError; } export declare class BitbucketApiClient { private axiosInstance; private isServer; constructor(baseURL: string, username: string, password?: string, token?: string); makeRequest<T>(method: 'get' | 'post' | 'put' | 'delete', path: string, data?: any, config?: any): Promise<T>; handleApiError(error: any, context: string): { content: { type: string; text: string; }[]; isError: boolean; }; getIsServer(): boolean; } //# sourceMappingURL=api-client.d.ts.map