Skip to main content
Glama

Better Qdrant MCP Server

base.ts561 B
import { EmbeddingGenerator } from '../../types.js'; export abstract class BaseEmbeddingService implements EmbeddingGenerator { constructor(protected apiKey?: string, protected endpoint?: string, protected model?: string) {} abstract vectorSize: number; abstract generateEmbeddings(texts: string[]): Promise<number[][]>; protected validateConfig(): void { if (this.requiresApiKey() && !this.apiKey) { throw new Error(`${this.constructor.name} requires an API key`); } } protected requiresApiKey(): boolean { return true; } }

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/wrediam/better-qdrant-mcp-server'

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