We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/elphinsnow/mcp-remote-py'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
logging_utils.py•316 B
from __future__ import annotations
import os
import sys
from typing import Any
def log(*parts: Any) -> None:
"""Write logs to stderr only (stdout is reserved for MCP protocol)."""
pid = os.getpid()
msg = " ".join(str(p) for p in parts)
sys.stderr.write(f"[{pid}] {msg}\n")
sys.stderr.flush()