list_repositories
Retrieve all repositories in an Azure DevOps project to manage codebase access and organization.
Instructions
Lists all repositories in a project.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | The name or ID of the project. |
Implementation Reference
- The core handler function that executes the list_repositories tool logic by calling the Azure DevOps Git client to retrieve repositories for a given project.def list_repositories(self, project): return self.git_client.get_repositories(project=project)
- mcp_azure_devops/server.py:460-474 (schema)The input schema definition for the list_repositories tool, specifying that a 'project' parameter is required.types.Tool( name="list_repositories", description="Lists all repositories in a project.", inputSchema={ "type": "object", "properties": { "project": { "type": "string", "description": "The name or ID of the project." }, }, "required": ["project"], "additionalProperties": False } ),
- mcp_azure_devops/server.py:1049-1050 (registration)The registration and dispatch logic in the MCP server's tool execution handler that routes calls to list_repositories to the client implementation.elif name == "list_repositories": return self.client.list_repositories(**arguments)