Skip to main content
Glama
location.js495 B
'use strict' class Location { constructor (schema, schemaId, jsonPointer = '#') { this.schema = schema this.schemaId = schemaId this.jsonPointer = jsonPointer } getPropertyLocation (propertyName) { const propertyLocation = new Location( this.schema[propertyName], this.schemaId, this.jsonPointer + '/' + propertyName ) return propertyLocation } getSchemaRef () { return this.schemaId + this.jsonPointer } } module.exports = Location

Latest Blog Posts

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/krtw00/search-mcp'

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