bitbucket-mcp-server/package.json
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

53 lines
1.3 KiB
JSON

{
"name": "@nexus2520/bitbucket-mcp-server",
"version": "0.5.0",
"description": "MCP server for Bitbucket API integration - supports both Cloud and Server",
"type": "module",
"main": "./build/index.js",
"bin": {
"bitbucket-mcp-server": "./build/index.js"
},
"files": [
"build/**/*",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"scripts": {
"build": "tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\"",
"dev": "tsc --watch",
"start": "node build/index.js",
"prepublishOnly": "npm run build"
},
"keywords": [
"mcp",
"bitbucket",
"api",
"model-context-protocol",
"bitbucket-server",
"bitbucket-cloud",
"pull-request",
"code-review"
],
"author": "Parth Dogra",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://git.pratiknarola.com/Pdogra/bitbucket-mcp-server"
},
"bugs": {
"url": "https://git.pratiknarola.com/Pdogra/bitbucket-mcp-server/issues"
},
"homepage": "https://git.pratiknarola.com/Pdogra/bitbucket-mcp-server#readme",
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.12.1",
"axios": "^1.9.0"
},
"devDependencies": {
"@types/node": "^22.15.29",
"typescript": "^5.8.3"
}
}