We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ymyzk/nagoya-bus-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
"""Shared test fixtures."""
import json
from pathlib import Path
from typing import Any
import pytest
from tests.types import FixtureLoader
FIXTURE_DIR = Path(__file__).parent / "fixtures"
@pytest.fixture(scope="session")
def fixture_loader() -> FixtureLoader:
def _fixture_loader(name: str) -> Any: # noqa: ANN401
fixture_path = FIXTURE_DIR / name
with fixture_path.open("rb") as f:
return json.load(f)
return _fixture_loader