К основному содержанию
правило CX Codex

mcp — правило для Claude Code: Bitbucket-инструменты через MCP

Правило описывает MCP-сервер bkt mcp serve: чтение из Bitbucket, один закреплённый контекст и жёсткие лимиты на размер ответов.

MIT ★ 1 596 обновлён 2026-10-29

Установить в Claude Code · Вручную: положить файлы Все способы и платформы ↓
.claude/rules/mcp.md
Открыть на GitHub

Что делает mcp

Правило описывает MCP-сервер bkt mcp serve: он говорит JSON-RPC по stdio и отдаёт клиенту восемь инструментов чтения Bitbucket плюс bkt_get_context. Регистрация в Claude — одна строка: claude mcp add bitbucket -- bkt mcp serve.

Контекст фиксируется один раз при старте: --context задаёт именованный, иначе берётся активный. Рабочая директория на цель не влияет, а правки конфига подхватываются только после перезапуска. Переключить хост, контекст или токен из вызова инструмента нельзя.

С Cloud OAuth сложнее: access-токен замирает на старте и из хранилища не обновляется. Когда срок истёк, вызовы возвращают auth_failed, пока сервер не перезапустят. Выдача ограничена: 25 элементов на страницу по умолчанию, 100 максимум, тело комментария и описание PR — до 16 KiB, дифф до 256 KiB.

Какие задачи решает

  • Подключить Bitbucket к Claude только на чтение
  • Достать пулл-реквест по id и посмотреть, кто его одобрил
  • Выяснить, к какому хосту и проекту привязан сервер
  • Разобраться, почему вызовы вдруг отдают auth_failed
  • Понять, сколько элементов вернёт список и где обрежется дифф

Примеры запросов агенту

  • Запусти bkt mcp serve с контекстом work-dc и скажи, к какому хосту он привязан
  • Достань пулл-реквест по id через Bitbucket MCP и покажи, кто его одобрил
  • Вызови bkt_get_context и перечисли, какие возможности доступны на этом хосте

Как установить mcp

Вручную: положить файлы

.claude/rules/mcp.md

Поле paths во frontmatter ограничивает файлы

По шагам, с командами для каждой платформы: AGENTS.md и CLAUDE.md: что это, кто читает и какой выбрать

Вопросы о mcp

Как установить mcp в Claude Code?

Правило ставится файлом по пути .claude/rules/mcp.md в проекте.

Что делает mcp?

Описывает read-only MCP-сервер bkt mcp serve для Bitbucket: восемь инструментов чтения и bkt_get_context, лимиты на размер ответов и структурированные коды ошибок.

Почему вызовы возвращают auth_failed?

У Cloud OAuth access-токен замирает на старте сервера и не обновляется из хранилища. После истечения срока вызовы падают с auth_failed, пока сервер не перезапустят.

Исходный текст

mcp.md · MIT
<!-- auto-generated by cmd/docgen — do not edit -->

# bkt mcp

Serve Bitbucket tools to MCP clients such as Claude Code and Codex.

```
bkt mcp <command> [flags]
```

## Subcommands

| Subcommand | Description | Key Flags |
|---|---|---|
| [serve](#bkt-mcp-serve) | Serve Bitbucket tools over MCP stdio (read-only) | — |

## bkt mcp serve

Start a Model Context Protocol server speaking JSON-RPC over stdio.

The server pins ONE bkt context, resolved once at startup: --context selects
a named context, otherwise the active context is used. The working directory
never influences the served target, and configuration changes require a
restart. Tool calls cannot switch hosts, contexts, or tokens.

For a Cloud OAuth context, the access token is frozen at startup and is not
refreshed from the credential store. After it expires, tool calls return
auth_failed until the MCP server is restarted.

v1 is read-only and registers tools only for capabilities the pinned platform
supports; call bkt_get_context to discover the target and capabilities.

stdout carries only MCP protocol messages; all diagnostics go to stderr.

Register with an MCP client, e.g. for Claude Code:
  claude mcp add bitbucket -- bkt mcp serve

### Usage

```
bkt mcp serve [flags]
```

### Inherited Flags

| Flag | Short | Description |
|---|---|---|
| `--context` | `-c` | Active Bitbucket context name |
| `--format` |  | Output format: json or yaml (alias for --json/--yaml) |
| `--jq` |  | Apply a jq expression to JSON output (requires --json or --format json) |
| `--json` |  | Output in JSON format when supported |
| `--template` |  | Render output using Go templates |
| `--yaml` |  | Output in YAML format when supported |

### Examples

```bash
# Serve the active context
  bkt mcp serve

  # Serve a specific named context
  bkt mcp serve --context work-dc
```

## MCP tool registry

The read-only v1 server registers eight Bitbucket read tools plus `bkt_get_context`.
Every tool below is available on Data Center and Cloud unless a capability note says otherwise.

### Platform capabilities

| Platform | Capabilities |
|---|---|
| Data Center | `my_prs.role.reviewer` |
| Cloud | None |

### Frozen bounds

| Bound | Value | Meaning |
|---|---:|---|
| `default_list_limit` | 25 items | default page size for bounded list tools |
| `max_list_limit` | 100 items | maximum returned items for bounded list and check tools |
| `comment_body_limit` | 16 KiB | maximum retained comment body |
| `pull_request_description_limit` | 16 KiB | maximum retained pull request description |
| `diff_content_limit` | 256 KiB | maximum retained unified diff content |

### Structured error codes

| Code | Meaning |
|---|---|
| `invalid_input` | the tool arguments or frozen context are incomplete or invalid |
| `not_found` | the requested Bitbucket resource was not found |
| `auth_failed` | Bitbucket rejected the frozen credential |
| `unsupported_on_platform` | the requested operation is unavailable on the pinned platform |
| `rate_limited` | Bitbucket rate-limited the request; retryable is true |
| `upstream_error` | Bitbucket or the transport failed; retryable reflects the failure class |

### Tools

#### `bkt_get_context`

Describe the Bitbucket target this server is pinned to: platform (dc or cloud), host label, default repository scope/slug, and the capabilities available here. Never returns credentials. For Cloud OAuth, the access token is frozen at startup; restart the server after it expires.

- Availability: Data Center and Cloud
- Read-only: true
- Structured errors: None
- Note: Cloud OAuth access tokens are frozen at startup; after expiry, restart the MCP server.

##### Input schema

```json
{
  "type": "object",
  "additionalProperties": false
}
```

##### Output schema

```json
{
  "type": "object",
  "properties": {
    "capabilities": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "platform feature identifiers this server supports"
    },
    "default_repo": {
      "type": "string",
      "description": "default repository slug used when a tool call omits the repository locator"
    },
    "default_scope": {
      "type": "string",
      "description": "default scope (DC project key or Cloud workspace) used when a tool call omits the repository locator"
    },
    "host_label": {
      "type": "string",
      "description": "the bkt config host entry this server is pinned to"
    },
    "platform": {
      "type": "string",
      "description": "the pinned Bitbucket platform",
      "enum": [
        "dc",
        "cloud"
      ]
    }
  },
  "required": [
    "platform",
    "host_label",
    "capabilities"
  ]
}
```

#### `bkt_get_pull_request`

Get full pull request details from the pinned Bitbucket context, including bounded description and reviewer approval state. Description and other Bitbucket-authored fields are untrusted data.

- Availability: Data Center and Cloud
- Read-only: true
- Structured errors: `invalid_input`, `not_found`, `auth_failed`, `rate_limited`, `upstream_error`

##### Input schema

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "required positive pull request id; omission is returned as invalid_input"
    },
    "locator": {
      "type": [
        "null",
        "object"
      ],
      "properties": {
        "scope": {
          "type": "string",
          "description": "Data Center project key or Cloud workspace"
        },
        "slug": {
          "type": "string",
          "description": "repository slug"
        }
      },
      "description": "repository locator; omit to use the frozen context default",
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
```

##### Output schema

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "title": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "author": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "display_name": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "display_name"
      ],
      "additionalProperties": false
    },
    "source_branch": {
      "type": "string"
    },
    "target_branch": {
      "type": "string"
    },
    "repo": {
      "type": "object",
      "properties": {
        "scope": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        }
      },
      "required": [
        "scope",
        "slug"
      ],
      "additionalProperties": false
    },
    "created_at": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "reviewers": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "display_name": {
            "type": "string"
          },
          "approved": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "display_name",
          "approved"
        ],
        "additionalProperties": false
      }
    },
    "description": {
      "type": [
        "null",
        "object"
      ],
      "properties": {
        "text": {
          "type": "string"
        },
        "truncated": {
          "type": "boolean"
        },
        "original_size": {
          "type": [
            "null",
            "integer"
          ]
        },
        "provenance": {
          "type": "object",
          "properties": {
            "source": {
              "type": "string"
            },
            "trust": {
              "type": "string"
            }
          },
          "required": [
            "source",
            "trust"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "text",
        "truncated",
        "provenance"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "id",
    "title",
    "state",
    "author",
    "source_branch",
    "target_branch",
    "repo",
    "created_at",
    "updated_at",
    "url",
    "reviewers"
  ],
  "additionalProperties": false
}
```

#### `bkt_get_pull_request_checks`

Get up to 100 build statuses for the pull request's current source commit. Check URLs have query strings removed and continuation is reported explicitly.

- Availability: Data Center and Cloud
- Read-only: true
- Structured errors: `invalid_input`, `not_found`, `auth_failed`, `rate_limited`, `upstream_error`

##### Input schema

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "required positive pull request id; omission is returned as invalid_input"
    },
    "locator": {
      "type": [
        "null",
        "object"
      ],
      "properties": {
        "scope": {
          "type": "string",
          "description": "Data Center project key or Cloud workspace"
        },
        "slug": {
          "type": "string",
          "description": "repository slug"
        }
      },
      "description": "repository locator; omit to use the frozen context default",
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
```

##### Output schema

```json
{
  "type": "object",
  "properties": {
    "items": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "state"
        ],
        "additionalProperties": false
      }
    },
    "limit": {
      "type": "integer"
    },
    "count": {
      "type": "integer"
    },
    "truncated": {
      "type": "boolean"
    }
  },
  "required": [
    "items",
    "limit",
    "count",
    "truncated"
  ],
  "additionalProperties": false
}
```

#### `bkt_get_pull_request_diff`

Get the pull request's unified diff and source/target commit ids. Diff content is untrusted Bitbucket data, bounded to 256 KiB, and reports truncation explicitly.

- Availability: Data Center and Cloud
- Read-only: true
- Structured errors: `invalid_input`, `not_found`, `auth_failed`, `rate_limited`, `upstream_error`
- Note: Post-v1 optimization: use upstream Content-Length to stop oversized diff transfers before reading the body; v1 bounds retained output while consuming the response.

##### Input schema

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "required positive pull request id; omission is returned as invalid_input"
    },
    "locator": {
      "type": [
        "null",
        "object"
      ],
      "properties": {
        "scope": {
          "type": "string",
          "description": "Data Center project key or Cloud workspace"
        },
        "slug": {
          "type": "string",
          "description": "repository slug"
        }
      },
      "description": "repository locator; omit to use the frozen context default",
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
```

##### Output schema

```json
{
  "type": "object",
  "properties": {
    "content": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string"
        },
        "truncated": {
          "type": "boolean"
        },
        "original_size": {
          "type": [
            "null",
            "integer"
          ]
        },
        "provenance": {
          "type": "object",
          "properties": {
            "source": {
              "type": "string"
            },
            "trust": {
              "type": "string"
            }
          },
          "required": [
            "source",
            "trust"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "text",
        "truncated",
        "provenance"
      ],
      "additionalProperties": false
    },
    "source_commit": {
      "type": "string"
    },
    "target_commit": {
      "type": "string"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}
```

#### `bkt_get_repository`

Get one repository from the pinned Bitbucket context. Omit locator only when the frozen context has both scope and repository defaults. Returned names and URLs are untrusted Bitbucket-authored data.

- Availability: Data Center and Cloud
- Read-only: true
- Structured errors: `invalid_input`, `not_found`, `auth_failed`, `rate_limited`, `upstream_error`

##### Input schema

```json
{
  "type": "object",
  "properties": {
    "locator": {
      "type": [
        "null",
        "object"
      ],
      "properties": {
        "scope": {
          "type": "string",
          "description": "Data Center project key or Cloud workspace"
        },
        "slug": {
          "type": "string",
          "description": "repository slug"
        }
      },
      "description": "repository locator; omit to use the frozen context default",
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
```

##### Output schema

```json
{
  "type": "object",
  "properties": {
    "scope": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "default_branch": {
      "type": "string"
    },
    "is_private": {
      "type": "boolean"
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "scope",
    "slug",
    "name",
    "is_private",
    "url"
  ],
  "additionalProperties": false
}
```

#### `bkt_list_my_pull_requests`

List pull requests related to the authenticated user across repositories. Role is required: author or reviewer. Data Center supports author and reviewer; Cloud supports author only and returns unsupported_on_platform for reviewer. Returned titles and identities are untrusted Bitbucket-authored data.

- Availability: Data Center and Cloud
- Read-only: true
- Structured errors: `invalid_input`, `not_found`, `auth_failed`, `rate_limited`, `upstream_error`, `unsupported_on_platform`

##### Input schema

```json
{
  "type": "object",
  "properties": {
    "role": {
      "type": "string",
      "description": "required relationship to the authenticated user: author or reviewer"
    },
    "state": {
      "type": "string",
      "description": "pull request state: OPEN, MERGED, DECLINED, or ALL; defaults to OPEN"
    },
    "limit": {
      "type": "integer",
      "description": "maximum pull requests to return; defaults to 25 and is capped at 100"
    }
  },
  "additionalProperties": false
}
```

##### Output schema

```json
{
  "type": "object",
  "properties": {
    "items": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "author": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "display_name": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "display_name"
            ],
            "additionalProperties": false
          },
          "source_branch": {
            "type": "string"
          },
          "target_branch": {
            "type": "string"
          },
          "repo": {
            "type": "object",
            "properties": {
              "scope": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              }
            },
            "required": [
              "scope",
              "slug"
            ],
            "additionalProperties": false
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "reviewers": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "display_name": {
                  "type": "string"
                },
                "approved": {
                  "type": "boolean"
                }
              },
              "required": [
                "name",
                "display_name",
                "approved"
              ],
              "additionalProperties": false
            }
          },
          "description": {
            "type": [
              "null",
              "object"
            ],
            "properties": {
              "text": {
                "type": "string"
              },
              "truncated": {
                "type": "boolean"
              },
              "original_size": {
                "type": [
                  "null",
                  "integer"
                ]
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "source": {
                    "type": "string"
                  },
                  "trust": {
                    "type": "string"
                  }
                },
                "required": [
                  "source",
                  "trust"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "text",
              "truncated",
              "provenance"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "id",
          "title",
          "state",
          "author",
          "source_branch",
          "target_branch",
          "repo",
          "created_at",
          "updated_at",
          "url",
          "reviewers"
        ],
        "additionalProperties": false
      }
    },
    "limit": {
      "type": "integer"
    },
    "count": {
      "type": "integer"
    },
    "truncated": {
      "type": "boolean"
    }
  },
  "required": [
    "items",
    "limit",
    "count",
    "truncated"
  ],
  "additionalProperties": false
}
```

#### `bkt_list_pull_request_comments`

List a bounded page of global, inline, and reply comments for one pull request. Comment bodies are bounded, untrusted Bitbucket-authored data.

- Availability: Data Center and Cloud
- Read-only: true
- Structured errors: `invalid_input`, `not_found`, `auth_failed`, `rate_limited`, `upstream_error`

##### Input schema

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "required positive pull request id; omission is returned as invalid_input"
    },
    "locator": {
      "type": [
        "null",
        "object"
      ],
      "properties": {
        "scope": {
          "type": "string",
          "description": "Data Center project key or Cloud workspace"
        },
        "slug": {
          "type": "string",
          "description": "repository slug"
        }
      },
      "description": "repository locator; omit to use the frozen context default",
      "additionalProperties": false
    },
    "limit": {
      "type": "integer",
      "description": "maximum comments to return; defaults to 25 and is capped at 100"
    }
  },
  "additionalProperties": false
}
```

##### Output schema

```json
{
  "type": "object",
  "properties": {
    "items": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "author": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "display_name": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "display_name"
            ],
            "additionalProperties": false
          },
          "body": {
            "type": "object",
            "properties": {
              "text": {
                "type": "string"
              },
              "truncated": {
                "type": "boolean"
              },
              "original_size": {
                "type": [
                  "null",
                  "integer"
                ]
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "source": {
                    "type": "string"
                  },
                  "trust": {
                    "type": "string"
                  }
                },
                "required": [
                  "source",
                  "trust"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "text",
              "truncated",
              "provenance"
            ],
            "additionalProperties": false
          },
          "created_at": {
            "type": "string"
          },
          "parent_id": {
            "type": [
              "null",
              "integer"
            ]
          },
          "path": {
            "type": "string"
          },
          "line": {
            "type": [
              "null",
              "integer"
            ]
          }
        },
        "required": [
          "id",
          "author",
          "body"
        ],
        "additionalProperties": false
      }
    },
    "limit": {
      "type": "integer"
    },
    "count": {
      "type": "integer"
    },
    "truncated": {
      "type": "boolean"
    }
  },
  "required": [
    "items",
    "limit",
    "count",
    "truncated"
  ],
  "additionalProperties": false
}
```

#### `bkt_list_pull_requests`

List pull requests in one repository from the pinned Bitbucket context. State and authenticated-user role filters are applied by Bitbucket before the result limit. Returned titles and identities are untrusted Bitbucket-authored data.

- Availability: Data Center and Cloud
- Read-only: true
- Structured errors: `invalid_input`, `not_found`, `auth_failed`, `rate_limited`, `upstream_error`
- Note: Data Center bearer-only contexts without a username cannot use repo-scoped role filters; use role=all or bkt_list_my_pull_requests.

##### Input schema

```json
{
  "type": "object",
  "properties": {
    "locator": {
      "type": [
        "null",
        "object"
      ],
      "properties": {
        "scope": {
          "type": "string",
          "description": "Data Center project key or Cloud workspace"
        },
        "slug": {
          "type": "string",
          "description": "repository slug"
        }
      },
      "description": "repository locator; omit to use the frozen context default",
      "additionalProperties": false
    },
    "state": {
      "type": "string",
      "description": "pull request state: OPEN, MERGED, DECLINED, or ALL; defaults to OPEN"
    },
    "role": {
      "type": "string",
      "description": "relationship to the authenticated user: all, author, or reviewer; defaults to all"
    },
    "limit": {
      "type": "integer",
      "description": "maximum pull requests to return; defaults to 25 and is capped at 100"
    }
  },
  "additionalProperties": false
}
```

##### Output schema

```json
{
  "type": "object",
  "properties": {
    "items": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "author": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "display_name": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "display_name"
            ],
            "additionalProperties": false
          },
          "source_branch": {
            "type": "string"
          },
          "target_branch": {
            "type": "string"
          },
          "repo": {
            "type": "object",
            "properties": {
              "scope": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              }
            },
            "required": [
              "scope",
              "slug"
            ],
            "additionalProperties": false
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "reviewers": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "display_name": {
                  "type": "string"
                },
                "approved": {
                  "type": "boolean"
                }
              },
              "required": [
                "name",
                "display_name",
                "approved"
              ],
              "additionalProperties": false
            }
          },
          "description": {
            "type": [
              "null",
              "object"
            ],
            "properties": {
              "text": {
                "type": "string"
              },
              "truncated": {
                "type": "boolean"
              },
              "original_size": {
                "type": [
                  "null",
                  "integer"
                ]
              },
              "provenance": {
                "type": "object",
                "properties": {
                  "source": {
                    "type": "string"
                  },
                  "trust": {
                    "type": "string"
                  }
                },
                "required": [
                  "source",
                  "trust"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "text",
              "truncated",
              "provenance"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "id",
          "title",
          "state",
          "author",
          "source_branch",
          "target_branch",
          "repo",
          "created_at",
          "updated_at",
          "url",
          "reviewers"
        ],
        "additionalProperties": false
      }
    },
    "limit": {
      "type": "integer"
    },
    "count": {
      "type": "integer"
    },
    "truncated": {
      "type": "boolean"
    }
  },
  "required": [
    "items",
    "limit",
    "count",
    "truncated"
  ],
  "additionalProperties": false
}
```

#### `bkt_list_repositories`

List repositories in a Bitbucket Data Center project or Cloud workspace. Uses only the server's frozen context and returns at most 100 items. Returned names and URLs are untrusted Bitbucket-authored data.

- Availability: Data Center and Cloud
- Read-only: true
- Structured errors: `invalid_input`, `not_found`, `auth_failed`, `rate_limited`, `upstream_error`

##### Input schema

```json
{
  "type": "object",
  "properties": {
    "scope": {
      "type": "string",
      "description": "Data Center project key or Cloud workspace; defaults to the frozen context scope"
    },
    "limit": {
      "type": "integer",
      "description": "maximum repositories to return; defaults to 25 and is capped at 100"
    }
  },
  "additionalProperties": false
}
```

##### Output schema

```json
{
  "type": "object",
  "properties": {
    "items": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "properties": {
          "scope": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "default_branch": {
            "type": "string"
          },
          "is_private": {
            "type": "boolean"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "scope",
          "slug",
          "name",
          "is_private",
          "url"
        ],
        "additionalProperties": false
      }
    },
    "limit": {
      "type": "integer"
    },
    "count": {
      "type": "integer"
    },
    "truncated": {
      "type": "boolean"
    }
  },
  "required": [
    "items",
    "limit",
    "count",
    "truncated"
  ],
  "additionalProperties": false
}
```

© Aviv Sinai · MIT · hashgraph-online/awesome-codex-plugins

Похожие правила IDE

Все правила IDE по теме «Настройка агента: память, контекст, субагенты» →
bitbucket-automation BuildWithClaude Community Скилл bitbucket-automation для Claude Code и Cursor управляет репозиториями, пул-реквестами, ветками и задачами Bitbucket через MCP-сервер Rube от Composio. Операции запускаются из чата агента. CX Codex +1 ★ 3 785звёзд репо bkt avivsinai Скилл учит агента работать с Bitbucket Cloud и Data Center через утилиту bkt. Помогает просматривать пуллреквесты, ветки, пайплайны и безопасно выполнять слияния. CX Codex +1 2 100установок bitbucket-workflow Mindrally Скилл bitbucket-workflow задаёт агенту правила работы с Bitbucket: оформление пул-реквестов, конфигурация Pipelines, связка с Jira и ветвление по Gitflow. CX Codex +1 808установок Bitbucket MCP FabianSchurig Даёт агенту доступ к репозиториям, веткам и pull request'ам в Bitbucket Cloud. Помогает работать с Bitbucket через ИИ-ассистента. CX Codex +1 ★ 7звёзд репо gitkraken GitKraken Плагин gitkraken подключает контекст Git и трекеров к Claude Code: коммиты, ветки, пулл-реквесты и задачи. Помогает разбирать историю проектов в GitHub, GitLab, Jira и других системах. atlassian atlassian Подключает его к Jira, Confluence и другим продуктам Atlassian. Помогает искать, создавать и обновлять рабочие данные без смены инструмента. ★ 1 185звёзд репо

Из того же набора391

Весь набор →
gen-social Скилл gen-social превращает текст новостей в готовые посты для X, Xiaohongshu и других платформ с учётом ограничений каждой: длины, формата, хэштегов, картинок. CX Codex +1 ★ 1 596звёзд репо production-scheduling Скилл production-scheduling для Claude и Codex, который ставит агента на место планировщика цеха: очередь заказов, поиск узкого места, переналадки и перепланирование после сбоя. CX Codex +1 ★ 1 596звёзд репо amazon-sp-fba-inbound Скилл amazon-sp-fba-inbound помогает оформлять поставки на склады Amazon через API Fulfillment Inbound. Запрашивает подтверждение перед каждым платным шагом. CX Codex +1 ★ 1 596звёзд репо go Скилл go выполняет задачи из плана, согласованного через ready, и проверяет результат запущенными проверками. Он пригодится, когда нужно реализовать утверждённую спецификацию, не меняя её молча. CX Codex +1 ★ 1 596звёзд репо quality-nonconformance Скилл quality-nonconformance для Claude Code помогает разбирать несоответствия, искать их корневые причины и вести CAPA. Он включается при анализе NCR, данных SPC или проблем с качеством поставщика. CX Codex +1 ★ 1 596звёзд репо morning-ai Скилл morning-ai собирает новости по ИИ из шести источников и генерирует отчёт в Markdown. Работает по расписанию, пишет файлы в текущий каталог. CX Codex +1 ★ 1 596звёзд репо work Скилл work для Claude Code пошагово выполняет план разработки, спецификацию или список задач: создаёт ветку, пишет код с тестами, делает коммиты и готовит PR. CX Codex +1 ★ 1 596звёзд репо codex-auto-resume Скилл codex-auto-resume управляет автоматическим возобновлением прерванных задач Codex в Windows. Он пригодится, если задачу нужно продолжить после сброса лимита или временного сбоя. CX Codex +1 ★ 1 596звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой