Skip to main content
Glama

MCP Prompts Server

prompt.entity.ts1.16 kB
export class Prompt { constructor( public readonly id: string, public readonly name: string, public readonly description: string, public readonly template: string, public readonly category: string, public readonly tags: string[] = [], public readonly variables: string[] = [], public readonly version: string = 'latest', public readonly createdAt: Date = new Date(), public readonly updatedAt: Date = new Date(), public readonly isLatest: boolean = true, public readonly metadata: Record<string, any> = {}, public readonly accessLevel: string = 'public', public readonly authorId?: string ) {} public toJSON(): any { return { id: this.id, name: this.name, description: this.description, template: this.template, category: this.category, tags: this.tags, variables: this.variables, version: this.version, createdAt: this.createdAt.toISOString(), updatedAt: this.updatedAt.toISOString(), isLatest: this.isLatest, metadata: this.metadata, accessLevel: this.accessLevel, authorId: this.authorId }; } }

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/sparesparrow/mcp-prompts'

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