Skip to main content
Glama
test_glossary.py684 B
import sys from pathlib import Path ROOT = Path(__file__).resolve().parents[1] if str(ROOT) not in sys.path: sys.path.insert(0, str(ROOT)) from mcp_server.glossary import ( # noqa: E402 get_glossary_term, list_glossary_terms, ) def test_list_glossary_terms_contains_mci(): terms = list_glossary_terms() assert "mci" in terms assert "mcii" in terms def test_get_glossary_term_matches_aliases(): entry = get_glossary_term("MCIi") assert entry is not None assert entry["key"] == "mcii" assert "inhibitor" in entry["term"].lower() def test_get_glossary_term_returns_none_for_unknown(): assert get_glossary_term("unknown-term") is None

Latest Blog Posts

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/ndaniel/aurora-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server