Skip to main content
Glama
simple.pyโ€ข331 B
def calculate_factorial(n): """Calculate factorial of a number""" if n < 0: return None elif n == 0: return 1 else: result = 1 for i in range(1, n + 1): result *= i return result # Bug: Missing edge case handling for large numbers print(calculate_factorial(5))

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/david-strejc/sage-mcp'

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