We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jezweb/australian-postcodes-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
utils.py•247 B
from typing import Any
from typing import Hashable
from typing import Mapping
from typing import Optional
def is_ref(item: Optional[Mapping[Hashable, Any]]) -> bool:
return isinstance(item, dict) and "$ref" in item and item["$ref"].__hash__