Skip to main content
Glama

JSON MCP Server

MIT License
80
78
  • Apple
  • Linux
countBy.js372 B
define(['./_has', './_group'], function (_has, _group) { // Counts instances of an object that group by a certain criterion. Pass // either a string attribute to count by, or a function that returns the // criterion. var countBy = _group(function(result, value, key) { if (_has(result, key)) result[key]++; else result[key] = 1; }); return countBy; });

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/GongRzhe/JSON-MCP-Server'

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