Skip to main content
Glama

Atlassian Bitbucket MCP Server

by aashari

bb_ls_repos

Quickly list and filter repositories in a Bitbucket workspace by name, project key, user role, or query string. Supports sorting, pagination, and returns detailed Markdown-formatted results for easy integration and analysis. Requires Bitbucket credentials for access.

Instructions

Lists repositories within a workspace. If workspaceSlug is not provided, uses your default workspace (either configured via BITBUCKET_DEFAULT_WORKSPACE or the first workspace in your account). Filters repositories by the users role, project key projectKey, or a querystring (searches name/description). Supports sorting viasortand pagination vialimitandcursor`. Pagination details are included at the end of the text content. Returns a formatted Markdown list with comprehensive details. Requires Bitbucket credentials.

Input Schema

NameRequiredDescriptionDefault
cursorNoPagination cursor for retrieving the next set of results. Obtained from previous response when more results are available.
limitNoMaximum number of items to return (1-100). Controls the response size. Defaults to 25 if omitted.
projectKeyNoFilter repositories by project key. Example: "project-api"
queryNoQuery string to filter repositories by name or other properties (text search). Example: "api" for repositories with "api" in the name/description. If omitted, returns all repositories.
roleNoFilter repositories by the authenticated user's role. Common values: "owner", "admin", "contributor", "member". If omitted, returns repositories of all roles.
sortNoField to sort results by. Common values: "name", "created_on", "updated_on". Prefix with "-" for descending order. Example: "-updated_on" for most recently updated first.
workspaceSlugNoWorkspace slug containing the repositories. If not provided, the system will use your default workspace (either configured via BITBUCKET_DEFAULT_WORKSPACE or the first workspace in your account). Example: "myteam"

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor for retrieving the next set of results. Obtained from previous response when more results are available.", "type": "string" }, "limit": { "description": "Maximum number of items to return (1-100). Controls the response size. Defaults to 25 if omitted.", "exclusiveMinimum": 0, "maximum": 100, "type": "integer" }, "projectKey": { "description": "Filter repositories by project key. Example: \"project-api\"", "type": "string" }, "query": { "description": "Query string to filter repositories by name or other properties (text search). Example: \"api\" for repositories with \"api\" in the name/description. If omitted, returns all repositories.", "type": "string" }, "role": { "description": "Filter repositories by the authenticated user's role. Common values: \"owner\", \"admin\", \"contributor\", \"member\". If omitted, returns repositories of all roles.", "type": "string" }, "sort": { "description": "Field to sort results by. Common values: \"name\", \"created_on\", \"updated_on\". Prefix with \"-\" for descending order. Example: \"-updated_on\" for most recently updated first.", "type": "string" }, "workspaceSlug": { "description": "Workspace slug containing the repositories. If not provided, the system will use your default workspace (either configured via BITBUCKET_DEFAULT_WORKSPACE or the first workspace in your account). Example: \"myteam\"", "type": "string" } }, "type": "object" }
Install Server

Other Tools from Atlassian Bitbucket MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aashari/mcp-server-atlassian-bitbucket'

If you have feedback or need assistance with the MCP directory API, please join our Discord server