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
/// Helper functions for encoding `Bytes`s as `String`s.
pub enum JsonBytes {}
impl JsonBytes {
/// Encode a binary string as a string.
pub fn encode(bytes: &Vec<u8>) -> String {
base64::encode(&bytes[..])
}
/// Decode a binary string from a string.
pub fn decode(s: String) -> anyhow::Result<Vec<u8>> {
Ok(base64::decode(s.as_bytes())?)
}
}