Skip to main content
Glama

Cursor MCP Server

by johnneerdael
imageQuantizer.ts763 B
/** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * common.ts - part of Image Quantization Library */ import { PointContainer } from '../utils/pointContainer'; import { Palette } from '../utils/palette'; import { ImageQuantizerYieldValue } from './imageQuantizerYieldValue'; export abstract class AbstractImageQuantizer { abstract quantize( pointContainer: PointContainer, palette: Palette, ): IterableIterator<ImageQuantizerYieldValue>; quantizeSync(pointContainer: PointContainer, palette: Palette) { for (const value of this.quantize(pointContainer, palette)) { if (value.pointContainer) { return value.pointContainer; } } throw new Error('unreachable'); } }

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