We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/debugmcpdev/mcp-debugger'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
with-errors.py•355 B
#!/usr/bin/env python3
"""Test script that throws exceptions"""
def divide(a, b):
return a / b # Line 4: Will throw ZeroDivisionError
def main():
x = 10 # Line 7
y = 0 # Line 8
result = divide(x, y) # Line 9: Error here
print(result) # Line 10: Never reached
return result # Line 11
if __name__ == "__main__":
main()