Skip to main content
Glama

JSON MCP Server

MIT License
80
78
  • Apple
  • Linux
keys.js565 B
import isObject from './isObject.js'; import { nativeKeys, hasEnumBug } from './_setup.js'; import has from './_has.js'; import collectNonEnumProps from './_collectNonEnumProps.js'; // Retrieve the names of an object's own properties. // Delegates to **ECMAScript 5**'s native `Object.keys`. export default function keys(obj) { if (!isObject(obj)) return []; if (nativeKeys) return nativeKeys(obj); var keys = []; for (var key in obj) if (has(obj, key)) keys.push(key); // Ahem, IE < 9. if (hasEnumBug) collectNonEnumProps(obj, keys); return keys; }

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