Troubleshooting
Error: import httpx: No module named ‘httpx’
This is likely due to the httpx package not being installed in the Python environment you’re using.
To resolve this, run the command in step 1 below. If the error persists, try steps 2 and 3:
uv syncuv pip install httpxuv run python -m jpmc.mcp_for_api_documentation.server
MCP tools do not appear in GitHub Copilot
If you don't see MCP tool in your GitHub Copilot:
- Open VS Code's Command Pallete:
Cmd + Shift + P - In the Command Pallete, type and select
Developer: Reload Windowto reload VS Code: - Check that: .vscode/mcp.json exists in your workspace
- Check that the MCP server config is valid:
cat .vscode/mcp.json
MCP tool returns plain text instead of links
If the tool returns plain text instead of links to documentation:
- Open VS Code's Command Pallete:
Cmd + Shift + P - In the Command Pallete, type and select:
Developer: Reload Windowto reload VS Code - Start the MCP server
- Confirm the MCP server (
jpm-pdp) is available and running :
Cmd + Shift + P
Type and select:MCP: List Servers - Run your request again
Missing dependencies
If dependencies are missing:
Run
uv syncThen
uv pip listThis helps you verify that the virtual environment contains project dependencies. At a minimum you should see:jpmc-mcp-for-api-documentation,mcpandhttpx.