Skip to main content
Glama

stripe

Official
by stripe
env.py368 B
from os import getenv from dotenv import load_dotenv # Load the environment load_dotenv() def ensure(name: str) -> str: var = getenv(name) if not var: raise ValueError(f"Missing '{name}' environment variable") return var def get_or(name: str, default: str) -> str: var = getenv(name) if not var: return default return var

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/stripe/agent-toolkit'

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