import sys
def clean_text(text):
# Replace literal \r\n with actual line breaks
return text.replace('\\n', '\n')
if __name__ == "__main__":
if len(sys.argv) > 1:
# If argument provided, use it as input
text = sys.argv[1]
print(clean_text(text))
else:
# If no argument, read from stdin
text = sys.stdin.read()
print(clean_text(text))
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/Jeff-Bouchard/emercoin-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server