get_projects
Retrieve a complete list of all projects within your Azure DevOps organization to manage development workflows and access project information.
Instructions
Gets a list of all projects in the organization.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- mcp_azure_devops/server.py:545-553 (registration)Registers the 'get_projects' tool with its description and empty input schema.types.Tool( name="get_projects", description="Gets a list of all projects in the organization.", inputSchema={ "type": "object", "properties": {}, "additionalProperties": False } ),
- mcp_azure_devops/server.py:1061-1063 (handler)Main handler logic for the 'get_projects' tool: calls the client to fetch projects and returns a dictionary of project names.elif name == "get_projects": projects = self.client.get_projects() return {"projects": [p.name for p in projects]}
- Helper method in AzureDevOpsClient that delegates to the Azure DevOps SDK core_client.get_projects() to retrieve the list of projects.def get_projects(self): return self.core_client.get_projects()