Files
opencode/opencode.json
voson ab4792c7db fix: correct Ref MCP configuration
- Change service name from 'ref' to 'Ref'
- Change type from 'remote' to 'http'
- Move API key from Authorization header to URL parameter
- Maintain security by using environment variable
2026-01-07 10:58:27 +08:00

41 lines
849 B
JSON

{
"$schema": "https://opencode.ai/config.json",
"provider": {
"opencode": {
"models": {
"claude-opus-4-5": {
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 16000
}
}
},
"claude-sonnet-4-5": {
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 16000
}
}
}
}
}
},
"mcp": {
"Ref": {
"type": "http",
"url": "https://api.ref.tools/mcp?apiKey={env:REF_API_KEY}",
"headers": {}
},
"figma": {
"type": "local",
"command": ["npx", "-y", "figma-developer-mcp", "--stdio"],
"environment": {
"FIGMA_API_KEY": "{env:FIGMA_API_KEY}"
}
}
},
"permission": "allow"
}