Connect a repository
Add a repository from Azure DevOps, GitHub, GitLab or Bitbucket — or a folder on your disk.
To see pull requests, Mantish needs three things: where your repository is hosted, which repository it is, and a token that lets Mantish read and comment on its pull requests — a personal access token, or on Bitbucket an API token with your Atlassian account email.
What to enter
| Platform | Address | Repository |
|---|---|---|
| Azure DevOps | Organization URL — https://dev.azure.com/your-org | Project |
| GitHub | API URL — https://api.github.com, or your GitHub Enterprise server | Repository — owner/repo |
| GitLab | Server URL — https://gitlab.com, or your own GitLab | Project path — owner/repo |
| Bitbucket | API URL — https://api.bitbucket.org | Repository — workspace/repo-slug |
Token permissions
Mantish uses the token for the platform's API alone — never for git (a local clone fetches with your own git credentials) — so it needs no git permissions. Required permissions, beside the token field, opens your platform's part below.
Each table starts with what every review needs. The rest each turn on one feature: leave one out, and you only lose what its row says.
Azure DevOps token
Create a personal access token in User settings › Personal access tokens, for the organization you connect, and paste it into Token (PAT).
| Scope | What Mantish uses it for | Without it |
|---|---|---|
| Code: Read & write (required) | Pull requests, their changes, files, comments, statuses and policies; commenting, replying, resolving, liking, voting and completing them | Nothing works |
| Work Items: Read | The linked work items' titles and states | Those lists stay empty |
| Build: Read | Links from a pull request's checks to their pipeline runs | Checks show without links |
No Identity, Graph or Profile scope is needed: Mantish learns who you are from the organization itself.
GitHub token
Create a fine-grained token in Settings › Developer settings › Personal access tokens, with access to the repository, and paste it into Token (PAT).
| Permission | What Mantish uses it for | Without it |
|---|---|---|
| Pull requests: Read and write (required) | Pull requests, their files, commits, comments and reviews; commenting, replying, resolving, approving, drafts, closing | Nothing works |
| Contents: Read (required) | Files' contents, comparing iterations, folders, the images in comments | Diffs show no code |
| Metadata: Read (required, always included) | The repository itself | — |
| Contents: Read and write | Merging, and deleting the branch after the merge | You can't merge from Mantish |
| Commit statuses: Read | CI statuses in a pull request's checks | Statuses are missing |
| Issues: Read | Linked issues | Those lists stay empty |
| Issues: Read and write | Liking a comment in the pull request's conversation (a comment on a line needs only Pull requests) | You can't like those comments |
A classic token needs repo — or public_repo, for public repositories only.
GitLab token
Create a fine-grained personal access token (GitLab 18.10 or later) for the project, and paste it into Token (PAT).
| Permission | What Mantish uses it for | Without it |
|---|---|---|
| Merge Request: Read (required) | Merge requests, their changes, commits, discussions, reviewers, approvals and linked issues | Nothing works |
| Repository: Read (required) | Files' contents, comparing iterations, folders | Diffs show no code |
| Merge Request: Create (required) | New comments and replies | You can't comment |
| Merge Request: Update (required) | Resolving threads, editing comments, publishing comments as a batch, draft and ready, closing, rebasing to merge | Those actions fail |
| User: Read (required) | Knowing which merge requests and comments are yours | Approving fails, and nothing shows as yours |
| Merge Request: Delete | Deleting your comments | You can't delete them |
| Merge Request: Approve | Approving, and revoking an approval | You can't approve |
| Merge Request: Merge | Merging | You can't merge from Mantish |
| Commit: Read | CI statuses and commit signatures | Checks and signatures stay empty |
| Project: Read | The project's merge method (squash, fast-forward) | Merges take the defaults |
| Work Item: Read, Create, Delete | Liking comments (GitLab keeps reactions under work items) | You can't like comments |
A legacy token needs api; read_api only lets Mantish read.
Bitbucket API token
Bitbucket signs you in with an API token of your Atlassian account. Create one at id.atlassian.com › Security › API tokens › Create API token with scopes, pick Bitbucket, and add the scopes below. Then enter your Atlassian account email and paste the token into API token.
| Scope | What Mantish uses it for | Without it |
|---|---|---|
| read:pullrequest:bitbucket (required) | Pull requests, their changes, commits and comments | Nothing works |
| write:pullrequest:bitbucket (required) | Commenting, replying, resolving, approving and requesting changes, merging, declining, drafts | You can't comment |
| read:repository:bitbucket (required) | Files' contents, the merge base, build statuses, folders, branches | Diffs show no code |
| read:user:bitbucket (required) | Knowing which pull requests and comments are yours | Approving fails, and nothing shows as yours |
A token's scopes can't be changed once it is created, so a missing one takes a new token. Every API token expires — within a year at most — and then takes a new one too. Repository and workspace access tokens don't work: they act as a bot, not as you.
Options
- Keep PR list synced in the background — on by default, so the list is fresh when you look.
- Verify commit signatures — shows whether each commit is signed (GitHub and GitLab).
- Local clone path (optional) — if you have the repository cloned, point Mantish at it and it reads files from there instead of over the network. Reviews open faster.
Where to add it
| App | Where |
|---|---|
| Desktop app | Add repository — the + on the left rail, or ⌘K › Add Repository |
| JetBrains | In development |
| Terminal | Press p, then a. ctrl+t tests the connection, ctrl+s saves it |
To change or remove a repository in the desktop app, choose Repository settings (the pencil next to its name in the review queue). The dialog has a Remove button.

A repository on your disk
To review your own changes before you push, pick Local repository as the provider and enter the folder's path. No token is needed. See Review your own changes.
Your token stays with you
Your token is stored encrypted on your computer by the Mantish engine. The apps never keep a copy of their own.