A pytest-based framework for testing MCP (Model Context Protocol) servers. v1.0 ships an end-to-end test harness for one MCP tool (schema -> call -> Ollama-judged description quality -> output conformance) with a Typer CLI.
Or install with pip: pip install mcp-test-framework
README Excerpt
Pytest-native MCP contract testing — for any MCP server, configured via one ini line. ```bash uv add mcp-contracts uv sync ``` ```toml mcp_config_file = "./config.yaml" ``` ```bash uv run pytest ``` Library mode is the recommended way to run `mcp-contracts`. Declare one line in your `pyproject.toml`, write a minimal `config.yaml`, and every `pytest`