fix: use correct Bitbucket API for user workspaces and clarify repo config
The `/workspaces` API endpoint was updated to `/user/workspaces` to correctly retrieve workspaces for the authenticated user. Configuration guidance for `DEFAULT_WORKSPACE` and `DEFAULT_REPO` in documentation and templates now explicitly references deriving these values from the Bitbucket repository URL, simplifying initial setup.
This commit is contained in:
@@ -41,8 +41,8 @@ The server is a 3-layer pipeline: **MCP protocol** -> **Router** -> **Bitbucket
|
||||
|----------|---------|
|
||||
| `BITBUCKET_MCP_EMAIL` | Bitbucket account email (Basic Auth username) |
|
||||
| `BITBUCKET_MCP_TOKEN` | Bitbucket API token (Basic Auth password) |
|
||||
| `DEFAULT_WORKSPACE` | Optional default workspace slug |
|
||||
| `DEFAULT_REPO` | Optional default repository slug |
|
||||
| `DEFAULT_WORKSPACE` | Optional default workspace slug (from your repo URL: `https://bitbucket.org/{workspace}/{repo}/...`) |
|
||||
| `DEFAULT_REPO` | Optional default repository slug (from your repo URL: `https://bitbucket.org/{workspace}/{repo}/...`) |
|
||||
| `RUN_WRITE_TESTS` | Set to `true` to enable write integration tests |
|
||||
| `TEST_PR_ID` | PR ID to use for write integration tests (required when `RUN_WRITE_TESTS=true`) |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user