Skip to main content
Glama

Convex MCP server

Official
by get-convex
mod.rs1.6 kB
pub mod arbitrary_export_context; pub mod arbitrary_shape; pub mod arbitrary_value; use proptest::prelude::*; use value::IdentifierFieldName; use crate::ShapeConfig; #[derive(Copy, Clone, Debug, Eq, Ord, PartialEq, PartialOrd)] pub enum TestConfig {} impl ShapeConfig for TestConfig { const MAX_OBJECT_FIELDS: usize = 4; const MAX_UNION_LENGTH: usize = 4; fn is_valid_string_literal(s: &str) -> bool { s.len() <= 4 && s.chars().all(|c| c.is_ascii_alphabetic()) } #[cfg(any(test, feature = "testing"))] fn string_literal_strategy() -> proptest::strategy::BoxedStrategy<String> { "[a-z]{0,4}".prop_map(String::from).boxed() } #[cfg(any(test, feature = "testing"))] fn object_field_strategy() -> proptest::strategy::BoxedStrategy<IdentifierFieldName> { "[a-z]{1,3}".prop_map(|s| s.parse().unwrap()).boxed() } } #[derive(Copy, Clone, Debug, Eq, Ord, PartialEq, PartialOrd)] pub enum SmallTestConfig {} impl ShapeConfig for SmallTestConfig { const MAX_OBJECT_FIELDS: usize = 2; const MAX_UNION_LENGTH: usize = 2; fn is_valid_string_literal(s: &str) -> bool { s.len() <= 4 && s.chars().all(|c| c.is_ascii_alphabetic()) } #[cfg(any(test, feature = "testing"))] fn string_literal_strategy() -> proptest::strategy::BoxedStrategy<String> { "[a-z]{0,4}".prop_map(String::from).boxed() } #[cfg(any(test, feature = "testing"))] fn object_field_strategy() -> proptest::strategy::BoxedStrategy<IdentifierFieldName> { "[a-z]{1,3}".prop_map(|s| s.parse().unwrap()).boxed() } }

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