Azure Wiki Search + Amazon Q CLI: 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 Amazon Q CLI, 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 Amazon Q CLI, 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 Amazon Q CLI
- 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
- Amazon Q CLI installed and configured
- Compatible operating system (Windows, macOS, Linux)
Installation
Step 1: Install Azure Wiki Search
Configuration
Step 2: Configure Amazon Q CLI
- Install Amazon Q CLI
Download and install Q CLI for your platform
Visit: https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/command-line-installing.html
- Authenticate
Set up authentication with AWS Builder ID or IAM Identity Center
q auth
Note: Follow interactive authentication flow
- Verify Installation
Test Q CLI installation and configuration
q doctor
- Install MCP Server
Install the MCP server you want to integrate
Note: Ensure server is accessible from command line
- Configure MCP Integration
Add MCP server configuration to Q CLI
Note: Use q config commands to set server parameters
- Test Integration
Verify MCP server works with Q CLI
q chat "Use Azure Wiki Search to help me"
Configuration Details
Configure MCP servers through Q CLI commands:
# Configure MCP server integration
q config set mcp.servers.azure-wiki-search.command "azure wiki search"
q config set mcp.servers.azure-wiki-search.args ""
q config set mcp.servers.azure-wiki-search.env ""ORG": "microsoft",
"PROJECT": "Edge",
"AZURE_DEVOPS_PAT": "your-pat-token-here""
# Verify configuration
q config list mcp.servers
Examples
Once configured, you can use Azure Wiki Search in Amazon Q CLI:
Search Technical Documentation
Find relevant technical documentation in Azure Wiki
Ask Amazon Q CLI: "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 Amazon Q CLI: "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 Amazon Q CLI: "Find troubleshooting guides for deployment issues"
Expected Result: Wiki pages containing deployment troubleshooting information
Testing Your Setup
- Run q doctor to verify system health
- Start Q CLI chat session
- Ask Q to list available MCP tools
- Test specific Azure Wiki Search functionality
Test commands:
q doctor
q chat
q config list mcp.servers
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
Installation Failed
Symptoms: Q command not found, Installation errors
Cause: Incomplete installation or PATH issues
Solution:
- Verify installer completed successfully
- Check PATH environment variable includes Q CLI
- Try running q doctor for diagnostics
- Reinstall using platform-specific method
Authentication Problems
Symptoms: Auth errors, Cannot connect to AWS services
Cause: Invalid credentials or network issues
Solution:
- Run q auth to re-authenticate
- Verify AWS Builder ID or IAM credentials
- Check network connectivity to AWS
- Ensure proper AWS permissions are set
MCP Server Not Found
Symptoms: Server command not found, MCP tools unavailable
Cause: Server not installed or not in PATH
Solution:
- Verify MCP server installation
- Check server executable permissions
- Use absolute path in configuration
- Test server independently with direct command
Configuration Errors
Symptoms: Config commands fail, Settings not persisting
Cause: Invalid configuration syntax or permissions
Solution:
- Check Q CLI configuration file permissions
- Verify configuration syntax is correct
- Use q config list to review current settings
- Report issues with q issue command
Azure Wiki Search not appearing in Amazon Q CLI
Symptoms: Server not listed, Tools not available
Cause: Configuration or installation issue
Solution:
- Verify configuration syntax
- Check Azure Wiki Search installation
- Restart Amazon Q CLI
- Check logs for error messages
Next Steps
Now that Azure Wiki Search is integrated with Amazon Q CLI:
- Explore all Azure Wiki Search capabilities through Amazon Q CLI
- Check out other MCP servers that work with Amazon Q CLI
- 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 Amazon Q CLI MCP guide
- Join the MCP community discussions