Bitbucket
Use Bitbucket from your AI agent through ClawLink — browser login, no API key to paste, no config to edit. Connect Bitbucket once and the agent can read and act on it. Works in any agent that can run shell commands (Claude Code, Cursor, Codex, Cline, and more).
Setup
Run these once — the agent can run them for you:
npx @useclawlink/cli login # opens browser → approve (mints + stores a key)
npx @useclawlink/cli connect bitbucket # opens browser → authorize Bitbucket
No API key to create or paste — login stores the credential at ~/.clawlink/credentials.json.
Using Bitbucket
npx @useclawlink/cli actions bitbucket "<what you want to do>" # find an action
npx @useclawlink/cli describe bitbucket <action-id> # see its inputs (before writes)
npx @useclawlink/cli run bitbucket <action-id> --input '<json>' # execute
Reads first; confirm with the user before any write.
Available actions
| Action | Description |
|---|---|
bitbucket_create_pull_request |
Create a new pull request |
bitbucket_create_issue |
Create a new issue in a repository |
bitbucket_create_branch |
Create a new branch in a repository |
bitbucket_approve_pull_request |
Approve a pull request |
bitbucket_create_repository |
Create a new repository |
bitbucket_browse_repository_path |
Browse repository contents at a path |
Notes
- No API key for Bitbucket itself — ClawLink holds the OAuth token; the agent only holds your ClawLink credential.
- Not connected yet, or access expired? Re-run
npx @useclawlink/cli connect bitbucket. - The action list above is a snapshot;
npx @useclawlink/cli actions bitbucketis always current.
Resources
- ClawLink: https://claw-link.dev
- Docs: https://docs.claw-link.dev
- CLI: https://www.npmjs.com/package/@useclawlink/cli
Powered by ClawLink — connect 90+ apps to any AI agent.