Skip to main content
Glama
shared-strings.jsโ€ข596 B
class SharedStrings { constructor() { this._values = []; this._totalRefs = 0; this._hash = Object.create(null); } get count() { return this._values.length; } get values() { return this._values; } get totalRefs() { return this._totalRefs; } getString(index) { return this._values[index]; } add(value) { let index = this._hash[value]; if (index === undefined) { index = this._hash[value] = this._values.length; this._values.push(value); } this._totalRefs++; return index; } } module.exports = SharedStrings;

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/consigcody94/office-whisperer'

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