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": { "mcp": {
"ref": { "Ref": {
"type": "remote", "type": "http",
"url": "https://api.ref.tools/mcp", "url": "https://api.ref.tools/mcp?apiKey={env:REF_API_KEY}",
"headers": { "headers": {}
"Authorization": "Bearer {env:REF_API_KEY}"
}
}, },
"figma": { "figma": {
"type": "local", "type": "local",