Azure Wiki Search + Roo Code: Complete MCP Integration
Azure Wiki Search is a MCP server that An MCP server that enables AI to query and search Azure DevOps Wiki content with intelligent search capabilities..
When integrated with Roo Code, you can:
- Search Azure DevOps Wiki content with AI-powered queries
- Retrieve specific wiki pages by path or identifier
This guide provides step-by-step instructions to set up Azure Wiki Search in Roo Code, including configuration, examples, and troubleshooting.
What You'll Achieve
After completing this setup:
- Azure Wiki Search will be fully integrated and operational
- You can use Azure Wiki Search tools directly in Roo Code
- All Azure Wiki Search capabilities will be available for your workflows
- Access to 2 different tools
Prerequisites
Before starting, ensure you have:
- Azure DevOps organization name
- Azure DevOps project name
- Roo Code installed and configured
- Compatible operating system (Windows, macOS, Linux)
Installation
Step 1: Install Azure Wiki Search
Configuration
Step 2: Configure Roo Code
-
Locate your configuration file:
- Windows:
%USERPROFILE%\.roo\mcp_settings.json - macOS:
~/.roo/mcp_settings.json - Linux:
~/.roo/mcp_settings.json
- Windows:
-
Add server configuration:
{
"mcpServers": {
"azure-wiki-search": {
"command": "npx",
"args": ["-y", "azure-wiki-search"],
"env": {
"ORG": "microsoft",
"PROJECT": "Edge",
"AZURE_DEVOPS_PAT": "your-pat-token-here"
}
}
}
}
- Restart Roo Code
Completely quit and restart Roo Code to load the new configuration.
Examples
Once configured, you can use Azure Wiki Search in Roo Code:
Search Technical Documentation
Find relevant technical documentation in Azure Wiki
Ask Roo Code: "Search for API authentication documentation in the Edge project"
Expected Result: Relevant wiki pages containing authentication setup and API documentation
Retrieve Specific Wiki Page
Get content from a known wiki page path
Ask Roo Code: "Get the content from /docs/setup/installation.md"
Expected Result: Full content of the installation documentation page
Find Troubleshooting Guides
Search for problem-solving documentation
Ask Roo Code: "Find troubleshooting guides for deployment issues"
Expected Result: Wiki pages containing deployment troubleshooting information
Testing Your Setup
- Start a new conversation in Roo Code
- Ask Roo Code to list available tools
- Try using Azure Wiki Search functionality
Test prompts:
- "Type @ and verify Azure Wiki Search appears in the tools list"
- "Ask: "Use Azure Wiki Search to help with my task""
- "Check Roo Code output panel for server connection status"
Troubleshooting
Common Issues
Authentication Failed
Symptoms: Access denied to wiki, Unauthorized errors, PAT token rejected
Cause: Missing or invalid Azure DevOps Personal Access Token
Solution:
- Generate PAT in Azure DevOps with Wiki read permissions
- Set AZURE_DEVOPS_PAT environment variable
- Verify PAT has access to specified organization/project
- Check PAT expiration date
Organization/Project Not Found
Symptoms: Project not found errors, Organization does not exist
Cause: Invalid ORG or PROJECT configuration
Solution:
- Verify organization name matches Azure DevOps URL
- Confirm project exists and is accessible
- Check spelling and case sensitivity
- Use --org and --project parameters to override defaults
Wiki Content Not Found
Symptoms: No search results, Wiki path not found, Empty responses
Cause: Wiki not configured or content not available
Solution:
- Verify project has Wiki enabled
- Check wiki content exists in specified project
- Confirm search terms match available content
- Try broader search queries initially
uv Environment Issues
Symptoms: Command not found, Package installation fails, Virtual env errors
Cause: uv not installed or virtual environment not activated
Solution:
- Install uv: curl -LsSf https://astral.sh/uv/install.sh | sh
- Activate virtual environment before running
- Ensure Python 3.10+ is available
- Reinstall dependencies if corruption occurred
MCP Server Not Connecting
Symptoms: Server not appearing in tools list, Connection timeout, MCP tools unavailable
Cause: Incorrect configuration or server not starting
Solution:
- Verify mcp_settings.json syntax is correct
- Check that Node.js and npx are installed and in PATH
- View Roo Code output panel for error messages
- Test server command manually in terminal: npx -y {server_id}
- Ensure environment variables are properly set
Permission Denied Errors
Symptoms: Cannot execute commands, File access denied, Terminal commands blocked
Cause: Roo Code requires explicit permission for file and command operations
Solution:
- Review and approve permission requests when prompted
- Check VS Code workspace trust settings
- Enable necessary permissions in Roo Code settings
- Verify file and folder permissions on your system
API Key or Model Issues
Symptoms: Authentication failed, Model not responding, No AI completions
Cause: AI model API key not configured or invalid
Solution:
- Verify API key is correctly set in Roo Code settings
- Check API key has sufficient credits/quota
- Test with a different AI model provider
- Review Roo Code output panel for API error details
Custom Mode Not Working with MCP
Symptoms: MCP tools not available in custom mode, Mode cannot access server
Cause: Custom mode configuration does not include MCP tool permissions
Solution:
- Edit custom mode configuration to include MCP tools
- Add "Use MCP" to available tools in mode definition
- Ensure mode has appropriate permissions for external tools
- Test with default mode first to verify MCP server works
Extension Conflicts
Symptoms: Roo Code not responding, VS Code performance issues, Unexpected behavior
Cause: Conflicts with other AI coding extensions
Solution:
- Disable other AI coding extensions (Cline, Continue, etc.)
- Restart VS Code after disabling conflicting extensions
- Check VS Code extension logs for conflict errors
- Use only one AI coding assistant extension at a time
Azure Wiki Search not appearing in Roo Code
Symptoms: Server not listed, Tools not available
Cause: Configuration or installation issue
Solution:
- Verify configuration syntax
- Check Azure Wiki Search installation
- Restart Roo Code
- Check logs for error messages
Next Steps
Now that Azure Wiki Search is integrated with Roo Code:
- Explore all Azure Wiki Search capabilities through Roo Code
- Check out other MCP servers that work with Roo Code
- Join the MCP community for tips and support
- Consider contributing to Azure Wiki Search development
Need Help?
- Search for Azure Wiki Search documentation
- Check the Roo Code MCP guide
- Join the MCP community discussions