Skip to main content
Glama

JSON MCP Server

MIT License
80
78
  • Apple
  • Linux
has.js526 B
import _has from './_has.js'; import toPath from './_toPath.js'; // Shortcut function for checking if an object has a given property directly on // itself (in other words, not on a prototype). Unlike the internal `has` // function, this public version can also traverse nested properties. export default function has(obj, path) { path = toPath(path); var length = path.length; for (var i = 0; i < length; i++) { var key = path[i]; if (!_has(obj, key)) return false; obj = obj[key]; } return !!length; }

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