Skip to main content
Glama

RL-MCP

by rlefko
envs.pyโ€ข641 B
import os DEV = "dev" TEST = "test" NONPROD = "nonprod" PROD = "prod" # ENVs that run locally LOCAL_ENVS = {DEV, TEST} SQLITE_ENVS = {TEST} # ENVs that are hosted somewhere HOSTED_ENVS = {NONPROD, PROD} @staticmethod def get_env() -> str: """ Returns the current environment, defaulting to dev """ return os.environ.get("ENVIRONMENT", DEV) @staticmethod def is_prod() -> bool: """ Returns True if the current environment is prod """ return get_env() == PROD @staticmethod def is_nonprod() -> bool: """ Returns True if the current environment is not prod """ return get_env() != PROD

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/rlefko/rl-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server