You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -393,6 +393,7 @@ The server requires configuration in the VSCode MCP settings file. Here's a samp
393
393
-`BITBUCKET_TOKEN`: Personal access token
394
394
-`BITBUCKET_USERNAME` and `BITBUCKET_PASSWORD`: Basic authentication credentials
395
395
-`BITBUCKET_DEFAULT_PROJECT` (optional): Default project key to use when not specified in tool calls
396
+
-`BITBUCKET_READ_ONLY` (optional): Set to `true` to enable read-only mode
396
397
397
398
**Note**: With the new optional project support, you can now:
398
399
@@ -401,6 +402,35 @@ The server requires configuration in the VSCode MCP settings file. Here's a samp
401
402
- Use `list_repositories` to browse repositories across projects
402
403
- Override the default project by specifying the `project` parameter in any tool call
403
404
405
+
### Read-Only Mode
406
+
407
+
The server supports a read-only mode for deployments where you want to prevent any modifications to your Bitbucket repositories. When enabled, only safe, non-modifying operations are available.
408
+
409
+
**To enable read-only mode**: Set the environment variable `BITBUCKET_READ_ONLY=true`
410
+
411
+
**Available tools in read-only mode:**
412
+
-`list_projects` - Browse and list projects
413
+
-`list_repositories` - Browse and list repositories
414
+
-`get_pull_request` - View pull request details
415
+
-`get_diff` - View code changes and diffs
416
+
-`get_reviews` - View review history and status
417
+
-`get_activities` - View pull request timeline
418
+
-`get_comments` - View pull request comments
419
+
-`search` - Search code and files across repositories
0 commit comments