# scripts/setup_environment.py
import os
from dotenv import load_dotenv
def ensure_directories():
load_dotenv()
model_cache = os.getenv("MODEL_CACHE_DIR")
if model_cache:
os.makedirs(model_cache, exist_ok=True)
print(f"✅ Created or verified model cache directory: {model_cache}")
else:
print("⚠️ MODEL_CACHE_DIR is not set in .env")
if __name__ == "__main__":
ensure_directories()
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/Coder-RL/Claude_MCPServer_Dev1'
If you have feedback or need assistance with the MCP directory API, please join our Discord server