Skip to main content
Glama

JSON MCP Server

MIT License
80
78
  • Apple
  • Linux
findKey.js386 B
import cb from './_cb.js'; import keys from './keys.js'; // Returns the first key on an object that passes a truth test. export default function findKey(obj, predicate, context) { predicate = cb(predicate, context); var _keys = keys(obj), key; for (var i = 0, length = _keys.length; i < length; i++) { key = _keys[i]; if (predicate(obj[key], key, obj)) return key; } }

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