Skip to main content
Glama

get_projects

Retrieve all projects from your Azure DevOps organization to view and manage development initiatives.

Instructions

Gets a list of all projects in the organization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registers the 'get_projects' tool, including its schema (empty input) and description, as part of the tools list returned by list_tools().
    types.Tool( name="get_projects", description="Gets a list of all projects in the organization.", inputSchema={ "type": "object", "properties": {}, "additionalProperties": False } ),
  • The handler logic within _execute_tool() for the 'get_projects' tool: fetches projects using the client and returns a dictionary with 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 core Azure DevOps SDK client to retrieve the list of projects.
    def get_projects(self): return self.core_client.get_projects()

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