Skip to main content
Glama
store.ts446 B
interface InitialContext { hasGlobalContext: boolean; } class ContextStore { private context: InitialContext = { hasGlobalContext: false, }; setInitialContextLoaded(): void { this.context.hasGlobalContext = true; } hasInitialContext(): boolean { return this.context.hasGlobalContext; } resetInitialContext(): void { this.context.hasGlobalContext = false; } } export const contextStore = new ContextStore();

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/contentful/contentful-mcp-server'

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