Skip to main content
Glama

get_wikis

Retrieve all wikis from an Azure DevOps project to access documentation and knowledge resources for development workflows.

Instructions

Gets all wikis in a project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesThe name or ID of the project.

Implementation Reference

  • Core handler implementing the get_wikis tool logic by calling the Azure DevOps wiki_client to retrieve all wikis for the given project.
    def get_wikis(self, project):
        return self.wiki_client.get_all_wikis(project=project)
  • MCP server dispatch handler for get_wikis tool that invokes the client method and formats the wiki list into a standardized response.
    elif name == "get_wikis":
        wikis = self.client.get_wikis(**arguments)
        return [
            {
                "id": wiki.id,
                "name": wiki.name,
                "url": wiki.url,
                "remote_url": wiki.remote_url,
            }
            for wiki in wikis
        ]
  • Schema definition for the get_wikis tool, specifying the required 'project' input parameter.
    types.Tool(
        name="get_wikis",
        description="Gets all wikis in a project.",
        inputSchema={
            "type": "object",
            "properties": {
                "project": {
                    "type": "string", 
                    "description": "The name or ID of the project."
                },
            },
            "required": ["project"],
            "additionalProperties": False
        }
    ),
  • Registration handler that exposes the list of tools including get_wikis via MCP list_tools protocol.
    @self.server.list_tools()
    async def list_tools() -> List[types.Tool]:
        """Return the list of available tools."""
        logger.info(f"Tools requested - returning {len(self.tools)} tools")
        self.tools_registered = True
        return self.tools

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