mcp-server-bitbucket 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,6 @@
1
+ #!/bin/sh
2
+ set -e
3
+
4
+ # Execute the node server with all environment variables
5
+ exec node dist/index.js "$@"
6
+
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "mcp-server-bitbucket",
3
+ "version": "0.11.0",
4
+ "description": "MCP server for Bitbucket API operations",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "bin": {
9
+ "mcp-server-bitbucket": "dist/index.js"
10
+ },
11
+ "scripts": {
12
+ "build": "tsup src/index.ts --format esm --dts --clean",
13
+ "dev": "tsup src/index.ts --format esm --watch",
14
+ "start": "node dist/index.js",
15
+ "test": "vitest run",
16
+ "test:watch": "vitest",
17
+ "lint": "eslint src/",
18
+ "typecheck": "tsc --noEmit",
19
+ "prepublishOnly": "npm run build"
20
+ },
21
+ "keywords": [
22
+ "mcp",
23
+ "bitbucket",
24
+ "api",
25
+ "claude",
26
+ "ai",
27
+ "model-context-protocol"
28
+ ],
29
+ "author": "Javier Aguilar",
30
+ "license": "MIT",
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "https://github.com/JaviMaligno/mcp-server-bitbucket"
34
+ },
35
+ "homepage": "https://github.com/JaviMaligno/mcp-server-bitbucket#readme",
36
+ "bugs": {
37
+ "url": "https://github.com/JaviMaligno/mcp-server-bitbucket/issues"
38
+ },
39
+ "engines": {
40
+ "node": ">=18.0.0"
41
+ },
42
+ "dependencies": {
43
+ "@modelcontextprotocol/sdk": "^1.0.0",
44
+ "axios": "^1.7.0",
45
+ "zod": "^3.23.0"
46
+ },
47
+ "devDependencies": {
48
+ "@types/node": "^20.0.0",
49
+ "tsup": "^8.0.0",
50
+ "typescript": "^5.4.0",
51
+ "vitest": "^2.0.0",
52
+ "eslint": "^8.57.0",
53
+ "@typescript-eslint/eslint-plugin": "^7.0.0",
54
+ "@typescript-eslint/parser": "^7.0.0"
55
+ }
56
+ }
57
+
package/smithery.yaml ADDED
@@ -0,0 +1,47 @@
1
+ # Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
2
+ # This file configures how the MCP server is deployed and run on Smithery
3
+ # TypeScript version - located in typescript/ directory
4
+
5
+ startCommand:
6
+ type: stdio
7
+ configSchema:
8
+ type: object
9
+ properties:
10
+ BITBUCKET_WORKSPACE:
11
+ type: string
12
+ description: Bitbucket workspace slug (e.g., 'my-team')
13
+ BITBUCKET_EMAIL:
14
+ type: string
15
+ description: Account email for Bitbucket Basic Auth
16
+ BITBUCKET_API_TOKEN:
17
+ type: string
18
+ description: Repository access token from Bitbucket
19
+ API_TIMEOUT:
20
+ type: number
21
+ default: 30
22
+ description: Request timeout in seconds (max 300)
23
+ MAX_RETRIES:
24
+ type: number
25
+ default: 3
26
+ description: Max retry attempts for rate limiting (max 10)
27
+ required:
28
+ - BITBUCKET_WORKSPACE
29
+ - BITBUCKET_EMAIL
30
+ - BITBUCKET_API_TOKEN
31
+ commandFunction: |
32
+ (config) => ({
33
+ command: 'node',
34
+ args: ['dist/index.js'],
35
+ env: {
36
+ BITBUCKET_WORKSPACE: config.BITBUCKET_WORKSPACE,
37
+ BITBUCKET_EMAIL: config.BITBUCKET_EMAIL,
38
+ BITBUCKET_API_TOKEN: config.BITBUCKET_API_TOKEN,
39
+ API_TIMEOUT: config.API_TIMEOUT ? String(config.API_TIMEOUT) : "30",
40
+ MAX_RETRIES: config.MAX_RETRIES ? String(config.MAX_RETRIES) : "3"
41
+ }
42
+ })
43
+ exampleConfig:
44
+ BITBUCKET_WORKSPACE: my-workspace
45
+ BITBUCKET_EMAIL: user@example.com
46
+ BITBUCKET_API_TOKEN: your-api-token
47
+