mcp-gee-sweet 0.9.3.dev29__tar.gz → 0.9.3.dev35__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mcp_gee_sweet-0.9.3.dev35/.github/workflows/publish.yml +94 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/CLAUDE.md +5 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/Dockerfile +5 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/PKG-INFO +7 -3
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/README.md +6 -2
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docker-compose.yml +6 -1
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/client-setup.md +7 -2
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/configuration.md +53 -6
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-publishing.md +1 -1
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/local-file-access-policy.md +1 -1
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/index.md +2 -1
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/infra.md +185 -1
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/roadmap.md +26 -27
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/.env.template +18 -2
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/__init__.py +5 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/auth.py +96 -5
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/cache.py +379 -115
- mcp_gee_sweet-0.9.3.dev35/src/mcp_gee_sweet/http_auth.py +206 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/local_files.py +25 -3
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/reauth.py +14 -14
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/server.py +19 -4
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/conftest.py +20 -1
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/drive/test_files.py +1 -1
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/sheets/test_data.py +3 -1
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/sheets/test_helpers.py +3 -3
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_cache.py +36 -34
- mcp_gee_sweet-0.9.3.dev35/tests/test_cache_isolation.py +809 -0
- mcp_gee_sweet-0.9.3.dev35/tests/test_http_auth.py +483 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_server.py +143 -2
- mcp_gee_sweet-0.9.3.dev29/.github/workflows/publish-dev.yml +0 -60
- mcp_gee_sweet-0.9.3.dev29/.github/workflows/release.yml +0 -72
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/cleanup-worktrees.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/merge-pr.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/notify-kai.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/notify-partner.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/orchestrator.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/prep-for-pr.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/qa-kickoff.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/release.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/retro.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/roadmap-status.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/security-advisory.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/start-worktree.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/team-member.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/verify-pr.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/settings.json +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/team-roles/amy.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/team-roles/aziz.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/team-roles/bob.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/team-roles/dev.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/team-roles/joy.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/team-roles/kai.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.claude/team-roles/qa.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.dockerignore +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.gitattributes +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.github/dependabot.yml +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.github/workflows/ci.yml +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.github/workflows/docs.yml +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.gitignore +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.pre-commit-config.yaml +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/.python-version +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/CHANGELOG.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/CODE_OF_CONDUCT.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/CONTRIBUTING.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/LICENSE +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/Makefile +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/SECURITY.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/assets/logo.png +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/auth.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-async-tool-execution.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-auth-status-limitation-categories.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-cache-invalidation.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-chart-theming.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-comments-first-class.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-composite-tools.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-condition-type-docstring-generation.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-converted-doc-change-detection.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-dev-team.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-docs-formatting.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-fork.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-gmail-domain.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-grid-data-size-cap.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-impact-reach-triage.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-local-fs-test-harness.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-mcp-v2-resource-context-access.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-pillow-image-dependency.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-prompt-qa-role.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-release-docs-roles.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-repositioning.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-response-size-cap-generalization.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-response-size-cap-reevaluation-519.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-review-finding-ticket-bar.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-supports-all-drives-lint-check.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-sync-folder-recursion.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-testing.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-tool-error-visibility.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/index.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/role-file-history.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/blockquote-representation.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/borderless-table-columns.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/doc-replace-backup.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/doc-revision-export.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/doc-to-markdown.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/docs-ast-pipeline.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/effectiveformat-spike.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/heading-anchor-resolution.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/image-conversion.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/image-share-lifecycle.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/index.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/markdown-support.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/module-history.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/oauth-reauthorize-from-tool-call.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/phase3-theme-system.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/sse-consent-off-event-loop.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/known-limitations.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/notes-read.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/README.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r01-meeting-notes.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r02-project-plan.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r03-spec-prd.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r04-readme.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r05-status-report.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r06-howto.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r07-comparison.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r08-research-summary.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r09-changelog.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r10-task-plan.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r11-incident-postmortem.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r12-interview-guide.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r13-api-reference.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r14-study-notes.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r15-travel-itinerary.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r16-planning-notes.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/state/theme.json +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-01-starts-bullets.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-02-starts-numbered.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-03-starts-table.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-04-starts-code.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-05-starts-quote.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-06-starts-image.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-07-starts-rule.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-08-ends-table.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-09-ends-list.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-10-empty.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-11-whitespace-only.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-12-no-trailing-newline.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-13-crlf-line-endings.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-14-front-matter.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-adjacency-blank.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-adjacency-noblank.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-blockquotes.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-breaks-rules.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-code-blocks.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-containment.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-emphasis.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-escapes.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-headings.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-images.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-inline-code.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-inline-html.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-inline-matrix.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-links.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-lists-blocks.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-lists-boundaries.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-lists-markers.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-lists-nesting.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-long-document.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-tables.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-tasks.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-unicode.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/qa-fixture-pixel.png +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-d195-create-doc.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-d196-create-doc.html +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-d213-dollar-escape.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-d226-heading-table.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc102-image-conversion.html +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc103-image-conversion.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc104-nested-lists.html +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc105-nested-lists-gfm.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc106-nested-lists-4space.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc135-paragraph-boundary.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc136-interrupted-block-boundary.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc137-inline-hr-no-block-ancestor.html +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc138-nbsp-spacer-paragraph.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc141-mismatched-list-tags.html +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc142-heading-anchors.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc144-anchor-in-table-cell.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc145-anchor-on-first-element.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures.template.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/gmail-test-plan.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/operations.yaml +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/playwright_oauth.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/.gitkeep +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-06-02.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-06-14.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-06-17.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-06-18.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-06-21-drive-discovery.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-06-21-sheets-delete-clear.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-06-28.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-07-04-docs.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-07-04-drive-smoke.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-07-04-infra.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-07-04-sheets_read.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-07-04.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-09-04.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-10-17-pass-audit.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-10-17-spec.txt +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-10-17.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-10-18-markdown.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/retro-v0.8.0.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/retro-v0.9.0.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/retro-v0.9.2.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/run.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/runs/README.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/runs/v0.8.0.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/runs/v0.8.1.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/runs/v0.9.0.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/runs/v0.9.1.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/runs/v0.9.2.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/setup.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/calendar.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/docs_content.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/docs_layout.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/docs_markdown.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/docs_style.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/docs_tables.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/drive_activity.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/drive_files.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/drive_sharing.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/drive_transfer.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/gmail.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/sheets_charts.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/sheets_mgmt.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/sheets_read.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/sheets_write.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/style-guide.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/tools.md +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/mkdocs.yml +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/pyproject.toml +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/pyrightconfig.json +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/scripts/check_supports_all_drives.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/scripts/gen_tool_docs.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/scripts/lane_context_hook.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/scripts/oauth_setup.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/scripts/qa_cancel_insert_local_images.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/scripts/qa_compile_results.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/scripts/qa_gen_md_fixtures.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/scripts/qa_gmail_fixtures.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/scripts/qa_revision_temp_doc_parent.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/scripts/setup_team.sh +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/scripts/write_team_mcp_configs.sh +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/server.json +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/http_transport.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/sse_shutdown.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/atomic_write.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/cache.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/calendar.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/concurrency.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/anchors.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/ast.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/ast_to_markdown.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/comments.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/content.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/doc_to_ast.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/editing.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/emitter.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/html_parser.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/images.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/indices.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/layout.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/markdown_export.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/named_ranges.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/style.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/tables.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/drive/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/drive/activity.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/drive/files.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/drive/sharing.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/drive/transfer.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/gmail.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/http_errors.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/mime_types.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/pagination.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/response_limits.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/sheets/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/sheets/data.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/sheets/helpers.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/sheets/structure.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/drive/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/drive/test_activity.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/drive/test_sharing.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/drive/test_transfer.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/fakes.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/integration/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/integration/conftest.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/integration/test_local_fs_harness.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/sheets/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/sheets/test_structure.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_atomic_write.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_auth.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_calendar.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_check_supports_all_drives.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_concurrency.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_anchors.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_comments.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_content.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_core.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_editing.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_images.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_indices.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_layout.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_markdown_export.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_named_ranges.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_revision_export.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_style.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_tables.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_gen_tool_docs.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_gmail.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_http_errors.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_http_transport.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_lane_context_hook.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_local_file_sites.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_local_files.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_mime_types.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_qa_gen_md_fixtures.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_qa_gmail_fixtures.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_reauth.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_response_limits.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_server_json.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_sse_shutdown.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/tests/test_team_mcp_configs.py +0 -0
- {mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/uv.lock +0 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# Every PyPI upload (dev and stable) comes from this one file. PyPI flags a
|
|
2
|
+
# release whose trusted-publisher workflow differs from the previous
|
|
3
|
+
# release's ("Change of provenance"), and a dev build always precedes a
|
|
4
|
+
# stable release, so the two tracks must share a workflow file (#1124).
|
|
5
|
+
# PyPI's trusted publisher is registered for this exact filename: don't
|
|
6
|
+
# rename it without registering the new name on PyPI first.
|
|
7
|
+
name: Publish
|
|
8
|
+
|
|
9
|
+
on:
|
|
10
|
+
# Dev track: every qualifying push to develop publishes a .devN version.
|
|
11
|
+
push:
|
|
12
|
+
branches: ["develop"]
|
|
13
|
+
paths:
|
|
14
|
+
- "src/**"
|
|
15
|
+
- "tests/**"
|
|
16
|
+
- "pyproject.toml"
|
|
17
|
+
- "uv.lock"
|
|
18
|
+
# Stable track: publishing a GitHub release publishes its tag's version.
|
|
19
|
+
release:
|
|
20
|
+
types: [published]
|
|
21
|
+
|
|
22
|
+
permissions:
|
|
23
|
+
contents: read # default minimal; pypi-publish job overrides with id-token: write
|
|
24
|
+
|
|
25
|
+
jobs:
|
|
26
|
+
test:
|
|
27
|
+
name: Run tests
|
|
28
|
+
runs-on: ubuntu-latest
|
|
29
|
+
steps:
|
|
30
|
+
- uses: actions/checkout@v7
|
|
31
|
+
with:
|
|
32
|
+
fetch-depth: 0 # full history so uv-dynamic-versioning can read tags
|
|
33
|
+
|
|
34
|
+
- name: Install uv
|
|
35
|
+
uses: astral-sh/setup-uv@v10.3.0
|
|
36
|
+
|
|
37
|
+
- name: Set up Python 3.12
|
|
38
|
+
run: uv python install 3.12
|
|
39
|
+
|
|
40
|
+
- name: Install dependencies
|
|
41
|
+
run: uv sync --frozen --all-extras --dev --python 3.12
|
|
42
|
+
|
|
43
|
+
- name: Run tests
|
|
44
|
+
run: uv run python -m pytest --tb=short
|
|
45
|
+
|
|
46
|
+
build:
|
|
47
|
+
name: Build distribution
|
|
48
|
+
runs-on: ubuntu-latest
|
|
49
|
+
needs: test
|
|
50
|
+
steps:
|
|
51
|
+
- uses: actions/checkout@v7
|
|
52
|
+
with:
|
|
53
|
+
fetch-depth: 0 # full history so uv-dynamic-versioning can read tags
|
|
54
|
+
|
|
55
|
+
- name: Install uv
|
|
56
|
+
uses: astral-sh/setup-uv@v10.3.0
|
|
57
|
+
|
|
58
|
+
- name: Set up Python 3.12
|
|
59
|
+
run: uv python install 3.12
|
|
60
|
+
|
|
61
|
+
- name: Install dependencies
|
|
62
|
+
run: uv sync --frozen --all-extras --dev --python 3.12
|
|
63
|
+
|
|
64
|
+
- name: Build package
|
|
65
|
+
run: uv build
|
|
66
|
+
|
|
67
|
+
- name: Upload distribution
|
|
68
|
+
uses: actions/upload-artifact@v7
|
|
69
|
+
with:
|
|
70
|
+
name: dists
|
|
71
|
+
path: dist/
|
|
72
|
+
|
|
73
|
+
pypi-publish:
|
|
74
|
+
name: Upload to PyPI
|
|
75
|
+
runs-on: ubuntu-latest
|
|
76
|
+
needs: build
|
|
77
|
+
permissions:
|
|
78
|
+
id-token: write # for OIDC trusted publishing
|
|
79
|
+
|
|
80
|
+
steps:
|
|
81
|
+
- name: Download dists
|
|
82
|
+
uses: actions/download-artifact@v8
|
|
83
|
+
with:
|
|
84
|
+
name: dists
|
|
85
|
+
path: dist/
|
|
86
|
+
|
|
87
|
+
- name: Publish to PyPI
|
|
88
|
+
uses: pypa/gh-action-pypi-publish@v1.14.2
|
|
89
|
+
with:
|
|
90
|
+
# At distance 0 from a tag the dev track builds the bare stable
|
|
91
|
+
# version (e.g. develop fast-forwarded onto a release tag that
|
|
92
|
+
# carried a hotfix), which the release run already uploaded. Skip
|
|
93
|
+
# that duplicate on push; a stable release still fails loudly.
|
|
94
|
+
skip-existing: ${{ github.event_name == 'push' }}
|
|
@@ -84,6 +84,11 @@ Each entry below says what a module owns and the invariants a future edit could
|
|
|
84
84
|
- Blockquote nodes get a gray `borderLeft` and `indentStart` = `indentFirstLine` = 36pt × depth (`indentFirstLine` is absolute, not relative to `indentStart`). `createParagraphBullets` overwrites both indents, so a quoted `BulletItem`'s request runs after the whole bullet pass and before the table/image inserts, at the list level's own indents (`list_level_indents`, level capped at 8 as Docs caps `nestingLevel`) plus the quote's. Every position used after the bullet pass maps through `_after_bullet_pass`. `doc_to_ast.py` subtracts the level's indent when inferring depth.
|
|
85
85
|
- A code-styled paragraph's internal `"\n"` breaks become `"\v"` (`_is_code_paragraph`) so a fenced block stays one Docs paragraph; `doc_to_ast.py` reverses it.
|
|
86
86
|
- `tools/cache.py` — `refresh_cache`, `set_cache_ttl`/`get_cache_ttl` (runtime TTL change, no restart needed)
|
|
87
|
+
- `cache.py` — the five SQLite caches (GHSA-8jqx-w7j8-6xwm). Invariants:
|
|
88
|
+
- Every read and store filters on the instance's fixed `principal` (the Google identity, bound by `auth.ensure_cache_principal` from `reauth.before_call` and `_build_context`); unbound, reads miss and stores do nothing. Invalidation (`mark_dirty`, `_mark_dirty_prefix`, `mark_all_dirty`) deliberately doesn't filter, so a change reaches every identity's copy; only TTL expiry marks just the own row. Rebinding replaces all five instances (`auth._bind_caches`), never mutates one, so an in-flight fetch stores under the identity it fetched as. The replacement shares the old instance's `_Invalidations`, so #698's epoch guard spans the rebind; keep invalidation state on that object, never on the instance. A new read or write goes through `_fetch_row`/`_replace`/`_store_if_fresh`.
|
|
89
|
+
- A cache's connection opens at first use (the `_conn` property), not at construction. A context's default (unbound) instances are replaced by bound ones once the identity resolves, so they open the DB only if it never does (their `mark_dirty` still writes). A replaced instance is left for its in-flight fetch and closes its connection in `__del__`. No `chmod(follow_symlinks=False)`: it raises `NotImplementedError` on glibc < 2.32; check with `lstat`, then a plain `chmod` (`_chmod_own_file`).
|
|
90
|
+
- `fetch_sheets` serves a stale entry only on a transient error (`_is_transient`: 5xx, 429, transport). A 403/404 is Google's answer and must propagate; a `RefreshError` must reach #873's path.
|
|
91
|
+
- The default DB is in the user's own cache directory (`default_db_path`, pure at import); `_prepare` creates it `0700` and the files `0600`, and refuses another user's or a symlinked one (`_CacheFileRefused`, which `_open` answers with `:memory:`, never by deleting). A schema change bumps `_SCHEMA_VERSION`, which drops and recreates the table.
|
|
87
92
|
- `tools/calendar.py` — Calendar API tools
|
|
88
93
|
- `local_files.py` — the local-file access policy, `LOCAL_FILE_ACCESS=full|roots|off` (#796, `docs/design/local-file-access-policy.md`). Resolved once at import from env and argv (`cli_transport`, shared with `main()`): the default is `full` under stdio and `off` otherwise, and `_timed`'s `request_over_http` tripwire refuses a defaulted `full` that reaches an HTTP request. Invariants:
|
|
89
94
|
- Every local read or write a tool makes goes through `check_read`/`check_write`, *before* any `stat` of the path, so a refusal reads the same whether or not the path exists. The check returns the resolved path. Where a site uses it (`_upload_local_file`'s upload, `_read_doc_source_file`, `import_csv_to_sheet`, Gmail attachments) it narrows the window before the I/O; writes keep the caller's path, since `_write_atomically` resolves a symlinked destination itself. Neither closes the check-then-use race, which is a documented known limitation. Take a filename or suffix from the caller's own spelling, so a symlink keeps its link name. A malformed path (a NUL byte) is a `LocalFileAccessError` too, so a per-item site fails only that item.
|
|
@@ -42,4 +42,9 @@ COPY --from=builder /app/dist/*.whl /app/
|
|
|
42
42
|
|
|
43
43
|
RUN uv pip install /app/*.whl
|
|
44
44
|
|
|
45
|
+
# Listen on every interface so a published port reaches the server. A non-loopback
|
|
46
|
+
# address needs MCP_SERVER_TOKEN, so a container started without one refuses to
|
|
47
|
+
# start instead of serving unauthenticated.
|
|
48
|
+
ENV HOST=0.0.0.0
|
|
49
|
+
|
|
45
50
|
CMD ["uv", "run", "mcp-gee-sweet", "--transport", "sse"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: mcp-gee-sweet
|
|
3
|
-
Version: 0.9.3.
|
|
3
|
+
Version: 0.9.3.dev35
|
|
4
4
|
Summary: MCP server for Google Workspace — Sheets, Drive, Docs (HTML or Markdown), Calendar, and Gmail.
|
|
5
5
|
Project-URL: Homepage, https://github.com/khuisman/mcp-gee-sweet
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/khuisman/mcp-gee-sweet/issues
|
|
@@ -98,12 +98,13 @@ Use Docker when you want a single long-running server that multiple clients conn
|
|
|
98
98
|
```bash
|
|
99
99
|
git clone https://github.com/khuisman/mcp-gee-sweet.git
|
|
100
100
|
cd mcp-gee-sweet
|
|
101
|
+
echo "MCP_SERVER_TOKEN=$(python3 -c 'import secrets; print(secrets.token_urlsafe(32))')" >> .env
|
|
101
102
|
make build # build the container image
|
|
102
103
|
make start # start the server (SSE on port 47000)
|
|
103
104
|
make logs # tail logs
|
|
104
105
|
```
|
|
105
106
|
|
|
106
|
-
Point your MCP client at `http://localhost:47000/sse`.
|
|
107
|
+
Point your MCP client at `http://localhost:47000/sse`, sending the token from `.env` as an `Authorization: Bearer <token>` header (see the SSE config below). The server rejects any request without it. Without Docker, `--transport sse` and `--transport streamable-http` listen on `127.0.0.1` only, and need `MCP_SERVER_TOKEN` to serve on any other address; see [HTTP transport authentication](https://khuisman.github.io/mcp-gee-sweet/latest/configuration/#http-transport-authentication).
|
|
107
108
|
|
|
108
109
|
> **Note:** when using SSE, all clients share one server process. After a code change or restart (`make restart`), you must also restart each MCP client to reconnect.
|
|
109
110
|
|
|
@@ -149,7 +150,10 @@ Service accounts (recommended for headless server deployments, see Option B abov
|
|
|
149
150
|
"mcpServers": {
|
|
150
151
|
"mcp-gee-sweet": {
|
|
151
152
|
"transport": "sse",
|
|
152
|
-
"url": "http://localhost:47000/sse"
|
|
153
|
+
"url": "http://localhost:47000/sse",
|
|
154
|
+
"headers": {
|
|
155
|
+
"Authorization": "Bearer <token>"
|
|
156
|
+
}
|
|
153
157
|
}
|
|
154
158
|
}
|
|
155
159
|
}
|
|
@@ -63,12 +63,13 @@ Use Docker when you want a single long-running server that multiple clients conn
|
|
|
63
63
|
```bash
|
|
64
64
|
git clone https://github.com/khuisman/mcp-gee-sweet.git
|
|
65
65
|
cd mcp-gee-sweet
|
|
66
|
+
echo "MCP_SERVER_TOKEN=$(python3 -c 'import secrets; print(secrets.token_urlsafe(32))')" >> .env
|
|
66
67
|
make build # build the container image
|
|
67
68
|
make start # start the server (SSE on port 47000)
|
|
68
69
|
make logs # tail logs
|
|
69
70
|
```
|
|
70
71
|
|
|
71
|
-
Point your MCP client at `http://localhost:47000/sse`.
|
|
72
|
+
Point your MCP client at `http://localhost:47000/sse`, sending the token from `.env` as an `Authorization: Bearer <token>` header (see the SSE config below). The server rejects any request without it. Without Docker, `--transport sse` and `--transport streamable-http` listen on `127.0.0.1` only, and need `MCP_SERVER_TOKEN` to serve on any other address; see [HTTP transport authentication](https://khuisman.github.io/mcp-gee-sweet/latest/configuration/#http-transport-authentication).
|
|
72
73
|
|
|
73
74
|
> **Note:** when using SSE, all clients share one server process. After a code change or restart (`make restart`), you must also restart each MCP client to reconnect.
|
|
74
75
|
|
|
@@ -114,7 +115,10 @@ Service accounts (recommended for headless server deployments, see Option B abov
|
|
|
114
115
|
"mcpServers": {
|
|
115
116
|
"mcp-gee-sweet": {
|
|
116
117
|
"transport": "sse",
|
|
117
|
-
"url": "http://localhost:47000/sse"
|
|
118
|
+
"url": "http://localhost:47000/sse",
|
|
119
|
+
"headers": {
|
|
120
|
+
"Authorization": "Bearer <token>"
|
|
121
|
+
}
|
|
118
122
|
}
|
|
119
123
|
}
|
|
120
124
|
}
|
|
@@ -5,10 +5,15 @@ services:
|
|
|
5
5
|
target: builder
|
|
6
6
|
command: ["uv", "run", "mcp-gee-sweet", "--transport", "sse", "--reload"]
|
|
7
7
|
ports:
|
|
8
|
-
|
|
8
|
+
# Published on loopback only; the container still listens on 0.0.0.0 so the
|
|
9
|
+
# port mapping reaches it, which is why it needs MCP_SERVER_TOKEN.
|
|
10
|
+
- "127.0.0.1:47000:8000"
|
|
9
11
|
environment:
|
|
10
12
|
- HOST=0.0.0.0
|
|
11
13
|
- PORT=8000
|
|
14
|
+
# From .env next to this file; when that leaves it empty, the server reads
|
|
15
|
+
# src/mcp_gee_sweet/.env instead. Unset in both, it refuses to start.
|
|
16
|
+
- MCP_SERVER_TOKEN=${MCP_SERVER_TOKEN}
|
|
12
17
|
- DEBUG_LEVEL=${DEBUG_LEVEL:-DEBUG}
|
|
13
18
|
- SERVICE_ACCOUNT_PATH=/run/secrets/service_account
|
|
14
19
|
- DRIVE_FOLDER_ID=${DRIVE_FOLDER_ID}
|
|
@@ -32,19 +32,24 @@ Before the first connection, log in once from a terminal with the same paths: `C
|
|
|
32
32
|
|
|
33
33
|
### SSE — Docker
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
The container serves over the network interface, so it needs a bearer token (see [HTTP transport authentication](configuration.md#http-transport-authentication)). Put `MCP_SERVER_TOKEN=<token>` in a `.env` file next to `docker-compose.yml`, start the server (`make start`), then point Claude Desktop at the SSE endpoint with the same token:
|
|
36
36
|
|
|
37
37
|
```json
|
|
38
38
|
{
|
|
39
39
|
"mcpServers": {
|
|
40
40
|
"mcp-gee-sweet": {
|
|
41
41
|
"transport": "sse",
|
|
42
|
-
"url": "http://localhost:47000/sse"
|
|
42
|
+
"url": "http://localhost:47000/sse",
|
|
43
|
+
"headers": {
|
|
44
|
+
"Authorization": "Bearer <token>"
|
|
45
|
+
}
|
|
43
46
|
}
|
|
44
47
|
}
|
|
45
48
|
}
|
|
46
49
|
```
|
|
47
50
|
|
|
51
|
+
For Claude Code: `claude mcp add --transport sse mcp-gee-sweet http://localhost:47000/sse --header "Authorization: Bearer <token>"`.
|
|
52
|
+
|
|
48
53
|
## Claude Code (this project's own MCP config)
|
|
49
54
|
|
|
50
55
|
The project runs two instances — one OAuth, one service account — defined in `.mcp.json` at the repo root. Claude Code picks these up automatically when you open the project.
|
|
@@ -15,13 +15,15 @@
|
|
|
15
15
|
| `ENABLED_TOOLS` | Comma-separated list of tool names to register | all tools |
|
|
16
16
|
| `LOCAL_FILE_ACCESS` | Which local files tools may read and write: `full`, `roots`, or `off`. See [Local file access](#local-file-access) | `full` under stdio, `off` under SSE and streamable HTTP |
|
|
17
17
|
| `LOCAL_FILE_ROOTS` | With `LOCAL_FILE_ACCESS=roots`, the directories tools may use, separated by `:` (`;` on Windows), like `PATH` | — |
|
|
18
|
-
| `CACHE_DB_PATH` | Path to the SQLite cache database |
|
|
18
|
+
| `CACHE_DB_PATH` | Path to the SQLite cache database (`:memory:` for none) | `mcp-gee-sweet/cache.db` in the user's cache directory (see [Caching](#caching)) |
|
|
19
19
|
| `CACHE_TTL` | Cache time-to-live in seconds. Also adjustable at runtime via the `set_cache_ttl` tool, no restart needed | `1800` (30 min) |
|
|
20
20
|
| `CACHE_VALIDATE_MODIFIED_TIME` | Validate sheet/doc cache hits against Drive's `modifiedTime` before serving them, catching edits from other sessions without waiting out the TTL. Costs one extra Drive API call per cache lookup | `true` |
|
|
21
21
|
| `MAX_TOOL_RESPONSE_CHARS` | Safety cap on response size, in characters, for tools that can return large inline payloads (`get_sheet_data`, `get_multiple_sheet_data`, `get_multiple_spreadsheet_summary`, `find_in_spreadsheet`, `get_doc_content`, `find_in_doc`, `list_doc_comments`, `list_file_activity`, `export_file`, `sync_folder`, `list_all_events`, `list_calendar_acl`, `get_message`, `get_thread`). Defense-in-depth against MCP clients that don't degrade gracefully on an oversized tool response — see [decision-response-size-cap-reevaluation-519.md](decisions/decision-response-size-cap-reevaluation-519.md) for why the default was raised and what it does and doesn't protect against | `1000000` |
|
|
22
22
|
| `LIST_ALL_EVENTS_MAX_CONCURRENCY` | Most calendars `list_all_events` queries at once, shared across every concurrent `list_all_events` call on the server, to stay under the Calendar API's per-user rate limit. Raise it for faster fan-out on accounts subscribed to many calendars; lower it for a stricter rate-limit posture. Values below 1 are treated as 1 | `20` |
|
|
23
|
-
| `HOST` (or `FASTMCP_HOST`) | Bind address for SSE
|
|
24
|
-
| `PORT` (or `FASTMCP_PORT`) | Port for SSE
|
|
23
|
+
| `HOST` (or `FASTMCP_HOST`) | Bind address for the SSE and streamable HTTP transports. `FASTMCP_HOST` is a fallback if `HOST` isn't set. Any address other than loopback needs `MCP_SERVER_TOKEN`. See [HTTP transport authentication](#http-transport-authentication) | `127.0.0.1` |
|
|
24
|
+
| `PORT` (or `FASTMCP_PORT`) | Port for the SSE and streamable HTTP transports. `FASTMCP_PORT` is a fallback if `PORT` isn't set | `8000` |
|
|
25
|
+
| `MCP_SERVER_TOKEN` | Bearer token every SSE and streamable HTTP request must send. See [HTTP transport authentication](#http-transport-authentication) | — |
|
|
26
|
+
| `ALLOW_UNAUTHENTICATED_HTTP` | `1` or `true` lets a non-loopback `HOST` serve with no token, for a deployment behind an authenticating reverse proxy. Ignored when `MCP_SERVER_TOKEN` is set | — |
|
|
25
27
|
| `DEBUG_LEVEL` | Logging level: `DEBUG`, `INFO`, `WARNING`, `ERROR` — controls package and access logs | — |
|
|
26
28
|
| `LOG_FILE` | Write server logs to this file path (requires `DEBUG_LEVEL`) | — |
|
|
27
29
|
| `ACCESS_LOG_FILE` | Write tool access logs to this file path (requires `DEBUG_LEVEL`) | — |
|
|
@@ -115,6 +117,44 @@ list_messages,get_message,list_threads,get_thread,list_labels,send_message,creat
|
|
|
115
117
|
|
|
116
118
|
See [Tools](tools.md) for the full list of tool names.
|
|
117
119
|
|
|
120
|
+
## HTTP transport authentication
|
|
121
|
+
|
|
122
|
+
Under `--transport sse` or `--transport streamable-http`, the server listens on `127.0.0.1` by default, so only this machine can reach it. stdio is unaffected by everything in this section.
|
|
123
|
+
|
|
124
|
+
To serve on any other address (`HOST=0.0.0.0`, a LAN address, a hostname), set `MCP_SERVER_TOKEN` to a long random value, for example from `python3 -c "import secrets; print(secrets.token_urlsafe(32))"`. Every request must then send it:
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
Authorization: Bearer <token>
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
A request with a missing or wrong token gets `401 Unauthorized` with `WWW-Authenticate: Bearer`, the same response either way. The server logs the client address and path of each rejected request, and never logs the token or the `Authorization` header. A token set on a loopback `HOST` is enforced there too.
|
|
131
|
+
|
|
132
|
+
**Refusing to start.** The server stops at startup, before it serves, with a one-line message naming the setting to fix when:
|
|
133
|
+
|
|
134
|
+
- `HOST` isn't a loopback address (`127.0.0.0/8`, `::1`, or `localhost`) and `MCP_SERVER_TOKEN` is unset or empty, or
|
|
135
|
+
- `ALLOW_UNAUTHENTICATED_HTTP` is set to anything other than `1` or `true`.
|
|
136
|
+
|
|
137
|
+
`mcp-gee-sweet auth` still runs either way.
|
|
138
|
+
|
|
139
|
+
**With no token, the server still fails closed per request**, however it was launched (`uvicorn mcp_gee_sweet.server:app` directly included). It serves a request only when the connection arrived on a loopback address and its `Host` header is `localhost` or a loopback IP such as `127.0.0.1` or `[::1]` (with or without a port), or, on a non-loopback `HOST`, when `ALLOW_UNAUTHENTICATED_HTTP` is `1` or `true`. Everything else gets the same `401`. The `Host` check stops a web page from reaching a local server through DNS rebinding. The first such rejection is logged as a warning naming `MCP_SERVER_TOKEN`, and later ones only at `DEBUG`.
|
|
140
|
+
|
|
141
|
+
**Behind an authenticating reverse proxy**, set `ALLOW_UNAUTHENTICATED_HTTP=1` to serve a non-loopback `HOST` without a token. The server then accepts every request it receives, so make sure only the proxy can reach it. It also has no DNS-rebinding protection on a non-loopback `HOST`. The setting does nothing on a loopback `HOST`, and is ignored, with a warning, when `MCP_SERVER_TOKEN` is set.
|
|
142
|
+
|
|
143
|
+
**A proxy forwarding to a loopback `HOST`**, with or without a token, must pass `Host` as `localhost` or `127.0.0.1` (with the port). mcp checks the `Host` and `Origin` headers itself when `HOST` is `127.0.0.1`, `localhost` or `::1`, and answers anything else with `421 Invalid Host header`; with no token, the server also answers `401` to a `Host` that isn't `localhost` or a loopback IP.
|
|
144
|
+
|
|
145
|
+
**Docker.** The image sets `HOST=0.0.0.0` so a published port reaches the server, so a container needs `MCP_SERVER_TOKEN`:
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
docker run --rm -p 127.0.0.1:8000:8000 \
|
|
149
|
+
-e MCP_SERVER_TOKEN=<token> \
|
|
150
|
+
-e CREDENTIALS_CONFIG=<base64> \
|
|
151
|
+
mcp-gee-sweet
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
`docker-compose.yml` reads `MCP_SERVER_TOKEN` from a `.env` file next to it, falling back to `src/mcp_gee_sweet/.env` when that one doesn't set it, and publishes port 47000 on `127.0.0.1` only. See [Client Setup](client-setup.md#sse-docker) for the matching client config.
|
|
155
|
+
|
|
156
|
+
A token doesn't change [local file access](#local-file-access): an HTTP transport still defaults to `off`.
|
|
157
|
+
|
|
118
158
|
## Local file access
|
|
119
159
|
|
|
120
160
|
Some tools read or write files on the machine the server runs on: uploads, downloads, `sync_folder`, `create_doc_from_file`, Gmail attachments, local images in Markdown, and the `local_path` destination that large results can be written to. `LOCAL_FILE_ACCESS` decides which files they may use:
|
|
@@ -127,7 +167,7 @@ Some tools read or write files on the machine the server runs on: uploads, downl
|
|
|
127
167
|
|
|
128
168
|
**Default:** `full` under stdio, where the caller is the person running the server, and `off` under SSE and streamable HTTP, where it may not be. A network-facing server that should use local files needs `LOCAL_FILE_ACCESS` set explicitly.
|
|
129
169
|
|
|
130
|
-
**Always refused, in every mode:** the server's own credential, config, cache, and log files. That's `CREDENTIALS_PATH`, `TOKEN_PATH`, `SERVICE_ACCOUNT_PATH`, `GOOGLE_APPLICATION_CREDENTIALS`, gcloud's default ADC file, `src/mcp_gee_sweet/.env`, `CACHE_DB_PATH` (and its `-wal`/`-shm` files), `LOG_FILE`, and `ACCESS_LOG_FILE`. A file is matched by identity, so a hardlink or a differently cased path to one of them is refused too.
|
|
170
|
+
**Always refused, in every mode:** the server's own credential, config, cache, and log files. That's `CREDENTIALS_PATH`, `TOKEN_PATH`, `SERVICE_ACCOUNT_PATH`, `GOOGLE_APPLICATION_CREDENTIALS`, gcloud's default ADC file, `src/mcp_gee_sweet/.env`, `CACHE_DB_PATH` (and its `-wal`/`-shm` files; with the default location, the whole `mcp-gee-sweet` cache directory), the pre-0.9.3 cache `/tmp/mcp_gee_sweet.db` (and its `-wal`/`-shm` files), `LOG_FILE`, and `ACCESS_LOG_FILE`. A file is matched by identity, so a hardlink or a differently cased path to one of them is refused too.
|
|
131
171
|
|
|
132
172
|
**In `off` mode** these tools aren't registered, since they can only work on local files: `upload_local_file`, `upload_local_folder`, `download_file`, `download_folder`, `sync_folder`, `import_csv_to_sheet`, `create_doc_from_file`, `update_doc_from_file`, and `insert_local_images`. Tools with an optional local path stay registered and return an error if one is used. That covers `local_path` on large-result tools, Gmail's `attachments[].local_path` (`content_base64` still works), and local image paths in `create_doc`/`write_doc_content` content, which fail per image while the doc is still written.
|
|
133
173
|
|
|
@@ -138,8 +178,9 @@ During a folder walk (`upload_local_folder`, `download_folder`, `sync_folder`),
|
|
|
138
178
|
Docker example, with the host's `./data` directory as the only one tools may use:
|
|
139
179
|
|
|
140
180
|
```bash
|
|
141
|
-
docker run --rm -p 8000:8000 \
|
|
181
|
+
docker run --rm -p 127.0.0.1:8000:8000 \
|
|
142
182
|
-v "$PWD/data:/data" \
|
|
183
|
+
-e MCP_SERVER_TOKEN=<token> \
|
|
143
184
|
-e LOCAL_FILE_ACCESS=roots \
|
|
144
185
|
-e LOCAL_FILE_ROOTS=/data \
|
|
145
186
|
-e CREDENTIALS_CONFIG=<base64> \
|
|
@@ -157,4 +198,10 @@ The server caches responses in a local SQLite database to reduce API calls and l
|
|
|
157
198
|
- Change-based invalidation: for sheet structure/data and doc content (the namespaces keyed by a single Drive file), a cache hit is checked against that file's live `modifiedTime` before being served — an edit from another session or tab invalidates the entry immediately instead of waiting out the TTL. Controlled by `CACHE_VALIDATE_MODIFIED_TIME` (default `true`); disable it if the extra Drive API call per lookup isn't worth the freshness guarantee for your usage pattern. Not applied to Drive folder listings (a folder's own `modifiedTime` doesn't change when its children do) or calendar metadata (no comparable field via the Calendar API)
|
|
158
199
|
- Scoped flush: `refresh_cache` accepts a `spreadsheet_id`, `doc_id`, `folder_id`, or `calendar_id` to invalidate only that resource; omit all params to flush everything
|
|
159
200
|
|
|
160
|
-
The DB
|
|
201
|
+
The DB lives in the user's own cache directory by default: `~/.cache/mcp-gee-sweet/cache.db` on Linux (or under an absolute `$XDG_CACHE_HOME`), `~/Library/Caches/mcp-gee-sweet/cache.db` on macOS, and `%LOCALAPPDATA%\mcp-gee-sweet\cache.db` on Windows. In the Docker image that's `/root/.cache/mcp-gee-sweet/cache.db`. Set `CACHE_DB_PATH` to use another file (an empty value counts as unset), for example one on a volume so the cache survives container restarts, or `:memory:` for no file at all.
|
|
202
|
+
|
|
203
|
+
The cache directory is created owner-only (`0700`) and the DB and its `-wal`/`-shm` files are `0600`; an existing default directory with looser permissions is tightened. An explicit `CACHE_DB_PATH`'s files get the same `0600`, but its directory is left as it is. A cache directory or file owned by another user, or a symlink in place of one, isn't used: the server warns and caches in memory instead. The same happens when there's no home directory to put the cache in, e.g. a container run with `--user` and no home.
|
|
204
|
+
|
|
205
|
+
Each entry is stored under the Google identity it was fetched as (the account's Drive permission ID, or a service account's email when Drive can't say), so two accounts sharing one DB file never see each other's entries. Invalidation isn't per identity: `refresh_cache` and a write's invalidation reach every identity's copy. Until the server has read the identity (at connection start, retried on every tool call), nothing is cached. A cached sheet list is served stale only when Google couldn't answer (a 5xx, a 429, or a network failure), never in place of a refusal such as a 403 or 404.
|
|
206
|
+
|
|
207
|
+
Versions up to 0.9.2 kept the cache in `/tmp/mcp_gee_sweet.db`, readable by every local user. The server never reads that file again; on start-up with `CACHE_DB_PATH` unset it makes the file owner-only if it's yours, but doesn't delete it. Delete `/tmp/mcp_gee_sweet.db` and its `-wal`/`-shm` files yourself.
|
{mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-publishing.md
RENAMED
|
@@ -18,7 +18,7 @@ Status: **draft / under consideration**
|
|
|
18
18
|
| Edge | `edge` | `1.2.3.dev20260524` | Contributors, early adopters |
|
|
19
19
|
|
|
20
20
|
### Stable track
|
|
21
|
-
- Triggered by a GitHub release being published (
|
|
21
|
+
- Triggered by a GitHub release being published (`release.yml` handled this when this proposal was written; since #1124, both the stable and dev tracks publish from `.github/workflows/publish.yml`, so PyPI sees one trusted-publisher workflow and doesn't flag a "Change of provenance")
|
|
22
22
|
- Requires tests to pass before build (added in this PR)
|
|
23
23
|
- Semantic versioning: `MAJOR.MINOR.PATCH`
|
|
24
24
|
- Promotion path: `edge` → RC tag on edge → verify → merge to `main` → tag stable release
|
{mcp_gee_sweet-0.9.3.dev29 → mcp_gee_sweet-0.9.3.dev35}/docs/design/local-file-access-policy.md
RENAMED
|
@@ -84,7 +84,7 @@ check_read(path) / check_write(path):
|
|
|
84
84
|
| `Path(mcp_gee_sweet.__file__).parent / ".env"` | runtime config, may hold `CREDENTIALS_CONFIG` (decision) |
|
|
85
85
|
| `GOOGLE_APPLICATION_CREDENTIALS`, when set | an ADC key file: the same class of secret as `SERVICE_ACCOUNT_PATH` |
|
|
86
86
|
| gcloud's default ADC file: `$CLOUDSDK_CONFIG/application_default_credentials.json`, else `~/.config/gcloud/…` (POSIX) or `%APPDATA%\gcloud\…` (Windows) | ADC's fallback when `GOOGLE_APPLICATION_CREDENTIALS` is unset; a user refresh token |
|
|
87
|
-
| `CACHE_DB_PATH` and its SQLite WAL sidecars (`-wal`, `-shm`; `cache.py` sets `journal_mode=WAL`) | reading exposes cached Drive/Sheets/Docs data; overwriting corrupts the cache |
|
|
87
|
+
| `CACHE_DB_PATH` and its SQLite WAL sidecars (`-wal`, `-shm`; `cache.py` sets `journal_mode=WAL`). With the default location, the whole `mcp-gee-sweet` cache directory (`Policy.deny_dirs`), since only the server writes there. Also the pre-0.9.3 default `/tmp/mcp_gee_sweet.db` and its sidecars, which stay on disk (GHSA-8jqx-w7j8-6xwm) | reading exposes cached Drive/Sheets/Docs data; overwriting corrupts the cache |
|
|
88
88
|
| `LOG_FILE`, `ACCESS_LOG_FILE`, when set | a download could overwrite or truncate them (plain `FileHandler`, no rotated copies to cover) |
|
|
89
89
|
|
|
90
90
|
Entries are included whether or not the file exists yet; an unset optional entry is skipped.
|
|
@@ -33,7 +33,8 @@ Known gaps (full comments CRUD, conditional formatting, protected ranges, multi-
|
|
|
33
33
|
uv run mcp-gee-sweet
|
|
34
34
|
|
|
35
35
|
# Docker
|
|
36
|
-
docker run --rm -p 8000:8000 \
|
|
36
|
+
docker run --rm -p 127.0.0.1:8000:8000 \
|
|
37
|
+
-e MCP_SERVER_TOKEN=<token> \
|
|
37
38
|
-e CREDENTIALS_CONFIG=<base64-service-account> \
|
|
38
39
|
-e DRIVE_FOLDER_ID=<folder-id> \
|
|
39
40
|
mcp-gee-sweet
|
|
@@ -26,6 +26,7 @@ Most infrastructure behaviours are verified by unit tests rather than live QA pr
|
|
|
26
26
|
| TC-I25, I26 (MCP resources reach lifespan context, issue #363; mechanism changed under mcp v2, issue #175) | Unit-tested in `tests/test_server.py::TestResourcesReadLifespanContext` (monkeypatches `auth.get_lifespan_context()` for the static `server://auth-status` resource, passes a fake `ctx: Context` directly for the template `spreadsheet://{id}/info` resource — mcp v2's `MCPServer` dropped `get_context()` with no replacement for static resources, confirmed live against mcp==2.0.0). ✅ Live re-verified post-migration against the real SDK — see Result entries below |
|
|
27
27
|
| TC-I29 (`server.json` registry manifest, issue #586) | Not reachable via any MCP tool or prompt — `server.json` is a static repo-root manifest consumed by the external `mcp-publisher` CLI and the official MCP registry, not the running server. Identity/consistency (name, PyPI identifier, `mcp-name` marker) is unit-tested in `tests/test_server_json.py`. Manual / live QA only — verify once, after each stable release that changes `server.json`'s `version` — see TC-I29 below |
|
|
28
28
|
| TC-I41, I42 (lane context-size hook, issue #847) | `scripts/lane_context_hook.py` is a Claude Code hook, not an MCP tool. Transcript parsing, lane scoping, warning bands and resume gating are unit-tested in `tests/test_lane_context_hook.py`. Live QA runs a headless `claude -p` session from a lane worktree with `--include-hook-events`, so the hook's real input and output are visible in the stream |
|
|
29
|
+
| TC-I66 (single publish workflow, issue #1124) | Not reachable via any MCP tool or unit test: it checks a GitHub Actions run and PyPI's attestation record. Manual / live QA only, once after #1124 merges and once at the next stable release — see TC-I66 below |
|
|
29
30
|
|
|
30
31
|
---
|
|
31
32
|
|
|
@@ -81,7 +82,7 @@ Set `CACHE_DB_PATH=/tmp/qa_test_cache.db` and restart the server.
|
|
|
81
82
|
|
|
82
83
|
**Checks**
|
|
83
84
|
- File `/tmp/qa_test_cache.db` is created (check with `ls /tmp/qa_test_cache.db`)
|
|
84
|
-
-
|
|
85
|
+
- The default path (`mcp-gee-sweet/cache.db` in the user's cache directory; `/tmp/mcp_gee_sweet.db` before 0.9.3) is NOT used
|
|
85
86
|
- Restore `CACHE_DB_PATH` to default after this test
|
|
86
87
|
|
|
87
88
|
**Result (2026-09-04) ⏭️ SKIP**
|
|
@@ -1751,6 +1752,166 @@ Needs SSE, a LOCAL_FILE_ACCESS change, an invalid startup setting, or an HTTP tr
|
|
|
1751
1752
|
|
|
1752
1753
|
---
|
|
1753
1754
|
|
|
1755
|
+
### TC-I61: with `MCP_SERVER_TOKEN` set, SSE and streamable HTTP reject every request without the bearer token (GHSA-mpw3-mr4r-6cqh) ⚠️ local-filesystem
|
|
1756
|
+
|
|
1757
|
+
**Background:** the SSE and streamable HTTP transports used to accept any request, on every interface by default, so a network peer could call every tool as the configured Google identity. `BearerAuth` (`http_auth.py`) now sits inside `SingleResponseGuard` on both apps (`server.app` and `_streamable_http_app()`), and checks every HTTP request against `MCP_SERVER_TOKEN`. A missing and a wrong token get the same 401. The token is read per request and never logged. The same wrapping covers `--reload`, which serves those apps by import string.
|
|
1758
|
+
|
|
1759
|
+
**Setup:** a token `T` from `python3 -c "import secrets; print(secrets.token_urlsafe(32))"`. A free port. Google access isn't needed: `AUTH_METHOD=oauth` with a nonexistent `CREDENTIALS_PATH` and `TOKEN_PATH` starts degraded, which still answers `initialize` and `list_tools`. Find this machine's LAN address (`ipconfig getifaddr en0` on macOS). Run each server in its own process group, stdout and stderr to one log (`docs/qa/run.md` §"Running server-startup and CLI cases").
|
|
1760
|
+
|
|
1761
|
+
**Action**
|
|
1762
|
+
1. Start `uv run mcp-gee-sweet --transport sse` with `HOST=0.0.0.0`, `PORT=<port>`, `MCP_SERVER_TOKEN=T`, `AUTH_METHOD=oauth`, `CREDENTIALS_PATH=<nonexistent>`, `TOKEN_PATH=<nonexistent>`, `DEBUG_LEVEL=INFO`, `PYTHONUNBUFFERED=1`. Against `http://<LAN address>:<port>`, with `http.client` or `urllib`:
|
|
1763
|
+
a. `GET /sse` with no `Authorization` header
|
|
1764
|
+
b. `GET /sse` with `Authorization: Bearer wrong`
|
|
1765
|
+
c. `GET /sse` with `Authorization: Bearer T` followed by one extra character
|
|
1766
|
+
d. `POST /messages/?session_id=00000000000000000000000000000000` with no header
|
|
1767
|
+
e. With the SDK's `sse_client(url, headers={"Authorization": "Bearer T"})` + `ClientSession`: `initialize`, then `list_tools`
|
|
1768
|
+
f. Same as e with `"bearer T"` (lowercase scheme)
|
|
1769
|
+
SIGTERM the server.
|
|
1770
|
+
2. Start `uv run mcp-gee-sweet --transport streamable-http` with the same environment. Against `http://<LAN address>:<port>/mcp`:
|
|
1771
|
+
a. `POST /mcp` with a JSON-RPC `initialize` request and `Accept: application/json, text/event-stream`, with no `Authorization` header
|
|
1772
|
+
b. With the SDK's `streamable_http_client` and the `Authorization: Bearer T` header: `initialize`, then `list_tools`
|
|
1773
|
+
SIGTERM the server.
|
|
1774
|
+
3. Repeat step 1a and 1e once with `--transport sse --reload`.
|
|
1775
|
+
4. `grep -c` the token `T` in every log from steps 1–3.
|
|
1776
|
+
|
|
1777
|
+
**Checks**
|
|
1778
|
+
- 1a–1d, 2a: each gets `401` with `WWW-Authenticate: Bearer`, and 1a, 1b, 1c and 1d have byte-identical status, headers (apart from `date`) and body
|
|
1779
|
+
- 1e, 1f, 2b: `initialize` succeeds and `list_tools` returns the full tool list
|
|
1780
|
+
- 1: the log has one `Rejected an unauthenticated request` warning per rejected request, each naming the client's address and the path (`/sse`, `/messages/`), and no `Authorization` header value
|
|
1781
|
+
- 3: same as 1a (401) and 1e (tools listed) under the reloader
|
|
1782
|
+
- 4: `0` in every log
|
|
1783
|
+
|
|
1784
|
+
**Cleanup:** SIGTERM any server still running (by pid, never `pkill -f`). Delete the logs.
|
|
1785
|
+
|
|
1786
|
+
**Note for the probe:** an in-process probe of `server._streamable_http_app()` (Starlette `TestClient`) gets `401` with or without `MCP_SERVER_TOKEN`: with no token the middleware serves only a loopback local address (`scope["server"]`) naming a loopback `Host`, and `TestClient`'s default `testserver` is neither.
|
|
1787
|
+
|
|
1788
|
+
**Result (2026-10-19) ✅ PASS — Kit, GHSA-mpw3 fork PR #1 @ 46ce96b1**
|
|
1789
|
+
Real servers on `0.0.0.0`, driven over the LAN address, token from `secrets.token_urlsafe(32)`. Steps 1a–1d and a non-ASCII `Bearer é` header all got `401` + `WWW-Authenticate: Bearer`, and 1a–1d were byte-identical (status, headers minus `date`, body `Unauthorized`). 1e, 1f and 2b listed 130 tools. 2a got `401`. Under `--reload` (step 3), 401 without the header and 130 tools with it. The log had 5 `Rejected an unauthenticated request` warnings for 5 rejections, each naming the LAN client and `/sse` or `/messages/`, and no `Authorization` value. Step 4: the token appears in no log or stdout capture. Joy's in-process repro (`_streamable_http_app()`, LAN client and Host) got `401` on `initialize` and `tools/list`, with `MCP_SERVER_TOKEN` set and unset alike, 0 tools exposed.
|
|
1790
|
+
|
|
1791
|
+
**Result (2026-10-19) ✅ PASS — Kit, GHSA-mpw3 fork PR #1 @ 15638736 (round 2)**
|
|
1792
|
+
Steps 1–4 rerun on real servers after `BearerAuth` gained its `host` argument; every check matched round 1 (byte-identical `401`s, 130 tools for 1e/1f/2b and under `--reload`, one warning per rejection, token in no log).
|
|
1793
|
+
|
|
1794
|
+
---
|
|
1795
|
+
|
|
1796
|
+
### TC-I62: an HTTP transport on a non-loopback address with no token refuses to start; the default address is loopback (GHSA-mpw3-mr4r-6cqh) ⚠️ local-filesystem
|
|
1797
|
+
|
|
1798
|
+
**Background:** `main()` runs `http_auth.check_startup()` for `--transport sse` and `--transport streamable-http`, with or without `--reload`, before serving. A non-loopback `HOST` (anything but `127.0.0.0/8`, `::1` or `localhost`) with `MCP_SERVER_TOKEN` unset or blank stops the server, unless `ALLOW_UNAUTHENTICATED_HTTP` is `1` or `true`. Any other opt-out value stops it on every address. `HOST` now defaults to `127.0.0.1`. stdio and `mcp-gee-sweet auth` never run the check.
|
|
1799
|
+
|
|
1800
|
+
**Setup:** a free port for each step. `HOST`, `FASTMCP_HOST`, `MCP_SERVER_TOKEN` and `ALLOW_UNAUTHENTICATED_HTTP` unset in the environment and in `src/mcp_gee_sweet/.env`, except where a step sets them. `AUTH_METHOD=oauth`, nonexistent `CREDENTIALS_PATH`/`TOKEN_PATH`, `PYTHONUNBUFFERED=1`, stdout and stderr captured. Stop a server that starts with SIGTERM after 3 seconds.
|
|
1801
|
+
|
|
1802
|
+
**Action**
|
|
1803
|
+
1. `--transport sse` with `HOST=0.0.0.0`
|
|
1804
|
+
2. `--transport streamable-http --reload` with `HOST=0.0.0.0`, `MCP_SERVER_TOKEN=` (empty)
|
|
1805
|
+
3. `--transport sse` with `HOST=<LAN address>`, `MCP_SERVER_TOKEN=" "`
|
|
1806
|
+
4. `--transport sse` with `HOST=127.0.0.1`, `ALLOW_UNAUTHENTICATED_HTTP=yes`
|
|
1807
|
+
5. `--transport sse` with `HOST=0.0.0.0`, `ALLOW_UNAUTHENTICATED_HTTP=1`. While it runs, `GET http://127.0.0.1:<port>/sse` with no header
|
|
1808
|
+
6. `--transport sse` with `HOST=0.0.0.0`, `MCP_SERVER_TOKEN=T`, `ALLOW_UNAUTHENTICATED_HTTP=true`. While it runs, `GET /sse` with no header
|
|
1809
|
+
7. `--transport sse` with no `HOST`. While it runs: `lsof -nP -iTCP:<port> -sTCP:LISTEN`, then `GET http://127.0.0.1:<port>/sse` with no header, then `GET http://<LAN address>:<port>/sse`
|
|
1810
|
+
8. stdio (`uv run mcp-gee-sweet`, no `--transport`) with `HOST=0.0.0.0` and `ALLOW_UNAUTHENTICATED_HTTP=bogus`: send an `initialize` request on stdin. Point `CREDENTIALS_PATH` at a file that exists (a dummy `{"installed": {...}}` client JSON is enough): under stdio a missing client JSON exits at startup (#790's fail-fast), which isn't what this step checks
|
|
1811
|
+
9. `uv run mcp-gee-sweet auth --help` with `HOST=0.0.0.0`
|
|
1812
|
+
10. Launch without `main()`: `uv run uvicorn mcp_gee_sweet.server:app --host 0.0.0.0 --port <port>` with no token and no opt-out. While it runs: `GET http://<LAN address>:<port>/sse`; `GET http://127.0.0.1:<port>/sse`; the same loopback GET with `Host: evil.example:<port>`; the same with `X-Forwarded-For: 127.0.0.1` sent to the LAN address. Then `grep -c 'MCP_SERVER_TOKEN is unset'` the log. Then relaunch the same command twice more: with `HOST=0.0.0.0` and `ALLOW_UNAUTHENTICATED_HTTP=1`, `GET http://<LAN address>:<port>/sse`; with `ALLOW_UNAUTHENTICATED_HTTP=yes` (no `HOST`), the LAN GET and the plain loopback GET
|
|
1813
|
+
11. Optional, if Docker is available: `docker build -t mcp-gee-sweet-qa .`, then `docker run --rm -p 127.0.0.1:<port>:8000 mcp-gee-sweet-qa` with no `-e MCP_SERVER_TOKEN`
|
|
1814
|
+
12. `--transport sse` with `HOST=127.0.0.2`, no token (macOS only answers on `127.0.0.1` until `sudo ifconfig lo0 alias 127.0.0.2 up`; remove it after with `sudo ifconfig lo0 -alias 127.0.0.2`. Without that, check the same requests in-process: Starlette `TestClient(server.app, base_url="http://127.0.0.2:8000")` with `HOST=127.0.0.2` set before import). While it runs, `GET http://127.0.0.2:<port>/sse`. Then relaunch with `ALLOW_UNAUTHENTICATED_HTTP=1` added, and send the same GET twice: once plain, once with `Host: attacker.example:<port>`
|
|
1815
|
+
13. `--transport sse` with `HOST=0.0.0.0` and `MCP_SERVER_TOKEN=` (set but empty, as docker-compose passes it when its own `.env` lacks it), with `MCP_SERVER_TOKEN=T` in `src/mcp_gee_sweet/.env`. While it runs, `GET http://<LAN address>:<port>/sse` with no header, then with `Authorization: Bearer T`
|
|
1816
|
+
|
|
1817
|
+
**Checks**
|
|
1818
|
+
- 1, 2, 3: exit 1 with one line, `mcp-gee-sweet: refusing to serve --transport <transport> on <host> without authentication: ...`, naming `MCP_SERVER_TOKEN`, `HOST` and `ALLOW_UNAUTHENTICATED_HTTP`. No traceback, nothing listens on the port, and 2 never logs `Started reloader process`
|
|
1819
|
+
- 4: exit 1 with one line naming `ALLOW_UNAUTHENTICATED_HTTP` and `1 or true`, without echoing `yes`
|
|
1820
|
+
- 5: starts; the log has a warning that it is serving `0.0.0.0` without authentication; the GET gets `200` and `event: endpoint`
|
|
1821
|
+
- 6: starts; the log has `ALLOW_UNAUTHENTICATED_HTTP is ignored because MCP_SERVER_TOKEN is set`; the GET gets `401`
|
|
1822
|
+
- 7: `lsof` shows a listener on `127.0.0.1:<port>` only; the loopback GET gets `200`; the LAN GET fails to connect
|
|
1823
|
+
- 8: the server answers `initialize`; no refusal
|
|
1824
|
+
- 9: prints the `auth` usage and exits 0
|
|
1825
|
+
- 10: it starts (no `main()`, so no startup check). The LAN GET gets `401` with `WWW-Authenticate: Bearer`; the plain loopback GET gets `200` and `event: endpoint`; the `evil.example` Host and the `X-Forwarded-For` request get `401`. The grep counts `1`: one warning however many requests were refused. With `HOST=0.0.0.0` and the opt-out, the LAN GET gets `200` and `event: endpoint` (without `HOST`, the app is built for the `127.0.0.1` default, where the opt-out does nothing, so the LAN GET gets `401`). With the invalid opt-out, the LAN GET gets `401`, the loopback GET `200`, and the server keeps running with no traceback
|
|
1826
|
+
- 11: the container exits at once with the step-1 message for `0.0.0.0`
|
|
1827
|
+
- 12: both launches start. The plain GET gets `200` and `event: endpoint` both times (any `127.0.0.0/8` bind that starts is reachable). The `attacker.example` Host gets `401`: the opt-out does nothing on a loopback `HOST`
|
|
1828
|
+
- 13: starts (the blank variable doesn't hide the `.env` token); the plain GET gets `401`, the bearer GET `200` and `event: endpoint`
|
|
1829
|
+
|
|
1830
|
+
**Cleanup:** SIGTERM any server still running (by pid). `docker rmi mcp-gee-sweet-qa` if step 11 ran. Remove the step-13 line from `src/mcp_gee_sweet/.env`.
|
|
1831
|
+
|
|
1832
|
+
**Result (2026-10-19) ✅ PASS — Kit, GHSA-mpw3 fork PR #1 @ 46ce96b1**
|
|
1833
|
+
Steps 1–3: exit 1, one `refusing to serve` line naming all three settings, no traceback, nothing listening; step 2 never started the reloader. Step 4: exit 1 naming `1 or true`, `yes` not echoed. Step 5: started, serving-without-authentication warning, loopback GET `200` + `event: endpoint`. Step 6: ignored-opt-out warning, GET `401`. Step 7: `lsof` showed `127.0.0.1:<port>` only; loopback GET `200`, LAN GET connection refused. Step 8: `initialize` answered (first attempt used a nonexistent `CREDENTIALS_PATH` and hit #790's stdio fail-fast; the step now says to use a dummy client file). Step 9: usage, exit 0. Step 10: LAN `401`, loopback `200` + `event: endpoint`, `evil.example` Host `401`, `X-Forwarded-For: 127.0.0.1` to the LAN address `401`; one `MCP_SERVER_TOKEN is unset` warning over 8 rejections. Step 10's relaunches: with the opt-out and no `HOST`, the LAN GET got mcp's `421` (Host check built for the `127.0.0.1` default); with `HOST=0.0.0.0` and the opt-out, `200`; with `ALLOW_UNAUTHENTICATED_HTTP=yes`, LAN `401`, loopback `200`, no crash or traceback. Step 11: the container exited 1 about 6 s after start with the step-1 line for `0.0.0.0`.
|
|
1834
|
+
|
|
1835
|
+
**Result (2026-10-19) ✅ PASS — Kit, GHSA-mpw3 fork PR #1 @ 15638736 (round 2)**
|
|
1836
|
+
Steps 1–10 rerun on real servers, all matching round 1 except the intended change in step 10: with the opt-out and no `HOST`, the LAN GET now gets our `401` (the opt-out does nothing on the loopback default), and with `HOST=0.0.0.0` and the opt-out it still gets `200`. Step 12 ran in-process (no `lo0` alias, so no sudo): with `HOST=127.0.0.2`, `check_startup` passed, the built `BearerAuth` layer had `host` `127.0.0.2`, a `127.0.0.2:8000` Host passed through, and `attacker.example:8000` got `401` + `WWW-Authenticate: Bearer`, with and without `ALLOW_UNAUTHENTICATED_HTTP=1`. Step 13: with `MCP_SERVER_TOKEN=` in the environment and the token in `src/mcp_gee_sweet/.env`, the server started on `0.0.0.0`; plain GET `401`, bearer GET `200` + `event: endpoint`; `.env` restored. Step 11 not rerun: the Dockerfile is unchanged since round 1 and the container sets no token.
|
|
1837
|
+
|
|
1838
|
+
---
|
|
1839
|
+
|
|
1840
|
+
### TC-I63: two Google identities sharing one cache DB never see each other's entries (GHSA-8jqx-w7j8-6xwm) ⚠️ local-filesystem
|
|
1841
|
+
|
|
1842
|
+
**Background:** every cache row carries the Google identity it was fetched as (`drive:<permissionId>`, else `sa:<service account email>`), and every read filters on it. Invalidation doesn't: `refresh_cache` and write-side invalidation reach every identity's rows. A cached sheet list is served stale only on a 5xx, 429 or network failure, never in place of a 403/404. Run the servers from this lane's own worktree, not the shared `-oauth`/`-sa` MCP servers, which serve main-checkout code.
|
|
1843
|
+
|
|
1844
|
+
**Setup:** a fresh scratch path `C=<tmp>/qa-cache/cache.db`, with `<tmp>/qa-cache` created (empty) before each run. An explicit `CACHE_DB_PATH` never creates its parent directory, on `develop` or the fix: with it missing, both servers log `falling back to :memory:`, share nothing, and the case passes vacuously. Check each log has no `not usable`/`unusable` line before reading any result. Two stdio servers, each driven by an SDK `stdio_client` + `ClientSession` script per `docs/qa/run.md` §"Running server-startup and CLI cases in a scoped lane pass", both with `CACHE_DB_PATH=$C`, `DEBUG_LEVEL=DEBUG` and their own `LOG_FILE`: server **A** with `AUTH_METHOD=oauth` (the fixture OAuth account), server **B** with `AUTH_METHOD=service_account`. `{SPREADSHEET_ID}` below is a scratch spreadsheet that only A can open, *not* the fixture `TEST_SPREADSHEET_ID`, which the service account can read (it's on the Shared Drive). Create it in A's My Drive root with a fresh-interpreter script (`drive.files().create(body={"name": ..., "mimeType": "application/vnd.google-apps.spreadsheet"})` on `auth._oauth_creds()`, per CLAUDE.md "MCP restart"), not with `create_spreadsheet`, which puts it in `DRIVE_FOLDER_ID`. B's service account must also have no access to A's calendars. Run steps 1–2 on the fork's `develop` first (before resetting to the fix branch), then the whole case on the fix branch.
|
|
1845
|
+
|
|
1846
|
+
**Action**
|
|
1847
|
+
1. A: `list_calendars()`; record the calendar IDs. Then B: `list_calendars()`.
|
|
1848
|
+
2. A: `list_sheets(spreadsheet_id="{SPREADSHEET_ID}")`. Then B: `list_sheets(spreadsheet_id="{SPREADSHEET_ID}")`. Then A: `refresh_cache(spreadsheet_id="{SPREADSHEET_ID}")`, and B: `list_sheets(spreadsheet_id="{SPREADSHEET_ID}")` again.
|
|
1849
|
+
3. With both servers stopped: `sqlite3 $C "SELECT DISTINCT principal, namespace FROM cache"`.
|
|
1850
|
+
4. Restart A only. `list_sheets(spreadsheet_id="{SPREADSHEET_ID}")` twice; grep A's log for `Cache hit`.
|
|
1851
|
+
5. With A still running, start B and call `refresh_cache()` (no arguments). Then A: `list_sheets(spreadsheet_id="{SPREADSHEET_ID}")`; grep A's log again.
|
|
1852
|
+
|
|
1853
|
+
**Checks**
|
|
1854
|
+
- On `develop` (the defect): B's step-1 `list_calendars` returns A's calendars, or B's step-2 `list_sheets` returns A's sheet names instead of an error. Record which.
|
|
1855
|
+
- On the fix branch:
|
|
1856
|
+
- 1: B's list contains none of A's calendar IDs (only calendars B itself is subscribed to, possibly none).
|
|
1857
|
+
- 2: both of B's `list_sheets` calls return an error (403/404 permission text), never A's sheet names, including after A's `refresh_cache` left A's row dirty (the old stale fallback).
|
|
1858
|
+
- 3: two distinct `principal` values, each `drive:...` or `sa:...`; no row has an empty principal.
|
|
1859
|
+
- 4: the second call logs `Cache hit` (A's own entry is still served to A).
|
|
1860
|
+
- 5: A's call after B's flush logs no new `Cache hit` for `{SPREADSHEET_ID}` (B's invalidation reached A's row) and still returns the sheet names.
|
|
1861
|
+
|
|
1862
|
+
**Cleanup:** stop both servers; `rm -rf <tmp>/qa-cache`; delete the scratch spreadsheet.
|
|
1863
|
+
|
|
1864
|
+
**Result (2026-10-20, GHSA-8jqx fork PR #1 round 1 @ 9e6f4d06, Kit) ✅ PASS**
|
|
1865
|
+
Two-server SDK driver from the Kit worktree, A-only scratch spreadsheet (2 sheets) in A's My Drive. Fork `develop` @ b009e72d, steps 1–2 (defect reproduced, both ways): B's `list_calendars` returned all 3 of A's calendar IDs (B itself has 0); B's `list_sheets` returned A's sheet names, and again after A's `refresh_cache` (stale fallback). A first `develop` run with `<tmp>/qa-cache` missing fell back to `:memory:` on both servers and showed no leak, hence the setup fix above. Fix branch, directory created first, no `not usable` lines: 1: B got 0 calendars, overlap with A 0. 2: both B calls 403 `The caller does not have permission`. 3: 2 distinct principals, both `drive:...` (the SA resolves its own `permissionId`), 0 empty; rows `calendar` ×2, `sheet_structure`. 4: after restart the first call re-fetched (row still dirty from step 2's refresh), the second logged `Cache hit: 2 sheets`. 5: after B's `refresh_cache()` (`invalidated: all`), A's call logged `Cached 2 sheets` and no new `Cache hit`, sheet names returned. DB file `-rw-------`. Scratch spreadsheet deleted, scratch dirs removed.
|
|
1866
|
+
|
|
1867
|
+
**Result (2026-10-20, GHSA-8jqx fork PR #1 round 2 @ 18a0e4bc, Kit) ✅ PASS**
|
|
1868
|
+
Same driver, fresh A-only scratch spreadsheet, `<tmp>/qa-cache` created first, no `not usable` lines in either log. 1: B 0 calendars, overlap with A 0. 2: both B calls 403. 3: 2 distinct `drive:` principals, 0 empty. 4: second call `Cache hit: 2 sheets`. 5: after B's `refresh_cache()`, A re-fetched (`Cached 2 sheets`), no new hit. The `cache opened` lines now appear only when a cache is first used, and name the real path. Scratch spreadsheet deleted, scratch dirs removed.
|
|
1869
|
+
|
|
1870
|
+
**Result (2026-10-20, GHSA-8jqx fork PR #1 round 4 @ 295b5118, Kit) ✅ PASS**
|
|
1871
|
+
Rerun after merging `develop` and the GHSA-mpw3 branch in. Same driver, fresh A-only scratch spreadsheet, no `not usable` lines. 1: B 0 calendars, overlap with A 0. 2: both B calls 403. 3: 2 distinct `drive:` principals, 0 empty. 4: second call `Cache hit: 2 sheets`. 5: after B's `refresh_cache()` (`invalidated: all`), A re-fetched (`Cached 2 sheets`), no new hit. DB `-rw-------`. Outside the case, over SSE with `MCP_SERVER_TOKEN` set: an unauthenticated `GET /sse` got `401` before any cache DB existed; two authenticated connections both bound the same `drive:` principal, and the second was served from the first's entry. Scratch spreadsheet deleted, scratch dirs removed.
|
|
1872
|
+
|
|
1873
|
+
---
|
|
1874
|
+
|
|
1875
|
+
### TC-I64: the default cache location is per-user and owner-only; a symlinked cache isn't used (GHSA-8jqx-w7j8-6xwm) ⚠️ local-filesystem
|
|
1876
|
+
|
|
1877
|
+
**Background:** with `CACHE_DB_PATH` unset, the DB is `~/Library/Caches/mcp-gee-sweet/cache.db` (macOS), or `$XDG_CACHE_HOME` / `~/.cache` plus `mcp-gee-sweet/cache.db` (Linux). The directory is `0700`, the DB and its `-wal`/`-shm` files `0600`. A directory or file owned by another user, or a symlink in place of one, makes the server warn and cache in memory. The old `/tmp/mcp_gee_sweet.db` is tightened to `0600` if it's ours, never deleted. Importing the package creates nothing.
|
|
1878
|
+
|
|
1879
|
+
**Setup:** a scratch `HOME=<tmp>/home` (created, empty), `XDG_CACHE_HOME` unset, `CACHE_DB_PATH` unset in the environment and in `src/mcp_gee_sweet/.env`, `umask 022`. A stdio server driven by an SDK client script (as in TC-I63), `AUTH_METHOD=oauth` with `TOKEN_PATH`/`CREDENTIALS_PATH` pointing at the fixture files, `DEBUG_LEVEL=DEBUG`, `LOG_FILE` set. `D` below is the platform's default cache directory under the scratch home.
|
|
1880
|
+
|
|
1881
|
+
**Action**
|
|
1882
|
+
1. `HOME=<tmp>/home uv run python -c "import mcp_gee_sweet.server"`, then `find <tmp>/home`.
|
|
1883
|
+
2. Start the server; `list_sheets(spreadsheet_id="{SPREADSHEET_ID}")`; stop it. `stat -f '%Sp %N' D D/cache.db*` (Linux: `stat -c '%A %n'`).
|
|
1884
|
+
3. `chmod 755 D`; start the server, make one call, stop it; `stat` `D`.
|
|
1885
|
+
4. Unless a `/tmp/mcp_gee_sweet.db` already exists (then record its owner and mode, and skip the rest of this step): create it, owned by you, mode `0644`. Start the server, make one call, stop it; `stat` it.
|
|
1886
|
+
5. `rm -rf D`, then `ln -s <tmp>/elsewhere D` (`<tmp>/elsewhere` an empty directory). Start the server, `list_sheets` twice, stop it.
|
|
1887
|
+
6. `rm D`. Set `CACHE_DB_PATH=<tmp>/explicit/cache.db`, after creating `<tmp>/explicit` with mode `0755` and an empty `cache.db` in it with mode `0644`. Start, one call, stop; `stat` the directory and the file.
|
|
1888
|
+
7. `CACHE_DB_PATH=:memory:`: start, one call, stop; `find <tmp>/home <tmp>/explicit -newer <tmp>/explicit/cache.db`.
|
|
1889
|
+
8. `CACHE_DB_PATH` unset again, `LOCAL_FILE_ACCESS=full`: start, then `upload_local_file(local_path="D/cache.db", parent_folder_id="{FOLDER_ID}")` (`parent_folder_id` is required; without it the call fails argument validation before the policy check runs).
|
|
1890
|
+
|
|
1891
|
+
**Checks**
|
|
1892
|
+
- 1: `find` lists only `<tmp>/home` itself: nothing created at import.
|
|
1893
|
+
- 2: `D` is `drwx------`; `cache.db` (and any `-wal`/`-shm`) is `-rw-------`.
|
|
1894
|
+
- 3: `D` is `drwx------` again.
|
|
1895
|
+
- 4: `/tmp/mcp_gee_sweet.db` is `-rw-------` and still exists.
|
|
1896
|
+
- 5: the log has `Cache file not usable (... isn't a directory), falling back to :memory:`; both calls succeed; `<tmp>/elsewhere` stays empty.
|
|
1897
|
+
- 6: the file is `-rw-------`; its directory is still `drwxr-xr-x`.
|
|
1898
|
+
- 7: `find` prints nothing; the call succeeds.
|
|
1899
|
+
- 8: refused with `... is one of this server's own credential, config, cache, or log files and can't be read by a tool`; nothing uploaded.
|
|
1900
|
+
- Another user's directory or file needs a second uid, so it's unit-tested only (`tests/test_cache_isolation.py::TestPermissions`).
|
|
1901
|
+
|
|
1902
|
+
**Cleanup:** `rm -rf <tmp>/home <tmp>/elsewhere <tmp>/explicit`. If step 4 created `/tmp/mcp_gee_sweet.db`, delete it and its `-wal`/`-shm`.
|
|
1903
|
+
|
|
1904
|
+
**Result (2026-10-20, GHSA-8jqx fork PR #1 round 1 @ 9e6f4d06, Kit) ✅ PASS (step 4 skipped)**
|
|
1905
|
+
SDK driver from the Kit worktree, macOS, `umask 022`, scratch `HOME` (with `UV_CACHE_DIR` pointed at the real uv cache so `uv` itself writes nothing under it). 1: `find` lists only `<tmp>/home`. 2: `D` `drwx------`, `cache.db` `-rw-------` (no sidecars left after stop). 3: `D` chmod'd to `drwxr-xr-x`, back to `drwx------` after one call. 4: skipped, `/tmp/mcp_gee_sweet.db` already exists, ours, already `-rw-------`; tightening covered by unit tests only this round. 5: log `Cache file not usable (<tmp>/home/Library/Caches/mcp-gee-sweet isn't a directory), falling back to :memory:`; both calls returned the sheet names; `<tmp>/elsewhere` empty. 6: `cache.db` `-rw-------`, `<tmp>/explicit` still `drwxr-xr-x`. 7: call succeeded, `find -newer` printed nothing. 8: first run without `parent_folder_id` failed pydantic validation (step text fixed above); rerun refused with `... is one of this server's own credential, config, cache, or log files and can't be read by a tool`, nothing uploaded. Scratch dirs removed.
|
|
1906
|
+
|
|
1907
|
+
**Result (2026-10-20, GHSA-8jqx fork PR #1 round 2 @ 18a0e4bc, Kit) ✅ PASS (step 4 skipped)**
|
|
1908
|
+
Same driver, all 8 steps. 1: nothing created at import. 2: `D` `drwx------`, `cache.db` `-rw-------`. 3: `drwxr-xr-x` tightened back to `drwx------`. 4: skipped, same `/tmp/mcp_gee_sweet.db` (ours, `-rw-------`). 5: `Cache file not usable (... isn't a directory), falling back to :memory:`, and the only `cache opened` line reads `sheet_structure cache opened: :memory:` (round 1 logged the refused path here); both calls succeeded; `<tmp>/elsewhere` empty. 6: file `-rw-------`, directory still `drwxr-xr-x`. 7: `find -newer` empty. 8: refused by the deny-list, nothing uploaded. Outside the case: `check_read` now refuses `/tmp/mcp_gee_sweet.db` and `-wal` (round 1 allowed them), and in `python:3.12-slim-bullseye` (glibc 2.31) both an explicit and the default cache open and write, with the file `-rw-------` and directory `drwx------` (round 1 raised `NotImplementedError`). Scratch dirs removed.
|
|
1909
|
+
|
|
1910
|
+
**Result (2026-10-20, GHSA-8jqx fork PR #1 round 4 @ 295b5118, Kit) ✅ PASS (step 4 skipped)**
|
|
1911
|
+
Rerun after merging `develop` and the GHSA-mpw3 branch in. Same driver, all 8 steps, every check matching round 2. 1: nothing created at import. 2: `D` `drwx------`, `cache.db` `-rw-------`. 3: tightened back to `drwx------`. 4: skipped, same `/tmp/mcp_gee_sweet.db` (ours, `-rw-------`). 5: `not usable ... falling back to :memory:`, `cache opened: :memory:`, both calls succeeded, `<tmp>/elsewhere` empty. 6: file `-rw-------`, directory still `drwxr-xr-x`. 7: `find -newer` empty. 8: refused by the deny-list. Scratch dirs removed.
|
|
1912
|
+
|
|
1913
|
+
---
|
|
1914
|
+
|
|
1754
1915
|
### TC-I65: the first calls after a long idle don't fail on a stale connection (issue #1052)
|
|
1755
1916
|
|
|
1756
1917
|
**Background:** `thread_http` caches one transport per worker thread, and a thread's pooled keep-alive connection sits unused while the server is idle. Before #1052, the first request on a connection Google had since dropped failed with no retry: `[Errno 54] Connection reset by peer` at once, or `[Errno 60] Operation timed out` after 50–200 s. In a wide `get_multiple_sheet_data` call that showed up as one per-query `error` among otherwise correct results. Now a pooled connection idle longer than `_IDLE_RECONNECT_SECONDS` (wall-clock time, so a laptop's sleep counts) is closed before reuse, a connection that fails is closed rather than left pooled, and a read (GET, HEAD, or a method-override GET) or a token refresh that still hits a dead connection is resent once. Writes are never resent, so step 3 checks that a write after idle succeeds on its first attempt. The mocked unit tests can't show what Google's front end actually does to an idle connection, so this needs a live server and real idle time.
|
|
@@ -1775,3 +1936,26 @@ OAuth server (`mcp-gee-sweet-sky`), warmed at 22:12 with a 12-query fan-out, the
|
|
|
1775
1936
|
|
|
1776
1937
|
**Result (2026-10-20) ⚠️ PARTIAL — PR #1126 round 2 (Sky) @ 4e854115**
|
|
1777
1938
|
Re-run after the per-connection rewrite (`_StaleConnectionHttp`), on the OAuth server (`mcp-gee-sweet-sky`). Warmed at 23:28 with a 12-query fan-out, then left idle 10+ min before each step. Step 1 (23:39): 12/12 correct, no `error`, under a second. Step 2 (23:50): 24/24 correct, no `error`, under a second. Step 3 (00:01): `create_folder` succeeded on the first call; folder trashed afterwards. No live `Resending` line in the server log, so the per-connection idle close handled every stale connection. Didn't run: check 4. This lane has no service-account server; the service-account run is left for the release pass.
|
|
1939
|
+
|
|
1940
|
+
### TC-I66: dev and stable releases both publish through `publish.yml`, with no PyPI provenance warning (issue #1124)
|
|
1941
|
+
|
|
1942
|
+
**Background:** PyPI flags a release whose trusted-publisher workflow differs from the previous release's with a "Change of provenance" warning on its page. Dev builds came from `publish-dev.yml` and stable releases from `release.yml`, and a dev build always precedes a stable release, so v0.9.2's page carried the warning. PyPI compares against the previous *upload*, not the previous stable release: v0.9.1's page carries the warning although v0.9.0 and v0.9.1 both came from `release.yml`, because a `publish-dev.yml` dev build came between them. #1124 merges both tracks into `.github/workflows/publish.yml`. The first upload through `publish.yml` follows a `publish-dev.yml` build, so it's expected to carry the warning once; that's the transition, not a failure. No MCP tool or unit test reaches a GitHub Actions run or PyPI's attestation record, so this is a manual check after merge and after the next stable release.
|
|
1943
|
+
|
|
1944
|
+
**Setup**
|
|
1945
|
+
- PyPI has a trusted publisher registered for `publish.yml` in this repo (the maintainer step on #1124).
|
|
1946
|
+
- For checks 1–2: a push to `develop` touching `src/**`, `tests/**`, `pyproject.toml`, or `uv.lock` has landed since #1124 merged.
|
|
1947
|
+
- For checks 3–5: a stable GitHub Release has been published since #1124 merged, **and** at least one dev build published through `publish.yml` before it (checks 1–2 passed first). Merging #1124 alone publishes nothing, since it touches no `src/**`. If the release's predecessor upload is still a `publish-dev.yml` build, check 5 fails while the workflow is behaving correctly: record SKIP for check 5, not FAIL.
|
|
1948
|
+
|
|
1949
|
+
**Action**
|
|
1950
|
+
1. `gh run list --workflow=publish.yml --event push --limit 1`, then `gh run view <run-id>`. Note the published `X.Y.Z.devN` version from the build log or `pip index versions mcp-gee-sweet --pre`.
|
|
1951
|
+
2. Read the dev wheel's provenance: `curl -s https://pypi.org/pypi/mcp-gee-sweet/<version>/json` for the `.whl` filename in `urls[]`, then `curl -s "https://pypi.org/integrity/mcp-gee-sweet/<version>/<filename>/provenance"`.
|
|
1952
|
+
3. `gh run list --workflow=publish.yml --event release --limit 1`, then `gh run view <run-id>`.
|
|
1953
|
+
4. Repeat step 2 for the stable version's wheel.
|
|
1954
|
+
5. Open `https://pypi.org/project/mcp-gee-sweet/<stable version>/`.
|
|
1955
|
+
|
|
1956
|
+
**Checks**
|
|
1957
|
+
- 1, 3: the run completed with `success`; its jobs are `Run tests`, `Build distribution`, and `Upload to PyPI`, and `Upload to PyPI` ran.
|
|
1958
|
+
- 2, 4: every `attestation_bundles[].publisher` is `{"kind": "GitHub", "repository": "khuisman/mcp-gee-sweet", "workflow": "publish.yml", ...}`. `release.yml` or `publish-dev.yml` there means the upload didn't go through the new file.
|
|
1959
|
+
- 5: the release page shows no "Change of provenance" warning.
|
|
1960
|
+
|
|
1961
|
+
**Re-run cadence:** once after the first qualifying `develop` push following #1124's merge (checks 1–2), and once at the first stable release after that (checks 3–5). After that, only if `publish.yml` is renamed or split.
|