Skip to main content
Glama

mcp-appstore

by appreply-co
_xaperture.js1.09 kB
var _concat = require('./_concat'); var _curry2 = require('./_curry2'); var _slice = require('./_slice'); var _xfBase = require('./_xfBase'); module.exports = (function() { function XAperture(n, xf) { this.xf = xf; this.pos = 0; this.full = false; this.acc = new Array(n); } XAperture.prototype['@@transducer/init'] = _xfBase.init; XAperture.prototype['@@transducer/result'] = function(result) { this.acc = null; return this.xf['@@transducer/result'](result); }; XAperture.prototype['@@transducer/step'] = function(result, input) { this.store(input); return this.full ? this.xf['@@transducer/step'](result, this.getCopy()) : result; }; XAperture.prototype.store = function(input) { this.acc[this.pos] = input; this.pos += 1; if (this.pos === this.acc.length) { this.pos = 0; this.full = true; } }; XAperture.prototype.getCopy = function() { return _concat(_slice(this.acc, this.pos), _slice(this.acc, 0, this.pos)); }; return _curry2(function _xaperture(n, xf) { return new XAperture(n, xf); }); }());

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/appreply-co/mcp-appstore'

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