bitbucket-mcp-server/package.json
pdogra1299 f602840c97 feat: Add code snippet support and suggestions to add_comment tool
- Added code_snippet parameter to find line numbers automatically using code text
- Added search_context parameter with before/after arrays for disambiguation
- Added match_strategy parameter (strict/best) for handling multiple matches
- Added suggestion and suggestion_end_line parameters for code suggestions
- Created suggestion-formatter utility for formatting suggestion comments
- Enhanced tool definitions with clearer descriptions and examples
- Updated README with comprehensive usage guide and decision flow
- Removed all debug information from responses for production readiness
- Added detailed error responses when multiple code matches are found
- Improved type definitions and guards for new parameters

This makes the add_comment tool more intelligent and user-friendly, especially for AI-powered code review scenarios.
2025-06-27 02:26:08 +05:30

55 lines
1.3 KiB
JSON

{
"name": "@nexus2520/bitbucket-mcp-server",
"version": "0.9.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.10.0",
"minimatch": "^9.0.3"
},
"devDependencies": {
"@types/minimatch": "^5.1.2",
"@types/node": "^22.15.29",
"typescript": "^5.8.3"
}
}