from pathlib import Path
from typing import Any
from cyclopts.config._common import ConfigFromFile
from cyclopts.exceptions import CoercionError
class Json(ConfigFromFile):
def _load_config(self, path: Path) -> dict[str, Any]:
import json
with path.open() as f:
try:
return json.load(f)
except json.JSONDecodeError as e:
raise CoercionError from e
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/asachs01/propublica-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server