This directory verifies the 1.0 public contract: MCP 2026-07-28, the stable 8-domain/47-child capability surface, authentication and authorization, read-only execution, bounded results, transports, packaging, documentation, and optional real Doris integration.
The complete contributor workflow and gate definitions are maintained in Contributing and verification.
uv sync --group dev
Run the complete warning-clean suite:
uv run pytest -q -W error
Run focused release and documentation contracts while editing docs:
uv run pytest -q -W error \ test/test_documentation_system.py \ test/test_release_artifacts.py \ test/test_product_identity.py
uv run python generate_tool_catalog.py --check uv lock --check uv run ruff check . uv run mypy doris_mcp_server uv run bandit -q -c pyproject.toml -r doris_mcp_server generate_tool_catalog.py uv build
The generated tool registry is authoritative and must not be edited by hand.
Do not replace real boundary tests with mocks when the behavior depends on a transport, package artifact, process boundary, or Doris permission. Do not run destructive SQL against a shared cluster.
The opt-in process suite uses environment-provided Doris connection settings and exercises both stdio and Streamable HTTP through the formal 1.0 Tool surface. It verifies allowed reads, denied reads, query bounds, timeout and cancellation recovery, and capability behavior against the actual cluster.
Use only a least-privilege test account and follow the repository's current real-Doris test module instructions. Credentials belong in the environment or a secret manager, never in fixtures, logs, documentation, or commits.