How to Fix: Failed to connect MCP server to VS Code Continue extension on Windows/WSL2 using Ollama
VS Code Continue extension not triggering MCP tools on WSL2 with Ollama model.
📋 Table of Contents
To resolve the issue of the Continue extension not connecting to your MCP server in VS Code, let's first identify common causes and then walk through a step-by-step solution.
⚠️ Common Causes
- Insufficient or incorrect MCP server configuration in the Continue extension settings.
🚀 How to Resolve This Issue
Method 1: Configure MCP Server
- Step 1: Open the Command Palette in VS Code by pressing `Ctrl+Shift+P` and type 'Continue: Select MCP server'.
Method 2: Update Ollama Models
- Step 1: Restart your Docker container for the Ollama models to ensure they are running with the latest configuration.
💡 Conclusion
By following these steps, you should be able to resolve the issue and successfully connect your MCP server to the Continue extension in VS Code.
❓ Frequently Asked Questions
🛠️ Related Fixes
How to Fix: Pc crashes shortly after launching game (rainbow
Pc crashes shortly after launching game, possible cause: outdated grap
How to Fix: Installing an APK on a locked down phone
Installing an APK on a locked down phone: Try using a rooted device, e
How to Fix: FPS drops
FPS drops in games can be caused by high system resource usage, outdat