We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TheValverde/spacetraders-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
utils.py•314 B
import os
def get_spacetraders_api_key():
"""Get the SpaceTraders API key from environment variables."""
api_key = os.getenv("SPACETRADERS_API_KEY")
if not api_key:
raise ValueError("SPACETRADERS_API_KEY not found in environment variables. Please set it in your .env file.")
return api_key