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
This commit is contained in:
2026-01-07 10:58:27 +08:00
parent e13dd59f4e
commit ab4792c7db

View File

@@ -23,12 +23,10 @@
}
},
"mcp": {
"ref": {
"type": "remote",
"url": "https://api.ref.tools/mcp",
"headers": {
"Authorization": "Bearer {env:REF_API_KEY}"
}
"Ref": {
"type": "http",
"url": "https://api.ref.tools/mcp?apiKey={env:REF_API_KEY}",
"headers": {}
},
"figma": {
"type": "local",