Skip to main content
Glama

MCP Standards

by airmcp-com
test_basic.py1.72 kB
"""Basic smoke tests for MCP Standards""" import pytest import sys from pathlib import Path def test_python_version(): """Verify Python version is 3.10+""" assert sys.version_info >= (3, 10), "Python 3.10+ required" def test_import_mcp_standards(): """Verify main package can be imported""" try: import mcp_standards assert mcp_standards.__version__ == "0.1.0" except ImportError: pytest.skip("Package not installed in editable mode") def test_src_structure(): """Verify source directory structure exists""" src_dir = Path(__file__).parent.parent / "src" / "mcp_standards" assert src_dir.exists(), "src/mcp_standards directory should exist" assert (src_dir / "__init__.py").exists(), "__init__.py should exist" def test_pyproject_exists(): """Verify pyproject.toml exists""" pyproject = Path(__file__).parent.parent / "pyproject.toml" assert pyproject.exists(), "pyproject.toml should exist" def test_readme_exists(): """Verify README.md exists""" readme = Path(__file__).parent.parent / "README.md" assert readme.exists(), "README.md should exist" def test_license_exists(): """Verify LICENSE exists""" license_file = Path(__file__).parent.parent / "LICENSE" assert license_file.exists(), "LICENSE should exist" @pytest.mark.parametrize("doc_file", [ "README.md", "CONTRIBUTING.md", "LICENSE", "docs/guides/QUICKSTART.md", "docs/guides/SECURITY.md", "docs/technical/ARCHITECTURE.md", ]) def test_documentation_files(doc_file): """Verify documentation files exist""" doc_path = Path(__file__).parent.parent / doc_file assert doc_path.exists(), f"{doc_file} should exist"

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/airmcp-com/mcp-standards'

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