Skip to main content
Common issues and solutions when using QWED-MCP.

Installation issues

”qwed-mcp: command not found”

Cause: Package not in PATH Solutions:
  1. Install globally:
  2. Check installation:
  3. Use full path in config:

“ModuleNotFoundError: No module named ‘sympy’”

Cause: QWED SDK dependencies not installed Solution:

Claude Desktop issues

Server not appearing in Claude

Check:
  1. Config file location:
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Valid JSON:
  3. Restart Claude Desktop (completely quit and reopen)

“Failed to start MCP server”

Debug steps:
  1. Test manually:
  2. Check logs:
  3. Enable debug logging:

Tool errors

”Code execution is disabled”

Cause: The QWED_MCP_TRUSTED_CODE_EXECUTION environment variable is not set. Solution: Set the variable in your MCP config:
Or when running from the command line:

“BLOCKED: Unknown MCP tool” (or verify_* tools)

Cause: You are running QWED-MCP v0.2.0 or later, which replaced all individual verify_* tools with a single execute_python_code tool. The RiskBasedExecutionGateway blocks any tool name not in its policy table with error code QWED-MCP-RISK-001. The full error message looks like:
Solution: Tell Claude: “The verify_* tools have been removed. Use execute_python_code to write and run a Python verification script.” See the migration guide for the full tool mapping and governance error codes for the complete list of QWED-MCP-RISK-* codes.

”Execution timed out after 30 seconds”

Cause: The Python script exceeded the execution time limit. Solutions:
  1. Increase timeout:
  2. Optimize the script:
    • Break complex computations into smaller steps
    • Avoid infinite loops or very large data processing

ModuleNotFoundError in script output

Cause: The QWED SDK package used in the script is not installed. Solution: Install the required package:

Migration issues (v0.1.x to v0.2.0)

Claude keeps trying to call verify_math

Cause: Claude’s context may still reference old tool names from previous conversations. Solutions:
  1. Start a new conversation
  2. Explicitly tell Claude: “Use execute_python_code instead of verify_math. Write a Python script that imports sympy to verify the calculation.”

Scripts fail with import errors

Cause: The QWED SDK packages are not installed alongside qwed-mcp. Solution:
This installs all QWED SDK packages that your scripts can import.

Getting help

  1. GitHub Issues: github.com/QWED-AI/qwed-mcp/issues
  2. Documentation: docs.qwedai.com/mcp
  3. MCP Protocol Docs: modelcontextprotocol.io