Skip to main content
Glama

Convex MCP server

Official
by get-convex
mod.rs1.39 kB
pub mod database_index; mod index_config; mod index_metadata; pub mod index_validation_error; pub mod text_index; pub mod vector_index; use std::sync::LazyLock; use value::IdentifierFieldName; pub use self::{ index_config::IndexConfig, index_metadata::{ index_metadata_serialize_tablet_id, DeveloperIndexMetadata, IndexMetadata, TabletIndexMetadata, }, }; use crate::{ paths::FieldPath, types::{ IndexDescriptor, TableName, }, }; /// Table name for Index data. pub static INDEX_TABLE: LazyLock<TableName> = LazyLock::new(|| "_index".parse().expect("Invalid built-in index table")); /// Field for an indexed table's name in `IndexMetadata`. pub static TABLE_ID_FIELD_NAME: LazyLock<IdentifierFieldName> = LazyLock::new(|| "table_id".parse().expect("Invalid built-in field")); pub static TABLE_ID_FIELD_PATH: LazyLock<FieldPath> = LazyLock::new(|| FieldPath::new(vec![TABLE_ID_FIELD_NAME.clone()]).unwrap()); /// See `record_reads_for_writes` in `database::writes` pub static INDEX_BY_TABLE_ID_VIRTUAL_INDEX_DESCRIPTOR: LazyLock<IndexDescriptor> = LazyLock::new(|| IndexDescriptor::new("by_table_id").expect("Invalid virtual index name")); pub const MAX_INDEX_FIELDS_SIZE: usize = 16; pub const MAX_TEXT_INDEX_FILTER_FIELDS_SIZE: usize = 16; pub const MAX_VECTOR_INDEX_FILTER_FIELDS_SIZE: usize = 16;

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/get-convex/convex-backend'

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