Skip to main content
Glama
convertLchuvToLuv.js290 B
const convertLchuvToLuv = ({ l, c, h, alpha }) => { let res = { mode: 'luv', l: l, u: c ? c * Math.cos((h / 180) * Math.PI) : 0, v: c ? c * Math.sin((h / 180) * Math.PI) : 0 }; if (alpha !== undefined) { res.alpha = alpha; } return res; }; export default convertLchuvToLuv;

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MatheusgVentura/Project-One'

If you have feedback or need assistance with the MCP directory API, please join our Discord server