bitbucket_create_repository
Create a Bitbucket repository in a specified workspace or project. Configure privacy and forkability settings to match your requirements.
Instructions
Create a new repository in a workspace/project.
Args: ctx: The MCP context. workspace: Workspace name (Cloud) or project key (Server/DC). repo_slug: Repository name/slug to create. is_private: Whether the repository should be private (default: True). forkable: Whether the repository can be forked (default: False).
Returns: JSON string containing the created repository details.
Raises: ValueError: If the Bitbucket client is not configured or available.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace": "<workspace>",
"repo_slug": "<repo_slug>"
},
"name": "bitbucket_create_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| forkable | No | Whether the repository can be forked | |
| repo_slug | Yes | Repository name/slug to create | |
| workspace | Yes | Workspace name (Cloud) or project key (Server/DC) | |
| is_private | No | Whether the repository should be private |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |