MCP Server Issues
MCP Server Not Starting
Symptoms:- MCP server fails to start
- Error messages about missing dependencies
- Connection errors in your coding agent
- “Command not found” errors
Check Python Version
Check Python Version
- macOS:
brew install python@3.11or download from python.org - Linux: Use your package manager (e.g.,
sudo apt install python3.11) - Windows: Download from python.org
Check pipx/uvx Installation
Check pipx/uvx Installation
- pipx:
pip install --user pipx && pipx ensurepath - uvx: Install via uv -
curl -LsSf https://astral.sh/uv/install.sh | sh
Reinstall WISTX MCP
Reinstall WISTX MCP
Clear pipx Cache (Stale Version Issues)
Clear pipx Cache (Stale Version Issues)
- Errors mention files or imports that should have been fixed
- Tool count doesn’t match expected (e.g., 20 tools instead of 21)
Check Configuration File Syntax
Check Configuration File Syntax
- Missing commas between properties
- Unclosed brackets or braces
- Trailing commas (not allowed in JSON)
- Incorrect environment variable names (should be
WISTX_API_KEY, notAPI_KEY) - Quotes around environment variable values (not needed)
Check API Key
Check API Key
- Log in to wistx.ai/api-key
- Navigate to API Keys section
- Verify the key is active (not revoked or expired)
- Copy the key again and update your configuration
Check MCP Client Configuration Path
Check MCP Client Configuration Path
- Cursor:
~/.cursor/mcp.json(macOS/Linux) or%APPDATA%\Cursor\mcp.json(Windows) - Windsurf:
~/.windsurf/mcp.json(macOS/Linux) or%APPDATA%\Windsurf\mcp.json(Windows) - Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows) - VS Code:
~/.config/Code/User/mcp.json(macOS/Linux) or%APPDATA%\Code\User\mcp.json(Windows) - Continue.dev:
~/.continue/config.json
MCP Tools Not Available
Symptoms:- Tools don’t appear in your coding agent
- “Tool not found” errors
- Empty tool list
- “Unknown tool” errors
Restart Your Coding Agent
Restart Your Coding Agent
- Cursor: Quit completely (Cmd+Q on macOS, Alt+F4 on Windows) and reopen
- Claude Desktop: Quit completely and reopen
- VS Code: Reload the window (Cmd/Ctrl + Shift + P → “Developer: Reload Window”)
- Windsurf: Restart Windsurf completely
- Continue.dev: Restart Continue.dev extension
- Gemini CLI: Restart the CLI session
Check MCP Server Logs
Check MCP Server Logs
- Cursor: Check
~/.cursor/logs/or use Cursor’s built-in log viewer - Claude Desktop: Check
~/Library/Application Support/Claude/logs/(macOS) or%APPDATA%\Claude\logs\(Windows) - VS Code: Check Output panel → Select “MCP Server” from dropdown
- Windsurf: Check
~/.windsurf/logs/
ValueError: api_key is requiredRuntimeError: Failed to start MCP serverConnectionError: Network connection failed
Verify API Key Authentication
Verify API Key Authentication
401 Unauthorized:- Your API key is invalid or expired
- Check the key in wistx.ai/api-key
- Regenerate if needed
429 Too Many Requests:- You’ve exceeded your rate limit
- Check your plan limits
- Wait or upgrade your plan
Test MCP Server Manually
Test MCP Server Manually
- Check Python version (must be 3.11+)
- Check pipx/uvx installation
- Check network connectivity
Check Tool Name Format
Check Tool Name Format
wistx_:wistx_get_compliance_requirements✓wistx_calculate_infrastructure_cost✓wistx_search_code✓ (unified code search)wistx_infrastructure✓ (unified infrastructure)wistx_context✓ (unified context management)wistx_index✓ (unified indexing)wistx_research✓ (unified research)wistx_packages✓ (unified packages)get_compliance_requirements✗ (missing prefix)
Expected Startup Warnings (Not Errors)
Some warnings during MCP server startup are normal and expected. These do not affect functionality.OpenAI API Key Not Configured
OpenAI API Key Not Configured
MCP SDK Version Warnings
MCP SDK Version Warnings
Tool Execution Errors
Validation Errors (ValueError)
Symptoms:ValueError: api_key is requiredValueError: At least one resource type is requiredValueError: Query must be at least 10 charactersValueError: Invalid search_type- Parameter validation errors
Missing Required Parameters
Missing Required Parameters
api_key parameter. Ensure you’re passing it:wistx_get_compliance_requirements: Requiresresource_typeswistx_search_code: Requiressearch_modeandquerywistx_research: Requiressourceandquery(min 10 chars for knowledge_base)wistx_index: Requiresaction(andrepo_urlfor repository action)
WISTX_API_KEY) or MCP initialization.Invalid Parameter Values
Invalid Parameter Values
- Query length:
wistx_researchwithsource="knowledge_base"requires queries of at least 10 characters - Search mode:
wistx_search_codeaccepts"semantic","regex", or"examples" - Research source:
wistx_researchaccepts"knowledge_base","web","security", or"all" - Severity: Must be one of
"CRITICAL","HIGH","MEDIUM","LOW"(case-sensitive) - Resource types: Must be an array, not a string
- Cloud provider: Must be
"aws","gcp", or"azure"(lowercase)
Regex Search Errors
Regex Search Errors
wistx_search_code with search_mode="regex", you must provide either pattern OR template:- Providing both
patternandtemplate(use only one) - Pattern exceeds 10,000 characters
- Invalid regex syntax
Runtime Errors
Symptoms:RuntimeError: Rate limit exceededRuntimeError: Server error: 500RuntimeError: HTTP error: 404RuntimeError: Failed to start MCP server
Rate Limit Exceeded
Rate Limit Exceeded
RuntimeError: Rate limit exceeded:- Check your current usage in wistx.ai/api-key dashboard
- Verify your plan limits:
- Professional: 2,000 queries/month
- Team: 10,000 queries/month
- Enterprise: Unlimited queries
- Wait for the rate limit to reset (monthly)
- Upgrade your plan if needed
Server Errors (5xx)
Server Errors (5xx)
RuntimeError: Server error: 500 or similar:- Check status.wistx.ai for service status
- Wait a few minutes and retry
- If the issue persists, contact support with:
- Error message
- Tool name
- Timestamp
- Request details
Resource Not Found (404)
Resource Not Found (404)
RuntimeError: HTTP error: 404:- Verify the repository URL is correct (for indexing tools)
- Check if the resource exists
- Ensure you have access to the resource
- For private repositories, verify GitHub OAuth is connected
Connection and Timeout Errors
Symptoms:ConnectionError: Network connection failedTimeoutError: Request timeout- Slow responses
- Intermittent failures
Network Connectivity
Network Connectivity
Firewall/Proxy Issues
Firewall/Proxy Issues
api.wistx.ai(port 443, HTTPS)app.wistx.ai(port 443, HTTPS)
- Contact your IT department
- Request whitelist for
*.wistx.aidomains - Provide firewall rules if needed
Timeout Issues
Timeout Issues
- Indexing: Large repositories may take 30+ minutes
- Regex search: Complex patterns on large codebases may timeout
- Package search: Large result sets may take longer
- Use
wistx_manage_resourceswithaction='status'to monitor indexing progress - Break large searches into smaller queries
- Use filters to narrow results
- Increase timeout if using REST API directly
API Issues
Authentication Errors
Symptoms:401 UnauthorizederrorsInvalid API keymessagesapi_key is requirederrors- Authentication failures
Check API Key Format
Check API Key Format
- Missing
Bearerprefix in REST API calls - Extra spaces before/after the key
- Using quotes around the key in JSON (not needed)
- Including
sk-or other prefixes (WISTX keys don’t have prefixes)
Verify API Key Status
Verify API Key Status
- Log in to wistx.ai/api-key
- Navigate to API Keys section
- Check if the key is:
- Active (not revoked)
- Not expired
- Has proper permissions
- Regenerate if needed (old key will be invalidated)
Check API Key in MCP Configuration
Check API Key in MCP Configuration
- Key wrapped in quotes:
"WISTX_API_KEY": "\"key\""✗ - Extra spaces:
"WISTX_API_KEY": " key "✗ - Wrong variable name:
"API_KEY"instead of"WISTX_API_KEY"✗
Rate Limit Errors
Symptoms:429 Too Many RequestserrorsRate limit exceededmessages- Quota exceeded errors
Check Your Plan Limits
Check Your Plan Limits
Monitor Usage
Monitor Usage
- Log in to wistx.ai/api-key
- Go to Usage or Dashboard
- View:
- Queries used this month
- Index jobs used
- Remaining quota
- Reset date
Optimize Tool Usage
Optimize Tool Usage
- Cache results when possible
- Use filters to narrow searches
- Batch multiple resource types in a single compliance query
- Use
wistx_researchwithsource="all"instead of multiple separate searches
Upgrade Your Plan
Upgrade Your Plan
- Visit wistx.ai/api-key
- Go to Billing or Plans
- Select a higher plan
- Limits increase immediately after upgrade
Indexing Issues
Indexing Fails or Hangs
Symptoms:- Indexing job fails immediately
- Indexing hangs indefinitely
- “Repository access denied” errors
- Slow indexing progress
Check Repository Access
Check Repository Access
- Connect GitHub OAuth (recommended):
- Log in to wistx.ai/api-key
- Go to Settings → Integrations
- Connect GitHub account
- Grant repository access permissions
- Verify repository permissions:
- Ensure your GitHub account has access to the repository
- Check if repository is archived (archived repos may fail)
- Verify repository visibility (private repos require OAuth)
- Test access manually:
Check Repository Size and Structure
Check Repository Size and Structure
- Small repos (< 100MB): Usually completes in 1-5 minutes
- Medium repos (100MB - 1GB): May take 10-30 minutes
- Large repos (> 1GB): May take 30+ minutes
- Use
exclude_patternsto skip unnecessary files: - Use
include_patternsto focus on DevOps files:
Check Indexing Quota
Check Indexing Quota
- Professional: 5 index jobs/month
- Team: 10 index jobs/month
- Enterprise: Unlimited index jobs
- Log in to wistx.ai/api-key
- Go to Resources or Usage
- View indexed resources and remaining quota
Repository URL Format
Repository URL Format
https://github.com/owner/repohttps://github.com/owner/repo.git
git@github.com:owner/repo.git(SSH format not supported)owner/repo(missing protocol)github.com/owner/repo(missing protocol)
Documentation Website Indexing
Documentation Website Indexing
wistx_index_resource with documentation websites:Common issues:- Website requires authentication (not supported)
- Website blocks crawlers (check robots.txt)
- Very large websites (> 10,000 pages may timeout)
- Dynamic content (JavaScript-rendered content may not be indexed)
- Use
include_patternsto limit scope: - Index specific sections separately
- Use PDF/DOCX upload for static documentation
Indexing Status Issues
Symptoms:- Status stuck on “indexing”
- Status shows “failed” but no error message
- Can’t check status
Check Resource Status
Check Resource Status
wistx_manage_resources with action='status' to monitor progress:pending: Job queued, waiting to startindexing: Currently processingcompleted: Successfully indexedfailed: Indexing failed (check error message)
Handle Failed Indexing
Handle Failed Indexing
- Check the error message in status response
- Common causes:
- Repository access denied (check GitHub OAuth)
- Repository too large (use exclude_patterns)
- Network timeout (retry)
- Invalid repository URL
- Retry indexing with adjusted parameters
- Contact support if issue persists
List All Resources
List All Resources
wistx_manage_resources with action='list' to see all indexed resources:Search and Query Issues
No Results Found
Symptoms:- Search returns empty results
- “No matches found” messages
- Expected results not appearing
Check Indexed Resources
Check Indexed Resources
- Use
wistx_manage_resourceswithaction='list'to see indexed resources - Verify the repository/documentation you’re searching is indexed
- Check indexing status is “completed”
- Re-index if needed
Broaden Search Query
Broaden Search Query
- Instead of: “RDS encryption configuration”
- Try: “RDS encryption” or “encryption”
Check Filters
Check Filters
- Try without
code_typefilter - Try without
cloud_providerfilter - Try without
file_typesfilter - Check
repositoriesfilter matches indexed repos
Use Different Search Tools
Use Different Search Tools
wistx_search_code tool:- Semantic search:
wistx_search_codewithsearch_mode="semantic"(natural language) - Pattern search:
wistx_search_codewithsearch_mode="regex"(exact patterns) - Code examples:
wistx_search_codewithsearch_mode="examples"(curated examples) - Package search:
wistx_packageswithaction="search"(for packages) - Research:
wistx_researchwithsource="knowledge_base"(general knowledge)
Getting Help
If you’re still experiencing issues:- Check Documentation:
-
Check Service Status:
- Visit status.wistx.ai for service status
-
Search Existing Issues:
- Check GitHub Issues for similar problems
-
Contact Support:
- Email: hi@wistx.ai
- Include:
- Error messages (full text)
- Tool name and parameters used
- Request IDs (from response metadata)
- Steps to reproduce
- Your plan type
- Python version (
python --version) - Coding agent and version
-
Community:
- Join our Discord community for real-time support and discussions
- Visit our GitHub repository to report issues and contribute
- Check GitHub Discussions for community Q&A
- Complete error messages
- Tool name and parameters
- Request IDs (if available)
- Steps to reproduce the issue
- Your plan type (Professional/Team/Enterprise)
- Python version
- Coding agent name and version
- MCP configuration (with API key redacted)