opencode.json
1 { 2 "$schema": "https://opencode.ai/config.json", 3 "enabled_providers": ["openai"], 4 "mcp": { 5 "context7": { 6 "type": "remote", 7 "url": "https://mcp.context7.com/mcp", 8 "enabled": true, 9 "headers": { 10 "CONTEXT7_API_KEY": "{env:CONTEXT7_API_KEY}" 11 } 12 } 13 } 14 }