Skip to main content
Glama

Convex MCP server

Official
by get-convex
mod.rs848 B
use std::{ collections::BTreeSet, sync::LazyLock, }; use common::{ runtime::Runtime, types::IndexDescriptor, }; use database::{ IndexModel, Transaction, }; use value::TableName; pub static AIRBYTE_PRIMARY_KEY_INDEX_DESCRIPTOR: LazyLock<IndexDescriptor> = LazyLock::new(|| IndexDescriptor::new("_by_airbyte_primary_key").unwrap()); pub struct AirbyteImportModel<'a, RT: Runtime> { tx: &'a mut Transaction<RT>, } impl<'a, RT: Runtime> AirbyteImportModel<'a, RT> { pub fn new(tx: &'a mut Transaction<RT>) -> Self { Self { tx } } pub async fn primary_key_indexes_ready( &mut self, indexes: &BTreeSet<TableName>, ) -> anyhow::Result<bool> { IndexModel::new(self.tx) .indexes_ready(&AIRBYTE_PRIMARY_KEY_INDEX_DESCRIPTOR, indexes) .await } }

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