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
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | The 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_azure_devops/server.py:982-992 (handler)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 ]
- mcp_azure_devops/server.py:426-440 (schema)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 } ),
- mcp_azure_devops/server.py:857-862 (registration)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