Skip to main content
Glama

list_repositories

Retrieve all repositories within a specified Azure DevOps project to view available codebases and manage version control assets.

Instructions

Lists all repositories in a project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesThe name or ID of the project.

Implementation Reference

  • The core handler function that executes the tool logic by calling the Azure DevOps Git client to list repositories in the specified project.
    def list_repositories(self, project): return self.git_client.get_repositories(project=project)
  • The tool registration in the server's tool list, including the name, description, and input schema definition.
    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 } ),
  • The input schema for the list_repositories tool, specifying the required 'project' parameter.
    inputSchema={ "type": "object", "properties": { "project": { "type": "string", "description": "The name or ID of the project." }, }, "required": ["project"], "additionalProperties": False }
  • The server-side dispatch handler that routes the tool call to the client's list_repositories method.
    elif name == "list_repositories": return self.client.list_repositories(**arguments)

Latest Blog Posts

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/xrmghost/mcp-azure-devops'

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