Skip to main content
Glama

Convex MCP server

Official
by get-convex
debug.rs1.81 kB
use std::fmt; use flexbuffers::Buffer; use value::ConvexValue; use super::{ OpenedObject, OpenedValue, PackedValue, }; impl<B: Buffer> fmt::Debug for PackedValue<B> where B::BufferString: Clone, { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match ConvexValue::try_from(self.clone()) { Ok(v) => write!(f, "{v:?}"), Err(e) => write!(f, "OpenedValue(invalid: {e}"), } } } impl<B: Buffer> fmt::Display for PackedValue<B> where B::BufferString: Clone, { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match ConvexValue::try_from(self.clone()) { Ok(v) => write!(f, "{v}"), Err(e) => write!(f, "OpenedValue(invalid: {e}"), } } } impl<B: Buffer> fmt::Debug for OpenedValue<B> where B::BufferString: Clone, { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match ConvexValue::try_from(self.clone()) { Ok(v) => write!(f, "{v:?}"), Err(e) => write!(f, "OpenedValue(invalid: {e}"), } } } impl<B: Buffer> fmt::Display for OpenedValue<B> where B::BufferString: Clone, { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match ConvexValue::try_from(self.clone()) { Ok(v) => write!(f, "{v}"), Err(e) => write!(f, "OpenedValue(invalid: {e}"), } } } impl<B: Buffer> fmt::Debug for OpenedObject<B> where B::BufferString: Clone, { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "{:?}", OpenedValue::Object(self.clone())) } } impl<B: Buffer> fmt::Display for OpenedObject<B> where B::BufferString: Clone, { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "{}", OpenedValue::Object(self.clone())) } }

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