Skip to main content
Glama

Convex MCP server

Official
by get-convex
try_chunks.rs577 B
use futures::{ Stream, TryStreamExt, }; /// Use this instead of `try_chunks` to pass through errors directly. /// TryStreamExt::try_chunks wraps errors which can lose stacktrace and context. pub trait TryChunksExt<T, E> { fn try_chunks2(self, cap: usize) -> impl Stream<Item = Result<Vec<T>, E>>; } impl<T, E, S: Stream<Item = Result<T, E>>> TryChunksExt<T, E> for S { fn try_chunks2(self, cap: usize) -> impl Stream<Item = Result<Vec<T>, E>> { #[allow(clippy::disallowed_methods)] TryStreamExt::try_chunks(self, cap).map_err(|e| e.1) } }

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