Skip to main content
Glama

Cursor MCP Server

by johnneerdael
lab2xyz.ts626 B
/** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * lab2xyz.ts - part of Image Quantization Library */ const refX = 0.95047; // ref_X = 95.047 Observer= 2°, Illuminant = D65 const refY = 1.0; // ref_Y = 100.000 const refZ = 1.08883; // ref_Z = 108.883 function pivot(n: number) { return n > 0.206893034 ? n ** 3 : (n - 16 / 116) / 7.787; } export function lab2xyz(L: number, a: number, b: number) { const y = (L + 16) / 116; const x = a / 500 + y; const z = y - b / 200; return { x: refX * pivot(x), y: refY * pivot(y), z: refZ * pivot(z), }; }

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/johnneerdael/multiplatform-cursor-mcp'

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