Skip to main content
Glama

Convex MCP server

Official
by get-convex
environment_variables.rs399 B
use anyhow::Context; use super::OpProvider; #[convex_macro::v8_op] pub fn op_environment_variables_get<'b, P: OpProvider<'b>>( provider: &mut P, name: String, ) -> anyhow::Result<Option<String>> { let name = name.parse()?; let environment_variable = provider.get_environment_variable(name)?; let value = environment_variable.map(|env_var| env_var.to_string()); Ok(value) }

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