Add MCP-specific Appwrite user agent#67
Conversation
Greptile SummaryThis PR centralizes the Appwrite SDK client header configuration into a shared
Confidence Score: 5/5Safe to merge — the change is limited to header construction helpers and their tests, with no effect on request logic, auth, or data handling. The refactoring is straightforward: a pure function replaces duplicated header-setting lines, all three client builders are updated consistently, and the new tests exercise each builder. The suffix-extraction logic correctly handles both the case where the SDK user-agent has a space-separated platform token and the case where it does not. No files require special attention. Important Files Changed
Reviews (2): Last reviewed commit: "Address MCP header helper review feedbac..." | Re-trigger Greptile |
Summary
AppwriteMCP/{SERVER_VERSION}while preserving SDK platform detailsTesting
uv run --group dev ruff check src testsuv run --group dev black --check src testsuv run --group dev pyrightuv run python -m unittest discover -s tests/unit -v