Skip to main content
Glama
001-vector-schema.sql739 B
-- Vector functionality migration -- This creates or updates the vectors table for storing embeddings -- Create vectors table with F32_BLOB support CREATE TABLE IF NOT EXISTS vectors ( id INTEGER PRIMARY KEY AUTOINCREMENT, content_id INTEGER NOT NULL, content_type TEXT NOT NULL, vector F32_BLOB(128) NOT NULL, created_at INTEGER NOT NULL, metadata TEXT ); -- Create indexes for optimized lookup CREATE INDEX IF NOT EXISTS idx_vectors_content ON vectors(content_id, content_type); CREATE INDEX IF NOT EXISTS idx_vectors_created_at ON vectors(created_at); -- Create ANN index for vector similarity search if supported CREATE INDEX IF NOT EXISTS idx_vectors_ann ON vectors(libsql_vector_idx(vector)) WHERE vector IS NOT NULL;

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/aiurda/cursor10x-mcp'

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