We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Samuelr2112/mcp-project'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
compat.py•381 B
import sys
import inspect
from itertools import zip_longest
text_type = str
string_type = str
def with_str_method(cls):
# In python3, we don't need to do anything, we return a str type.
return cls
def with_repr_method(cls):
return cls
def get_methods(cls):
for name, method in inspect.getmembers(cls, predicate=inspect.isfunction):
yield name, method