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
export interface PromptMetadata {
author?: string;
version?: string;
license?: string;
tags?: string[];
language?: string;
difficulty?: 'beginner' | 'intermediate' | 'advanced';
estimatedTime?: string;
dependencies?: string[];
examples?: string[];
notes?: string;
lastModified?: Date;
usage?: {
count: number;
lastUsed?: Date;
};
}
export class PromptMetadataEntity {
constructor(
public readonly data: PromptMetadata
) {}
public toJSON(): PromptMetadata {
return this.data;
}
public static fromJSON(data: any): PromptMetadataEntity {
return new PromptMetadataEntity(data as PromptMetadata);
}
}