{"_id":"@shibainu16/bitbucket-dc-mcp","_rev":"6-f6b77a92a7bc03b1cf1c87fea943d0d1","name":"@shibainu16/bitbucket-dc-mcp","dist-tags":{"latest":"1.7.0"},"versions":{"1.0.2":{"name":"@shibainu16/bitbucket-dc-mcp","version":"1.0.2","keywords":["mcp","bitbucket","bitbucket-datacenter","model-context-protocol"],"author":{"name":"lvluu"},"license":"MIT","_id":"@shibainu16/bitbucket-dc-mcp@1.0.2","maintainers":[{"name":"shibainu16","email":"luuvanloi162@gmail.com"}],"homepage":"https://github.com/lvluu/bitbucket-dc-mcp#readme","bugs":{"url":"https://github.com/lvluu/bitbucket-dc-mcp/issues"},"bin":{"bitbucket-dc-mcp":"build/index.js"},"dist":{"shasum":"ad2c19e73e44c04be14c4c9d927bd11bf77f5c5c","tarball":"https://registry.npmjs.org/@shibainu16/bitbucket-dc-mcp/-/bitbucket-dc-mcp-1.0.2.tgz","fileCount":43,"integrity":"sha512-3tJaHvJFURjyDBX6iMCsfB1KrhZjiFJWIC67p6SU9qLnzc96AyDzLlvZlckP68yfd2Zm6HddBAb3qKVI+1VeXQ==","signatures":[{"sig":"MEQCIBVa/2vstLzpr/EwqXomibh0QeuZDIfQYzb8DtR7M9mvAiBBckPOiPI5nup92M8ZrLzbwsbLxtza5t657/NlAb+Ggg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":179506},"main":"build/index.js","type":"module","engines":{"node":">=20.11.0"},"gitHead":"f24e04be36acfe273842fcfc26c1dfb8381a2e16","scripts":{"dev":"npm run build && node dev","knip":"knip","lint":"eslint .","test":"vitest run","build":"tsc && chmod 755 build/index.js","inspect":"npm run build && npx @modelcontextprotocol/inspector node build/index.js","gen:tool":"hygen tool new","knip:fix":"knip --fix","lint:fix":"eslint . --fix","typecheck":"tsc --noEmit","gen:prompt":"hygen prompt new","serve:http":"npm run build && MCP_TRANSPORT=http PORT=3000 node build/index.js","test:watch":"vitest","serve:stdio":"npm run build && MCP_TRANSPORT=stdio node build/index.js","gen:resource":"hygen resource new","inspect:http":"npm run build && npx @modelcontextprotocol/inspector http://localhost:3000/mcp","prepublishOnly":"npm run build","knip:production":"knip --production"},"_npmUser":{"name":"shibainu16","email":"luuvanloi162@gmail.com"},"repository":{"url":"git+https://github.com/lvluu/bitbucket-dc-mcp.git","type":"git"},"_npmVersion":"11.6.2","description":"HTTP MCP server for Bitbucket Data Center REST API","directories":{},"_nodeVersion":"24.12.0","dependencies":{"zod":"^3.25.0","cors":"^2.8.5","axios":"^1.13.5","dotenv":"^17.2.3","express":"^5.1.0","fast-glob":"^3.3.3","@modelcontextprotocol/sdk":"^1.20.2"},"_hasShrinkwrap":false,"devDependencies":{"knip":"^5.66.2","hygen":"^6.2.11","eslint":"^9.38.0","vitest":"^4.0.18","@eslint/js":"^9.38.0","typescript":"^5.9.3","@types/cors":"^2.8.19","@types/node":"^24.9.1","@types/express":"^5.0.4","typescript-eslint":"^8.46.2","eslint-plugin-import":"^2.32.0","eslint-plugin-sonarjs":"^3.0.5","@typescript-eslint/parser":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/bitbucket-dc-mcp_1.0.2_1770721455069_0.7679716346056875","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@shibainu16/bitbucket-dc-mcp","version":"1.1.0","keywords":["mcp","bitbucket","bitbucket-datacenter","model-context-protocol"],"author":{"name":"lvluu"},"license":"MIT","_id":"@shibainu16/bitbucket-dc-mcp@1.1.0","maintainers":[{"name":"shibainu16","email":"luuvanloi162@gmail.com"}],"homepage":"https://github.com/lvluu/bitbucket-dc-mcp#readme","bugs":{"url":"https://github.com/lvluu/bitbucket-dc-mcp/issues"},"bin":{"bitbucket-dc-mcp":"build/index.js"},"dist":{"shasum":"8926e2a2c866c3fd0f414e057be9b7c16de6d4c0","tarball":"https://registry.npmjs.org/@shibainu16/bitbucket-dc-mcp/-/bitbucket-dc-mcp-1.1.0.tgz","fileCount":45,"integrity":"sha512-usQd3Qzoo3a0msZ8e51XSwHGf72PY/Qe8Zd5Z0Llaxmv+xV5UwbTizqFFw1Ro9uCZpirEpeCCHpnuZfygUnuJQ==","signatures":[{"sig":"MEUCIEKDVonlmh+hE91go+tDFmnIiiGiD42LkM2jxxZFDZK/AiEAytHOym/yTWitgGwlFiApC6Yni0ARU4ztIJ5A3i7h7H8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":188427},"main":"build/index.js","type":"module","engines":{"node":">=20.11.0"},"gitHead":"a4b5ac726edfb765dd6a8afa1898d155e9d69640","scripts":{"dev":"npm run build && node dev","knip":"knip","lint":"eslint .","test":"vitest run","build":"tsc && chmod 755 build/index.js","inspect":"npm run build && npx @modelcontextprotocol/inspector node build/index.js","gen:tool":"hygen tool new","knip:fix":"knip --fix","lint:fix":"eslint . --fix","typecheck":"tsc --noEmit","gen:prompt":"hygen prompt new","serve:http":"npm run build && MCP_TRANSPORT=http PORT=3000 node build/index.js","test:watch":"vitest","serve:stdio":"npm run build && MCP_TRANSPORT=stdio node build/index.js","gen:resource":"hygen resource new","inspect:http":"npm run build && npx @modelcontextprotocol/inspector http://localhost:3000/mcp","prepublishOnly":"npm run build","knip:production":"knip --production"},"_npmUser":{"name":"shibainu16","email":"luuvanloi162@gmail.com"},"repository":{"url":"git+https://github.com/lvluu/bitbucket-dc-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"HTTP MCP server for Bitbucket Data Center REST API","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.25.0","cors":"^2.8.5","axios":"^1.13.5","dotenv":"^17.2.3","express":"^5.1.0","fast-glob":"^3.3.3","@modelcontextprotocol/sdk":"^1.20.2"},"_hasShrinkwrap":false,"devDependencies":{"knip":"^5.66.2","hygen":"^6.2.11","eslint":"^9.38.0","vitest":"^4.0.18","@eslint/js":"^9.38.0","typescript":"^5.9.3","@types/cors":"^2.8.19","@types/node":"^24.9.1","@types/express":"^5.0.4","typescript-eslint":"^8.46.2","eslint-plugin-import":"^2.32.0","eslint-plugin-sonarjs":"^3.0.5","@typescript-eslint/parser":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/bitbucket-dc-mcp_1.1.0_1770781671460_0.8702738780402004","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@shibainu16/bitbucket-dc-mcp","version":"1.2.0","keywords":["mcp","bitbucket","bitbucket-datacenter","model-context-protocol"],"author":{"name":"lvluu"},"license":"MIT","_id":"@shibainu16/bitbucket-dc-mcp@1.2.0","maintainers":[{"name":"shibainu16","email":"luuvanloi162@gmail.com"}],"homepage":"https://github.com/lvluu/bitbucket-dc-mcp#readme","bugs":{"url":"https://github.com/lvluu/bitbucket-dc-mcp/issues"},"bin":{"bitbucket-dc-mcp":"build/index.js"},"dist":{"shasum":"1951b55fbed397c200c85f404912b034c68649ff","tarball":"https://registry.npmjs.org/@shibainu16/bitbucket-dc-mcp/-/bitbucket-dc-mcp-1.2.0.tgz","fileCount":49,"integrity":"sha512-g7g5okQCBGZjRlUUqAKp7X/gQvJAVfEOa7GoR57XcRTw+OKuNjMp7H4quazqmhGGOxoa/4OK/TyAdelPAgIR7w==","signatures":[{"sig":"MEUCIQCFnGdAuYN/46J3heZLdEeyOb+40+q3OtVHVm4pkCwW/wIgdsCfLiMSO6CP5ikQmj8rndx1VfzRiTCeIrhZ95mLSnY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":207041},"main":"build/index.js","type":"module","engines":{"node":">=22.0.0"},"gitHead":"315f44453f7336c2c02c7b48080a696f47e19545","imports":{"#lib/*.js":"./build/lib/*.js","#tools/*.js":"./build/tools/*.js","#server/*.js":"./build/server/*.js","#registry/*.js":"./build/registry/*.js"},"scripts":{"dev":"npm run build && node dev","knip":"knip","lint":"eslint .","test":"vitest run","build":"tsc && chmod 755 build/index.js","inspect":"npm run build && npx @modelcontextprotocol/inspector node build/index.js","gen:tool":"hygen tool new","knip:fix":"knip --fix","lint:fix":"eslint . --fix","typecheck":"tsc --noEmit","gen:prompt":"hygen prompt new","serve:http":"npm run build && MCP_TRANSPORT=http PORT=3000 node build/index.js","test:watch":"vitest","serve:stdio":"npm run build && MCP_TRANSPORT=stdio node build/index.js","gen:resource":"hygen resource new","inspect:http":"npm run build && npx @modelcontextprotocol/inspector http://localhost:3000/mcp","prepublishOnly":"npm run build","knip:production":"knip --production"},"_npmUser":{"name":"shibainu16","email":"luuvanloi162@gmail.com"},"repository":{"url":"git+https://github.com/lvluu/bitbucket-dc-mcp.git","type":"git"},"_npmVersion":"10.9.4","description":"HTTP MCP server for Bitbucket Data Center REST API","directories":{},"_nodeVersion":"22.22.0","dependencies":{"zod":"^3.25.0","cors":"^2.8.5","axios":"^1.13.5","dotenv":"^17.2.3","express":"^5.1.0","fast-glob":"^3.3.3","@modelcontextprotocol/sdk":"^1.20.2"},"_hasShrinkwrap":false,"devDependencies":{"knip":"^5.66.2","hygen":"^6.2.11","eslint":"^9.38.0","vitest":"^4.0.18","@eslint/js":"^9.38.0","typescript":"^5.9.3","@types/cors":"^2.8.19","@types/node":"^24.9.1","@types/express":"^5.0.4","typescript-eslint":"^8.46.2","eslint-plugin-import":"^2.32.0","eslint-plugin-sonarjs":"^3.0.5","@typescript-eslint/parser":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/bitbucket-dc-mcp_1.2.0_1770793719943_0.17828253074712896","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@shibainu16/bitbucket-dc-mcp","version":"1.3.0","keywords":["mcp","bitbucket","bitbucket-datacenter","model-context-protocol"],"author":{"name":"lvluu"},"license":"MIT","_id":"@shibainu16/bitbucket-dc-mcp@1.3.0","maintainers":[{"name":"shibainu16","email":"luuvanloi162@gmail.com"}],"homepage":"https://github.com/lvluu/bitbucket-dc-mcp#readme","bugs":{"url":"https://github.com/lvluu/bitbucket-dc-mcp/issues"},"bin":{"bitbucket-dc-mcp":"build/index.js"},"dist":{"shasum":"996b069c7163bbb1045475ed10116e86c8cc49a5","tarball":"https://registry.npmjs.org/@shibainu16/bitbucket-dc-mcp/-/bitbucket-dc-mcp-1.3.0.tgz","fileCount":51,"integrity":"sha512-WIlz5SZnz7TMuqoXp4HG5JCxJVDHvn4ZeBHDoEyoku6XqwNeagacActp3+k/+sb6nLxaGufXJYMOl9+h7lzJcg==","signatures":[{"sig":"MEUCIQCC9UVqA7rk2PPpO8/IYtZqmhnQNNAe6L/Urp22oThvgQIgIo6FPJKzC4XkpVcWf69QEEXM9cvD2GkIEsESWjruNS0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":215828},"main":"build/index.js","type":"module","engines":{"node":">=22.0.0"},"gitHead":"633c2c74a62a8ffaa9caccfee0cd7dd24986bdae","imports":{"#lib/*.js":"./build/lib/*.js","#tools/*.js":"./build/tools/*.js","#server/*.js":"./build/server/*.js","#registry/*.js":"./build/registry/*.js"},"scripts":{"dev":"npm run build && node dev","knip":"knip","lint":"eslint .","test":"vitest run","build":"tsc && chmod 755 build/index.js","inspect":"npm run build && npx @modelcontextprotocol/inspector node build/index.js","gen:tool":"hygen tool new","knip:fix":"knip --fix","lint:fix":"eslint . --fix","typecheck":"tsc --noEmit","gen:prompt":"hygen prompt new","serve:http":"npm run build && MCP_TRANSPORT=http PORT=3000 node build/index.js","test:watch":"vitest","serve:stdio":"npm run build && MCP_TRANSPORT=stdio node build/index.js","gen:resource":"hygen resource new","inspect:http":"npm run build && npx @modelcontextprotocol/inspector http://localhost:3000/mcp","prepublishOnly":"npm run build","knip:production":"knip --production"},"_npmUser":{"name":"shibainu16","email":"luuvanloi162@gmail.com"},"repository":{"url":"git+https://github.com/lvluu/bitbucket-dc-mcp.git","type":"git"},"_npmVersion":"10.9.4","description":"HTTP MCP server for Bitbucket Data Center REST API","directories":{},"_nodeVersion":"22.22.0","dependencies":{"zod":"^3.25.0","cors":"^2.8.5","axios":"^1.13.5","dotenv":"^17.2.3","express":"^5.1.0","fast-glob":"^3.3.3","@modelcontextprotocol/sdk":"^1.20.2"},"_hasShrinkwrap":false,"devDependencies":{"knip":"^5.66.2","hygen":"^6.2.11","eslint":"^9.38.0","vitest":"^4.0.18","@eslint/js":"^9.38.0","typescript":"^5.9.3","@types/cors":"^2.8.19","@types/node":"^24.9.1","@types/express":"^5.0.4","typescript-eslint":"^8.46.2","eslint-plugin-import":"^2.32.0","eslint-plugin-sonarjs":"^3.0.5","@typescript-eslint/parser":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/bitbucket-dc-mcp_1.3.0_1770805198871_0.7556390732401479","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@shibainu16/bitbucket-dc-mcp","version":"1.4.0","keywords":["mcp","bitbucket","bitbucket-datacenter","model-context-protocol"],"author":{"name":"lvluu"},"license":"MIT","_id":"@shibainu16/bitbucket-dc-mcp@1.4.0","maintainers":[{"name":"shibainu16","email":"luuvanloi162@gmail.com"}],"homepage":"https://github.com/lvluu/bitbucket-dc-mcp#readme","bugs":{"url":"https://github.com/lvluu/bitbucket-dc-mcp/issues"},"bin":{"bitbucket-dc-mcp":"build/index.js"},"dist":{"shasum":"dea921926b539dc6b991ce7f2c7e991d38042d8a","tarball":"https://registry.npmjs.org/@shibainu16/bitbucket-dc-mcp/-/bitbucket-dc-mcp-1.4.0.tgz","fileCount":51,"integrity":"sha512-/5mYuhOtz09SMqTNuJwnuQ5cRQkB2xVqYrxEfMqEOmasYxWR3rA25n99Ktub98XVSlQmCgWEqFdhWndfzJSt1Q==","signatures":[{"sig":"MEUCIGNiQoqmYvo/tOcH7+pFpX4hx/g5f99XkRKKfcWk5jqwAiEA1e12kww5UMzrfemFp5iEiYqDwnqSaq636XXiB9fErpc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":216867},"main":"build/index.js","type":"module","engines":{"node":">=22.0.0"},"gitHead":"95d5a38bdd99c57e14cf9791f68f9082b0424272","imports":{"#lib/*.js":"./build/lib/*.js","#tools/*.js":"./build/tools/*.js","#server/*.js":"./build/server/*.js","#registry/*.js":"./build/registry/*.js"},"scripts":{"dev":"npm run build && node dev","knip":"knip","lint":"eslint .","test":"vitest run","build":"tsc && chmod 755 build/index.js","inspect":"npm run build && npx @modelcontextprotocol/inspector node build/index.js","gen:tool":"hygen tool new","knip:fix":"knip --fix","lint:fix":"eslint . --fix","typecheck":"tsc --noEmit","gen:prompt":"hygen prompt new","serve:http":"npm run build && MCP_TRANSPORT=http PORT=3000 node build/index.js","test:watch":"vitest","serve:stdio":"npm run build && MCP_TRANSPORT=stdio node build/index.js","gen:resource":"hygen resource new","inspect:http":"npm run build && npx @modelcontextprotocol/inspector http://localhost:3000/mcp","prepublishOnly":"npm run build","knip:production":"knip --production"},"_npmUser":{"name":"shibainu16","email":"luuvanloi162@gmail.com"},"repository":{"url":"git+https://github.com/lvluu/bitbucket-dc-mcp.git","type":"git"},"_npmVersion":"10.9.4","description":"HTTP MCP server for Bitbucket Data Center REST API","directories":{},"_nodeVersion":"22.22.0","dependencies":{"zod":"^3.25.0","cors":"^2.8.5","axios":"^1.13.5","dotenv":"^17.2.3","express":"^5.1.0","fast-glob":"^3.3.3","@modelcontextprotocol/sdk":"^1.20.2"},"_hasShrinkwrap":false,"devDependencies":{"knip":"^5.66.2","hygen":"^6.2.11","eslint":"^9.38.0","vitest":"^4.0.18","@eslint/js":"^9.38.0","typescript":"^5.9.3","@types/cors":"^2.8.19","@types/node":"^24.9.1","@types/express":"^5.0.4","typescript-eslint":"^8.46.2","eslint-plugin-import":"^2.32.0","eslint-plugin-sonarjs":"^3.0.5","@typescript-eslint/parser":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/bitbucket-dc-mcp_1.4.0_1772771199968_0.8724796686414049","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"_id":"@shibainu16/bitbucket-dc-mcp@1.7.0","bin":{"bitbucket-dc-mcp":"build/index.js"},"bugs":{"url":"https://github.com/lvluu/bitbucket-dc-mcp/issues"},"dist":{"shasum":"01d2bd2c0a9897a3fd9453d0443859a6b56d8e29","tarball":"https://registry.npmjs.org/@shibainu16/bitbucket-dc-mcp/-/bitbucket-dc-mcp-1.7.0.tgz","fileCount":63,"integrity":"sha512-1+WBCXX/I2OvmqTs3Ug/HgMuPPi6rBgidB3+f1XdslCPx7Rn7Yu0UVWKayG++DTpsu+sjGNZD5qYA6Arjx5xkw==","signatures":[{"sig":"MEUCIAz72Tz9JytFL3ms86r24BHGeMQrWo4mln2SBWDkp47ZAiEAg985t7gWc7YJHwmR24qjfG+7Qyd1EHHA3uq9GBxewGI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCE2b2PG34gwffEjOMo/soPdGGaWul5JCxpGzagGAJMfQIhAM5eqpqFTeQwjSFgWUfxOsCX1JS86DRqW/MqvhHit9Wg"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@shibainu16%2fbitbucket-dc-mcp@1.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":279704},"main":"build/index.js","name":"@shibainu16/bitbucket-dc-mcp","type":"module","author":{"name":"lvluu"},"engines":{"node":">=22.0.0"},"gitHead":"81a4302cf94fedb5ca5cfe53e0af75548fcf9b6a","imports":{"#lib/*.js":"./build/lib/*.js","#tools/*.js":"./build/tools/*.js","#server/*.js":"./build/server/*.js","#registry/*.js":"./build/registry/*.js"},"license":"MIT","scripts":{"dev":"MCP_TRANSPORT=stdio bun src/index.ts","test":"bun test src","build":"tsc && chmod 755 build/index.js","inspect":"bun run build && npx @modelcontextprotocol/inspector node build/index.js","test:all":"bun run typecheck && bun test src && bun run build && bun test test/e2e","test:e2e":"bun run build && bun test test/e2e","typecheck":"tsc --noEmit","e2e:docker":"docker compose -f test/e2e/compose.yaml up -d --build && E2E_STUB_URL=http://127.0.0.1:7990 bun test test/e2e; rc=$?; docker compose -f test/e2e/compose.yaml down; exit $rc","serve:http":"bun run build && MCP_TRANSPORT=http PORT=3000 node build/index.js","test:watch":"bun test --watch","serve:stdio":"bun run build && MCP_TRANSPORT=stdio node build/index.js","inspect:http":"bun run build && npx @modelcontextprotocol/inspector http://localhost:3000/mcp","prepublishOnly":"bun run typecheck && bun test src && bun run build"},"version":"1.7.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"743eeefc-931a-4e39-98cb-17455ab0a47d"}},"homepage":"https://github.com/lvluu/bitbucket-dc-mcp#readme","keywords":["mcp","bitbucket","bitbucket-datacenter","model-context-protocol"],"repository":{"url":"git+https://github.com/lvluu/bitbucket-dc-mcp.git","type":"git"},"_npmVersion":"12.2.1","description":"HTTP MCP server for Bitbucket Data Center REST API","directories":{},"maintainers":[{"name":"shibainu16","email":"luuvanloi162@gmail.com"}],"_nodeVersion":"22.23.3","dependencies":{"zod":"^3.25.0","cors":"^2.8.5","axios":"^1.13.5","dotenv":"^17.2.3","express":"^5.1.0","fast-glob":"^3.3.3","@modelcontextprotocol/sdk":"~1.25.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^7.0.2","@types/cors":"^2.8.19","@types/node":"^24.9.1","@types/express":"^5.0.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bitbucket-dc-mcp_1.7.0_1793010799802_0.07776925371934618"}}},"time":{"created":"2026-02-10T11:04:14.974Z","modified":"2026-10-26T10:33:20.344Z","1.0.2":"2026-02-10T11:04:15.222Z","1.1.0":"2026-02-11T03:47:51.611Z","1.2.0":"2026-02-11T07:08:40.112Z","1.3.0":"2026-02-11T10:19:59.034Z","1.4.0":"2026-03-06T04:26:40.113Z","1.7.0":"2026-10-26T10:33:19.929Z"},"bugs":{"url":"https://github.com/lvluu/bitbucket-dc-mcp/issues"},"author":{"name":"lvluu"},"license":"MIT","homepage":"https://github.com/lvluu/bitbucket-dc-mcp#readme","keywords":["mcp","bitbucket","bitbucket-datacenter","model-context-protocol"],"repository":{"url":"git+https://github.com/lvluu/bitbucket-dc-mcp.git","type":"git"},"description":"HTTP MCP server for Bitbucket Data Center REST API","maintainers":[{"name":"shibainu16","email":"luuvanloi162@gmail.com"}],"readme":"# Bitbucket DC MCP Server\n\n[![npm version](https://img.shields.io/npm/v/@shibainu16/bitbucket-dc-mcp.svg)](https://www.npmjs.com/package/@shibainu16/bitbucket-dc-mcp)\n[![CI](https://github.com/lvluu/bitbucket-dc-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/lvluu/bitbucket-dc-mcp/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nA [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server that exposes **Bitbucket Data Center REST API v1.0** as tools for AI assistants.\n\n## Overview\n\nThis server lets MCP-compatible clients (Claude Desktop, VS Code, IDEs, custom apps) interact with a Bitbucket Data Center instance through 55 tools covering:\n\n- **Projects** — list, get, create, update\n- **Repositories** — list, get, create, fork, default branch\n- **Pull Requests** — CRUD, merge, decline, reopen, approve, reviewers, can-merge\n- **PR Comments** — list, add, get, update, delete (inline + general)\n- **PR Diff & Changes** — diffs, file changes, conflict markers\n- **PR Activity** — activity feed, participants, watchers\n- **PR Tasks** — blocker comment tasks\n- **Branches & Tags** — list, create, delete\n- **Commits** — list, get, changes, diff (whole commit or one file via `path`)\n- **Files** — browse, read, edit, recursive listing\n- **Build Status** — build statuses per commit, build statistics\n- **Merge Queue** — enqueue, view, dequeue, and process per-repository merge queues\n\n```mermaid\ngraph LR\n    A[AI Client] <-->|MCP| B[bitbucket-dc-mcp]\n    B <-->|REST API v1.0| C[Bitbucket Data Center]\n```\n\n### Example Prompts\n\nOnce connected, try asking your AI assistant:\n\n- \"List all repositories in the PROJ project\"\n- \"Show me open pull requests in repo X\"\n- \"What changed in PR #42? Summarize the diff\"\n- \"Create a branch called feature/login from main in PROJ/my-repo\"\n- \"Add a comment on PR #15 suggesting a fix for the null check on line 23\"\n- \"What's the build status for the latest commit on main?\"\n- \"Show me the last 10 commits on the develop branch\"\n- \"Read the contents of src/index.ts from the main branch\"\n- \"Are there any unresolved tasks blocking PR #8 from merging?\"\n- \"Who approved PR #21 and what comments were left?\"\n- \"Enqueue PR #5 into the merge queue for PROJ/my-repo\"\n- \"Show me the merge queue for PROJ/my-repo\"\n- \"Remove PR #5 from the merge queue for PROJ/my-repo\"\n- \"Process the merge queue for PROJ/my-repo\"\n\n## Installation\n\n### Global install\n\n```bash\nnpm install -g @shibainu16/bitbucket-dc-mcp\n```\n\n### Using npx (no install required)\n\n```bash\nBITBUCKET_URL=https://bitbucket.example.com \\\nBITBUCKET_TOKEN=your-token \\\nMCP_TRANSPORT=stdio \\\nnpx @shibainu16/bitbucket-dc-mcp\n```\n\n## Prerequisites\n\n- Node.js >= 22\n- A Bitbucket Data Center instance with API access\n- A personal access token or username/password credentials\n\n## Quick Start\n\n### 1. Configure environment\n\nCreate a `.env` file (or export variables in your shell):\n\n```env\n# Required — your Bitbucket DC base URL\nBITBUCKET_URL=https://bitbucket.example.com\n\n# Authentication (choose one)\nBITBUCKET_TOKEN=your-personal-access-token\n# OR\nBITBUCKET_USERNAME=your-username\nBITBUCKET_PASSWORD=your-password\n\n# Optional\nBITBUCKET_DEFAULT_PROJECT=MYPROJ\nBITBUCKET_ENABLE_DANGEROUS=false\nMCP_TRANSPORT=http\nPORT=3000\nHOST=127.0.0.1\n# MCP_AUTH_TOKEN=change-me   # require \"Authorization: Bearer ...\" on /mcp\n```\n\n### 2. Run\n\n```bash\n# If installed globally\nbitbucket-dc-mcp\n\n# Or via npx\nnpx @shibainu16/bitbucket-dc-mcp\n```\n\nThe server starts in HTTP mode by default at `http://127.0.0.1:3000/mcp`, reachable only from the local machine. To expose it (containers, LAN), set `HOST=0.0.0.0` **and** `MCP_AUTH_TOKEN`: the server holds your Bitbucket credentials and every tool runs with them.\n\n## Configuration\n\n### Environment Variables\n\n| Variable | Required | Description | Default |\n|----------|----------|-------------|---------|\n| `BITBUCKET_URL` | Yes | Bitbucket DC base URL, incl. any context path (e.g. `https://host/bitbucket`); auto-appends `/rest/api/1.0` | — |\n| `BITBUCKET_TOKEN` | Yes* | Personal access token (Bearer auth) | — |\n| `BITBUCKET_USERNAME` | Yes* | Username for basic auth | — |\n| `BITBUCKET_PASSWORD` | Yes* | Password for basic auth | — |\n| `BITBUCKET_DEFAULT_PROJECT` | No | Default project key for tools that accept `projectKey` | — |\n| `BITBUCKET_ENABLE_DANGEROUS` | No | Enable destructive operations (`deletePRComment`, `deleteBranch`) | `false` |\n| `BITBUCKET_TIMEOUT_MS` | No | Per-request timeout in milliseconds; a request exceeding it fails instead of hanging | `30000` |\n| `BITBUCKET_VERBOSE` | No | Disable the token squeeze (pretty JSON, no field stripping, no text cap) | `false` |\n| `BITBUCKET_MAX_CHARS` | No | Cap per text result (diffs, patches, raw files); appends a truncation note | `60000` |\n| `MCP_TRANSPORT` | No | Transport mode: `stdio` or `http` | `http` |\n| `PORT` | No | HTTP server port | `3000` |\n| `HOST` | No | HTTP bind address; set `0.0.0.0` in containers. A warning is logged when non-loopback and `MCP_AUTH_TOKEN` is unset | `127.0.0.1` |\n| `MCP_AUTH_TOKEN` | No | HTTP mode: when set, `/mcp` requires `Authorization: Bearer <token>` (401 otherwise); `/health` stays open | — |\n| `MCP_SESSION_IDLE_TTL_MS` | No | HTTP mode: close an MCP session after this many ms without requests (swept every minute) | `1800000` |\n| `MCP_MAX_SESSIONS` | No | HTTP mode: max concurrent MCP sessions; further `initialize` requests get 503 | `100` |\n| `CORS_ORIGIN` | No | CORS allowed origins, comma-separated; credentials are only allowed when this is not `*` | `*` |\n\n\\* Either `BITBUCKET_TOKEN` or both `BITBUCKET_USERNAME` + `BITBUCKET_PASSWORD` are required.\n\n## Token Squeeze\n\nEvery tool result is shrunk before it reaches the model: compact JSON, `links`/`link`/`avatarUrl` and\nnull/empty fields removed (`false`, `0` and an empty `values` page are kept), and long text capped at\n`BITBUCKET_MAX_CHARS`. List tools also return field-trimmed summaries. Set `BITBUCKET_VERBOSE=true` for raw output.\n\n## List Results and Paging\n\nList tools return `{ values, isLastPage, nextPageStart?, truncated? }`. When `isLastPage` is `false`, pass\n`nextPageStart` as `start` to continue. `all: true` pages from `start` (default 0) up to 1000 items and sets\n`truncated: true` if it stopped at that cap. `listPRComments` and `listPRTasks` filter PR activities: `limit` is the\nminimum number of matches to collect, `start`/`nextPageStart` are activity offsets, and one call can return more than\n`limit` matches.\n\n## Transport Modes\n\n### HTTP Mode (Default)\n\nStreamable HTTP transport for web deployments and remote access:\n\n```bash\nMCP_TRANSPORT=http bitbucket-dc-mcp\n```\n\nEndpoints:\n- `GET /mcp` — SSE stream for server-initiated messages\n- `POST /mcp` — JSON-RPC requests\n- `DELETE /mcp` — Session termination\n- `GET /health` — Health check\n\nEach client gets its own MCP session (`mcp-session-id` header), so any number of clients can connect at once. Sessions with no POST/DELETE for `MCP_SESSION_IDLE_TTL_MS` expire (an open SSE stream does not keep them alive; clients re-initialize on 404), and when `MCP_MAX_SESSIONS` is reached new `initialize` requests get 503 with `Retry-After`.\n\nBinds to `127.0.0.1` by default. In Docker, or to serve other machines, set `HOST=0.0.0.0` and protect `/mcp` with a token:\n\n```bash\ndocker run -p 3000:3000 \\\n  -e HOST=0.0.0.0 -e MCP_AUTH_TOKEN=\"$(openssl rand -hex 32)\" \\\n  -e BITBUCKET_URL=https://bitbucket.example.com -e BITBUCKET_TOKEN=your-token \\\n  your-image-with-bitbucket-dc-mcp\n```\n\nClients then send `Authorization: Bearer <MCP_AUTH_TOKEN>`.\n\nWithout a token on a loopback bind, requests whose `Host` header is not `localhost`/`127.0.0.1`/`[::1]` get 403 (DNS-rebinding guard). `CORS_ORIGIN` defaults to `*`, so any web page you open can still call a tokenless loopback server; set `CORS_ORIGIN` to your client's origin or use `MCP_AUTH_TOKEN` if that matters.\n\n### Stdio Mode\n\nTraditional stdio transport for local clients like Claude Desktop:\n\n```bash\nMCP_TRANSPORT=stdio bitbucket-dc-mcp\n```\n\n## Client Integration\n\n### VS Code / GitHub Copilot\n\nAdd to your **VS Code settings** (`settings.json`) or workspace `.vscode/mcp.json`:\n\n```json\n{\n  \"servers\": {\n    \"bitbucket-dc-mcp\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@shibainu16/bitbucket-dc-mcp\"],\n      \"env\": {\n        \"BITBUCKET_URL\": \"https://bitbucket.example.com\",\n        \"BITBUCKET_TOKEN\": \"your-token\",\n        \"MCP_TRANSPORT\": \"stdio\"\n      }\n    }\n  }\n}\n```\n\nIf using `settings.json` directly, nest it under `\"mcp\"`:\n\n```jsonc\n{\n  \"mcp\": {\n    \"servers\": {\n      \"bitbucket-dc-mcp\": {\n        \"type\": \"stdio\",\n        \"command\": \"npx\",\n        \"args\": [\"-y\", \"@shibainu16/bitbucket-dc-mcp\"],\n        \"env\": {\n          \"BITBUCKET_URL\": \"https://bitbucket.example.com\",\n          \"BITBUCKET_TOKEN\": \"your-token\",\n          \"MCP_TRANSPORT\": \"stdio\"\n        }\n      }\n    }\n  }\n}\n```\n\n### Claude Code\n\nAdd to your project's `.mcp.json`, or configure via the CLI:\n\n```bash\nclaude mcp add bitbucket-dc-mcp \\\n  -e BITBUCKET_URL=https://bitbucket.example.com \\\n  -e BITBUCKET_TOKEN=your-token \\\n  -e MCP_TRANSPORT=stdio \\\n  -- npx -y @shibainu16/bitbucket-dc-mcp\n```\n\nOr manually create/edit `.mcp.json` in your project root:\n\n```json\n{\n  \"mcpServers\": {\n    \"bitbucket-dc-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@shibainu16/bitbucket-dc-mcp\"],\n      \"env\": {\n        \"BITBUCKET_URL\": \"https://bitbucket.example.com\",\n        \"BITBUCKET_TOKEN\": \"your-token\",\n        \"MCP_TRANSPORT\": \"stdio\"\n      }\n    }\n  }\n}\n```\n\n## Development\n\n```bash\ngit clone https://github.com/lvluu/bitbucket-dc-mcp.git\ncd bitbucket-dc-mcp\nbun install\nbun run build\n```\n\n### Testing\n\nUnit tests (`src/**/*.test.ts`):\n\n```bash\njust test        # or: bun test src\n```\n\nEnd-to-end tests boot the built server and drive every tool through a real MCP\nclient against a fake Bitbucket DC REST API (`test/e2e/stub-bitbucket.mjs`):\n\n```bash\njust e2e         # or: bun run test:e2e\n```\n\nRun the fake Bitbucket DC as a Docker container and test against it:\n\n```bash\njust e2e-docker  # or: bun run e2e:docker\n```\n\nThe stub is a zero-dependency Node HTTP server (`test/e2e/`), so no license or\nlarge Atlassian image is needed. The e2e report is written to\n`test/e2e/.last-run.json`.\n\n### Releasing\n\nReleases are automated with [release-please](https://github.com/googleapis/release-please).\nOn every push to `main`, release-please opens/updates a release PR containing a\ngenerated `CHANGELOG.md` and a version bump derived from\n[Conventional Commits](https://www.conventionalcommits.org/). Merging that PR\ntags the release and publishes to npm with provenance — no manual `npm publish`.\n\nOne-time setup: add an npm automation token as the `NPM_TOKEN` repository secret\n(**Settings → Secrets and variables → Actions**).\n\nAgents and contributors: see `CLAUDE.md`.\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| `BITBUCKET_URL is required` | Set the `BITBUCKET_URL` environment variable or add it to `.env` |\n| `Cannot find module` errors | Run `bun run build` before starting the server |\n| `401 Unauthorized` | Check your token or username/password credentials |\n| `deleteBranch is disabled` | Set `BITBUCKET_ENABLE_DANGEROUS=true` to enable destructive operations |\n| Tools not loading | Verify module has a valid default export matching `RegisterableModule` |\n\n## Contributing\n\nContributions are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for setup,\ncommands, and the Conventional Commits/release workflow, and\n[CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) for community expectations. Please\nreport security issues privately per [SECURITY.md](SECURITY.md).\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n\n## Resources\n\n- [Model Context Protocol Documentation](https://modelcontextprotocol.io)\n- [Bitbucket Data Center REST API](https://developer.atlassian.com/server/bitbucket/rest/)\n- [MCP Inspector](https://github.com/modelcontextprotocol/inspector)\n","readmeFilename":"README.md"}