Skip to main content
Glama

create_wiki

Create a new wiki in an Azure DevOps project to document project information, processes, and team knowledge for improved collaboration.

Instructions

Creates a new wiki in a project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the wiki to create.
projectYesThe name or ID of the project.

Implementation Reference

  • MCP tool handler for 'create_wiki' that dispatches to the AzureDevOpsClient and formats the response.
    elif name == "create_wiki": wiki = self.client.create_wiki(**arguments) return { "id": wiki.id, "name": wiki.name, "url": wiki.url, "remote_url": wiki.remote_url, }
  • Input schema definition for the 'create_wiki' tool, specifying parameters project and name.
    types.Tool( name="create_wiki", description="Creates a new wiki in a project.", inputSchema={ "type": "object", "properties": { "project": { "type": "string", "description": "The name or ID of the project." }, "name": { "type": "string", "description": "The name of the wiki to create." }, }, "required": ["project", "name"], "additionalProperties": False } ),
  • Registration of tools via the list_tools MCP handler, which returns the self.tools list including 'create_wiki'.
    @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
  • Core helper method in AzureDevOpsClient that implements wiki creation using the Azure DevOps wiki_client API.
    def create_wiki(self, project, name): project_object = self.core_client.get_project(project) wiki_params = WikiCreateParametersV2(name=name, type='projectWiki', project_id=project_object.id) return self.wiki_client.create_wiki(wiki_create_params=wiki_params, project=project)

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