We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/y1hanh/codebase-indexer-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
provider.ts•247 B
export interface EmbeddingProvider {
/**
* Generates a single array of floats representing the embedding of the given text.
*/
getEmbeddings(text: string): Promise<number[]>;
getEmbeddingsBatch(texts: string[]): Promise<number[][]>;
}