Quick Diagnostics
Run these commands to quickly diagnose issues:- Check Installation
- Check Connectivity
- Check Client Logs
- Check Configuration
Verify all components are installed correctly:
Expected: All version commands return valid versions, server responds with tools list
Verify Installation
After installing and configuring the Arch MCP Server:1
Check client settings
Go to settings tab and look for MCP tools icon in your client.
Location varies by client:
- Claude Desktop: Settings → Features → Model Context Protocol
- Cursor: Settings → MCP Servers
- VS Code: MCP extension sidebar
2
Find arch-ops server
You should see “arch-ops” listed as a connected MCP server.
Status should be: Connected (green indicator)
3
Test a simple query
Try a basic query to verify the server responds:
Expected: Results from Arch Wiki with titles and links
4
Test a tool
Try a specific tool to verify functionality:
Expected: List of AUR packages with vote counts
Common Installation Issues
Server shows as disconnected
Server shows as disconnected
- Verify uvx is installed:
uvx --version - Check Python version:
python --version(need 3.11+) - Reinstall:
uvx --reinstall arch-ops-server - Restart your MCP client
arch-ops doesn't appear
arch-ops doesn't appear
- Check config file has valid JSON (no trailing commas)
- Verify file location is correct for your client
- Completely quit and restart the client (not just reload)
Server Won’t Start
uvx not found
uvx not found
Error: Solutions:
command not found: uvx or permission errorsDiagnosis:-
Install uv/uvx:
-
Add to PATH:
-
Verify installation:
Python version error
Python version error
Error: Install Python 3.11+:Force specific Python version:
Python 3.11+ requiredCheck current version:Missing dependencies
Missing dependencies
Error:
ModuleNotFoundError or package installation failsCommon missing modules:httpx- HTTP client librarybeautifulsoup4- HTML parsingmarkdownify- HTML to Markdown conversionmcp- MCP SDK
-
Reinstall completely:
-
Upgrade to latest version:
-
Clear uv cache:
-
Manual installation:
MCP server doesn't connect
MCP server doesn't connect
Error: Server shows in tools but says “disconnected”Diagnosis steps:
-
Test server directly:
-
Check client logs:
-
Verify configuration:
- Syntax error in config file
- Wrong command path in config
- Server crashes on startup
- Permission issues
- Fix JSON syntax errors (trailing commas, quotes)
- Use full path:
"/usr/local/bin/uvx"instead of"uvx" - Restart client completely (quit and relaunch)
- Check client logs for specific error messages
Expected log output:
"arch-ops server connected successfully"Tools Return Errors
checkupdates not found
checkupdates not found
Error: On non-Arch systems, this tool is not available.
command 'checkupdates' not foundSolution:
This is Arch-only and requires pacman-contrib:Timeout errors
Timeout errors
Error:
TimeoutError or request timed outSolution:- Check internet connection:
ping google.com - Try a simpler query first
- Verify Arch Wiki and AUR are accessible:
- Wiki:
xh https://wiki.archlinux.org/api.php - AUR:
xh https://aur.archlinux.org/rpc
- Wiki:
- Increase timeout if needed (requires code change)
404 from AUR
404 from AUR
Error:
AUR package not found or HTTP 404Solution:- Double-check package name spelling
- Try searching instead:
Search AUR for 'package-name' - The AUR might be temporarily down (rare)
- Try again in a few minutes
Rate limit errors (429)
Rate limit errors (429)
Error:
Too many requests or HTTP 429Solution:- AUR has rate limiting
- Wait a few minutes before retrying
- Don’t spam requests
- Share your use case (it’s reasonable)
Platform-Specific Issues
On Non-Arch Systems
| Feature | Status | Workaround |
|---|---|---|
| Wiki search & reading | ✅ Full | Works perfectly |
| AUR search & PKGBUILD | ✅ Full | Works perfectly |
| Official package info | ⚠️ Remote API | Uses online API instead of local pacman |
| Update checking | ❌ Not available | Requires Arch Linux |
On Arch Linux
All features available. If something isn’t working:- Check system is updated:
sudo pacman -Syu - Verify dependencies:
which pacman checkupdates yay paru - Test locally:
pacman -Si python(should work)
Configuration Issues
Config syntax error
Config syntax error
Error:
JSON parse error or invalid configurationSolution:- Validate JSON: Use
jqor an online JSON validator - Check for trailing commas
- Ensure proper JSON formatting
- Example valid config:
Config not loading
Config not loading
Error: MCP server doesn’t appear in clientSolution:
- Restart your MCP client completely
- Check config file location:
- Claude:
~/.config/Claude/claude_desktop_config.json - Cursor:
~/.cursor/mcp_config.json
- Claude:
- Verify file has valid JSON
- Clear client cache if available
Getting Help
Debug Commands
Resources
- Arch Wiki Issues: Check Arch Wiki
- AUR Issues: Check AUR
- MCP Protocol: Review MCP Docs
- Bug Reports: Open an issue on GitHub
- Feature Requests: GitHub discussions
Still stuck? Check the server logs, verify your config is correct, and ensure all prerequisites are installed.