Complete MCP and Skills configuration for OpenCode Desktop on Windows, migrated from WSL Ubuntu setup.
This repository documents the complete setup of MCPs (Model Context Protocols) and Skills for OpenCode Desktop on Windows, including:
- 4 MCP servers (chrome-devtools, context7, deepwiki, tavily)
- 32 Skills for various development workflows
- Chrome DevTools integration with dedicated CDP profile
- DeepWiki bridge for documentation access
- OpenCode Desktop installed on Windows
- Node.js and npm installed
- Python 3 installed
- Chrome browser installed
-
Install Python requests (for DeepWiki bridge):
pip install requests
-
Create config directory:
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.config\opencode"
-
Copy the configuration file:
Copy-Item opencode.jsonc "$env:USERPROFILE\.config\opencode\opencode.jsonc" -Force
-
Copy skills:
Copy-Item -Recurse skills "$env:USERPROFILE\.config\opencode\" -Force
-
Copy DeepWiki bridge:
Copy-Item -Recurse deepwiki-bridge "$env:USERPROFILE\.config\opencode\" -Force
-
Create Chrome CDP profile directory:
New-Item -ItemType Directory -Force -Path "$env:LOCALAPPDATA\ChromeCDPProfile"
-
Restart OpenCode Desktop to load the new configuration
%USERPROFILE%\.config\opencode/
├── opencode.jsonc # Main configuration
├── skills/ # 32 skill directories
│ ├── agent-browser/
│ ├── chrome-devtools-windows/ # Chrome CDP setup skill
│ ├── context7/
│ ├── crawl/
│ ├── database-migration/
│ ├── deepwiki/
│ ├── dispatching-parallel-agents/
│ ├── docker-expert/
│ ├── extract/
│ ├── find-skills/
│ ├── frontend-design/
│ ├── git-advanced-workflows/
│ ├── mermaid-diagrams/
│ ├── next-best-practices/
│ ├── nse-stock-analyzer/
│ ├── opencode-pty/
│ ├── opencontext/
│ ├── pdf/
│ ├── protocol-reverse-engineering/
│ ├── python-performance-optimization/
│ ├── remotion-best-practices/
│ ├── rust-async-patterns/
│ ├── schematics-pdf-analyser/
│ ├── search/
│ ├── skill-creator/
│ ├── supabase-postgres-best-practices/
│ ├── systematic-debugging/
│ ├── tavily-best-practices/
│ ├── ui-ux-pro-max/
│ ├── vercel-react-best-practices/
│ ├── vercel-react-native-skills/
│ ├── vue-best-practices/
│ └── web-design-guidelines/
└── deepwiki-bridge/
└── bridge.py # DeepWiki MCP bridge
%LOCALAPPDATA%\ChromeCDPProfile/ # Dedicated Chrome CDP profile
Purpose: Browser automation via Chrome DevTools Protocol
Uses a dedicated Chrome profile at C:\Users\%USERNAME%\AppData\Local\ChromeCDPProfile - separate from your main Chrome.
Installation: Uses npx chrome-devtools-mcp@latest - no global installation required. Downloaded automatically on first use.
Setup:
-
Launch Chrome with remote debugging:
Start-Process "C:\Program Files\Google\Chrome\Application\chrome.exe" -ArgumentList "--remote-debugging-port=9333","--remote-debugging-address=127.0.0.1","--user-data-dir=$env:LOCALAPPDATA\ChromeCDPProfile","--no-first-run","--no-default-browser-check","about:blank"
-
First time only: Sign in with your Google account. Sessions persist for future launches.
-
Verify Chrome is listening:
Invoke-WebRequest -Uri "http://127.0.0.1:9333/json/version" -UseBasicParsing
Timeout: 300000ms (5 minutes)
Note: The MCP will fail with error -32000 if Chrome is not running with CDP enabled. Always start Chrome first before using the MCP.
Purpose: Code context search via Context7 API
Environment:
CONTEXT7_API_KEY: Your Context7 API key
Timeout: 150000ms (2.5 minutes)
Note: Installed via npx, no additional setup required
Purpose: Access DeepWiki documentation
Bridge Location: C:\Users\%USERNAME%\.config\opencode\deepwiki-bridge\bridge.py
Requirements:
- Python 3
- requests library (
pip install requests)
Timeout: 150000ms (2.5 minutes)
Purpose: Web search via Tavily API
Environment:
TAVILY_API_KEY: Your Tavily API key
Timeout: 150000ms (2.5 minutes)
Note: Installed via npx, no additional setup required
| MCP | Timeout | Reason |
|---|---|---|
| chrome-devtools | 300000ms (5 min) | Browser operations can be slow |
| context7 | 150000ms (2.5 min) | API + npx download time |
| deepwiki | 150000ms (2.5 min) | Network requests |
| tavily | 150000ms (2.5 min) | API + npx download time |
Default timeout is 5000ms if not specified - too short for npx downloads!
| Skill | Description |
|---|---|
agent-browser |
Browser automation and web testing |
context7 |
Code context search |
crawl |
Website crawling |
extract |
Content extraction from URLs |
next-best-practices |
Next.js best practices |
vercel-react-best-practices |
React optimization guidelines |
vercel-react-native-skills |
React Native best practices |
vue-best-practices |
Vue.js best practices |
| Skill | Description |
|---|---|
docker-expert |
Docker containerization |
database-migration |
Database migrations |
supabase-postgres-best-practices |
PostgreSQL optimization |
git-advanced-workflows |
Advanced Git workflows |
| Skill | Description |
|---|---|
python-performance-optimization |
Python profiling and optimization |
rust-async-patterns |
Rust async programming |
nse-stock-analyzer |
NSE stock analysis |
protocol-reverse-engineering |
Network protocol analysis |
| Skill | Description |
|---|---|
chrome-devtools-windows |
Chrome CDP setup for Windows |
opencode-pty |
PTY management for long-running processes |
opencontext |
Git-style context management for AI sessions |
pdf |
PDF manipulation |
search |
Web search |
mermaid-diagrams |
Diagram creation |
schematics-pdf-analyser |
Electronics repair instructor |
ui-ux-pro-max |
UI/UX design |
web-design-guidelines |
Web design best practices |
| Skill | Description |
|---|---|
skill-creator |
Create custom skills |
find-skills |
Discover available skills |
dispatching-parallel-agents |
Parallel agent dispatch |
systematic-debugging |
Debugging methodology |
tavily-best-practices |
Tavily integration best practices |
frontend-design |
Frontend design patterns |
remotion-best-practices |
Remotion video creation |
The configuration includes 4 AI providers:
- Chutes AI - Various models (Kimi K2, GLM, MiniMax)
- Alibaba DashScope - Chinese models (Qwen, GLM)
- Google - Gemini and Claude models via Antigravity
- Ollama - Local models
If MCPs show "Request timed out" errors:
- Check timeout values in
opencode.jsonc- should be 150000+ for npx-based MCPs - Check network connectivity for API-based MCPs (context7, tavily)
- First run takes longer - npx needs to download packages
Error 32000 = Chrome is not running with CDP enabled.
-
Kill all Chrome processes:
Get-Process chrome -ErrorAction SilentlyContinue | Stop-Process -Force
-
Launch Chrome with CDP flags:
Start-Process "C:\Program Files\Google\Chrome\Application\chrome.exe" -ArgumentList "--remote-debugging-port=9333","--remote-debugging-address=127.0.0.1","--user-data-dir=$env:LOCALAPPDATA\ChromeCDPProfile","--no-first-run","--no-default-browser-check","about:blank"
-
Wait 3-4 seconds, then verify:
Invoke-WebRequest -Uri "http://127.0.0.1:9333/json/version" -UseBasicParsing
-
Restart the MCP in OpenCode Desktop (toggle off/on)
- Ensure Chrome is launched with remote debugging
- Check that the CDP profile directory exists
- Verify port 9333 is not in use by another process:
netstat -ano | Select-String ":9333"
-
Verify skills are in the correct directory:
ls "$env:USERPROFILE\.config\opencode\skills" -
Check that each skill has a
SKILL.mdfile -
Restart OpenCode Desktop
First run of npx -y @upstash/context7-mcp or npx -y tavily-mcp@latest downloads the package. This can take 30-60 seconds on slow connections.
Solution: Increase timeout to 150000ms (already done in config)
This setup was migrated from WSL Ubuntu to Windows. Key changes:
- Paths: WSL paths (
/home/vic/...) → Windows paths (C:\Users\...) - Chrome Profile: Dedicated CDP profile instead of WSL Chrome
- Node: WSL node → Windows node
- Python: WSL python3 → Windows python
- Timeouts: Increased from default 5000ms to 150000ms+
Feel free to submit issues or PRs if you find bugs or want to add more skills.
MIT