Skip to main content
Glama

Convex MCP server

Official
by get-convex
user_error.rs996 B
use thiserror::Error; #[derive(Debug, Error)] #[error("{msg}")] pub struct ModuleNotFoundError { msg: String, } impl ModuleNotFoundError { pub fn new(module_path: &str) -> Self { let msg = format!( "Couldn't find JavaScript module '{module_path}'. Did you forget to run `npx convex \ dev` or `npx convex deploy`?", ); Self { msg } } } #[derive(Debug, Error)] #[error("{msg}")] pub struct FunctionNotFoundError { msg: String, } impl FunctionNotFoundError { pub fn new(function_name: &str, module_path: &str) -> Self { let msg = format!(r#"Couldn't find {function_name:?} in module {module_path:?}."#); Self { msg } } } #[derive(Debug, Error)] #[error("{msg}")] pub struct SystemModuleNotFoundError { msg: String, } impl SystemModuleNotFoundError { pub fn new(module_path: &str) -> Self { let msg = format!("Couldn't find system module '{module_path:?}'."); Self { msg } } }

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