Commit graph

11 commits

Author SHA1 Message Date
pdogra1299
c6d5b0a6f5 feat: add file and directory handling tools
- Added list_directory_content tool for browsing repository files/directories
- Added get_file_content tool with smart truncation for large files
- Smart defaults by file type (config: 200, docs: 300, code: 500 lines)
- Pagination support with start_line and line_count parameters
- Tail functionality using negative start_line values
- Auto-truncation for files >50KB, explicit approval needed for >1MB files
- Returns metadata including size, encoding, and last modified info
- Added FileHandlers class following modular architecture
- Added TypeScript interfaces and type guards
- Updated version to 0.5.0 and CHANGELOG
2025-06-21 17:25:00 +05:30
pdogra1299
b1a25d2a05 chore: Bump version to 0.4.0 for release
- Updated package.json version to 0.4.0
- Updated CHANGELOG.md with new release notes
- Updated version in index.ts
2025-06-21 16:24:08 +05:30
pdogra1299
5d38645127 feat: Add get_branch tool for comprehensive branch information
- Added new tool to get detailed branch information including associated PRs
- Supports both Bitbucket Server and Cloud APIs
- Returns branch details, open PRs, optionally merged PRs, and statistics
- Useful for checking PR status before branch deletion and branch management
- Added TypeScript interfaces for branch responses
- Added comprehensive documentation in README
2025-06-21 16:20:15 +05:30
pdogra1299
75c4192815 fix: Fix GET request parameter passing for all handlers
- Fixed API parameter passing for GET requests (was passing config as third parameter instead of fourth)
- Branch filtering now works correctly with filterText parameter for Bitbucket Server
- All GET requests with query parameters now functioning properly across all handlers
- Updated CHANGELOG.md to reflect the fixes
2025-06-05 14:49:51 +05:30
pdogra1299
c72336b460 feat: Added NPX support 2025-06-04 21:14:35 +05:30
pdogra1299
6abca3e7d0 feat: Add remaining PR lifecycle and code review tools
- Added create_pull_request, update_pull_request, merge_pull_request tools
- Added list_branches and delete_branch tools (fixed delete to handle 204 response)
- Enhanced add_comment to support inline comments on specific code lines
- Added all code review tools: approve/unapprove, request/remove changes, get diff
- Updated package version to 0.2.0
- Comprehensive documentation for all tools in README
2025-06-04 19:33:16 +05:30
Parth Dogra
66c28c421e
Merge pull request #1 from pdogra1299/feature/add-more-tools
Feature/add more tools
2025-06-04 18:01:06 +05:30
pdogra1299
5a2b31ac71 docs: update README with author filter notes for Bitbucket Server
- Add note that Bitbucket Server requires email address for author filter
- Clarify difference between Cloud (username) and Server (email) for author parameter
2025-06-04 17:57:13 +05:30
pdogra1299
a9278419f2 fix: correct author filter for Bitbucket Server using role.1 and username.1 parameters 2025-06-04 17:54:42 +05:30
pdogra1299
208366f9f5 feat: add list_pull_requests tool with filtering and pagination support 2025-06-04 17:42:51 +05:30
pdogra1299
b1d758646c Initial commit: Bitbucket MCP server with get_pull_request tool 2025-06-04 17:24:37 +05:30