UNPKG

@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.38 kB
/** * Application constants * * This file contains constants used throughout the application. * Centralizing these values makes them easier to maintain and update. */ /** * Current application version * This should match the version in package.json */ export declare const VERSION = "3.0.0"; /** * Package name with scope * Used for initialization and identification */ export declare const PACKAGE_NAME = "@aashari/mcp-server-atlassian-bitbucket"; /** * CLI command name * Used for binary name and CLI help text */ export declare const CLI_NAME = "mcp-atlassian-bitbucket"; /** * Network timeout constants (in milliseconds) */ export declare const NETWORK_TIMEOUTS: { /** Default timeout for API requests (30 seconds) */ readonly DEFAULT_REQUEST_TIMEOUT: number; /** Timeout for large file operations like diffs (60 seconds) */ readonly LARGE_REQUEST_TIMEOUT: number; /** Timeout for search operations (45 seconds) */ readonly SEARCH_REQUEST_TIMEOUT: number; }; /** * Data limits to prevent excessive resource consumption (CWE-770) */ export declare const DATA_LIMITS: { /** Maximum response size in bytes (10MB) */ readonly MAX_RESPONSE_SIZE: number; /** Maximum items per page for paginated requests */ readonly MAX_PAGE_SIZE: 100; /** Default page size when not specified */ readonly DEFAULT_PAGE_SIZE: 50; };