Skip to content

chore: update Console SDK to 0.18.0 - #186

Merged
ChiragAgg5k merged 2 commits into
mainfrom
chore/console-sdk-0.18.0
Nov 26, 2026
Merged

ChiragAgg5k merged 2 commits into
mainfrom
chore/console-sdk-0.18.0

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Updates appwrite-console from 0.17.0 to 0.18.0.

What changes in the catalog

Profile Services Tools
Hosted OAuth 41 → 43 1069 → 1094
API-key stdio 27 → 29 724 → 740

Added to both catalogs (project APIs that accept project API keys, monitors.* / alerts.* scopes):

  • alerts_list, alerts_get, alerts_update
  • monitors_list, monitors_get, monitors_delete
  • monitors_create_{http,dns,tcp,smtp,usage}_monitor, monitors_update_{http,dns,tcp,smtp,usage}_monitor

Added to the hosted OAuth catalog only:

  • organization_{list,get,create,update,delete}_escalation(s)
  • organizations_list_alerts, organizations_get_alert, organizations_list_monitors, organizations_get_monitor

No tool is removed. The SDK drops the AlertSeverity enum and Alert.critical; the server does not reference either.

Policy decisions (please review)

  • API-key catalog: alerts and monitors are added to API_KEY_SERVICES, because their routes accept project API keys. The five escalation methods go in API_KEY_EXCLUDED_METHODS["organization"], because escalations.* is an organization-key scope that a project key cannot hold.
  • Target context: alerts and monitors are added to PROJECT_CONTEXT_SERVICES, so hosted calls require project_id.
  • Paid writes: monitors_create_{http,dns,tcp,smtp}_monitor are added to PAID_TOOLS. Synthetic monitors past the plan's included amount are billed per monitor, so creating one can add a recurring charge, and the user is now asked to approve it. Usage monitors and updates are not billed and stay out of the list.

tests/unit/test_server.py checks the new counts and the new tools by name, including that the escalation and organizations_* tools stay out of the API-key catalog. The counts in docs/tool-surface.md, docs/self-hosted.md, docs/appwrite-mcp-flow.svg and AGENTS.md are updated to match.

Verification

  • ruff, black --check, pyright clean
  • Unit tests: 308 pass
  • E2E tests: 66 pass

Related: appwrite-labs/cloud#6667

Adds the monitors and alerts services to the API-key catalog, since project keys can use them, and keeps organization escalations out of it because they need an organization key. Creating an HTTP, DNS, TCP or SMTP monitor can add a billed monitor, so those creates ask for approval like other paid writes.
@appwrite

appwrite Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Code review

Commit Status Tier Verdict Details
273935e Reviewed Reviewed 🟢 S · Ready to merge ✅ Approved View review

The incremental test exercises the monitor approval prompt and verifies that the write is withheld until approval.

Updates appwrite-console to 0.18.0 and exposes its alert, monitor, and organization escalation APIs through the hosted OAuth and eligible API-key catalogs. The catalog policy, project context, paid-write approval list, catalog counts, documentation, and dependency lock are updated to match. The hosted E2E suite now checks that creating an HTTP monitor prompts for user approval before reaching Appwrite.

Latest changes: The newest commit adds hosted E2E coverage verifying that HTTP monitor creation requests user approval and does not reach Appwrite before approval.

Walkthrough (10)
File Change
AGENTS.md Updates the documented hosted and API-key catalog counts.
docs/appwrite-mcp-flow.svg Refreshes the hosted catalog counts in the flow diagram.
docs/self-hosted.md Updates the documented API-key catalog count.
docs/tool-surface.md Updates SDK version, catalog counts, and tool-surface documentation.
pyproject.toml Raises the supported appwrite-console dependency range to 0.18.x.
src/mcp_server_appwrite/catalog_policy.py Adds alert and monitor APIs to API-key and project-context policy and excludes organization escalation methods from the API-key catalog.
src/mcp_server_appwrite/constants.py Requires approval for paid synthetic monitor creation tools.
tests/e2e/test_tools.py Checks that HTTP monitor creation prompts for approval without sending a request to Appwrite.
tests/unit/test_server.py Updates catalog counts and checks inclusion and exclusion of the new tools.
uv.lock Locks appwrite-console at 0.18.0 and updates package metadata.

Reviewed the commits since b81f6ad

Tip

Comment @appwrite review to re-run, or mention @appwrite with a question.

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Tier A · Looks good to merge. Summary

Comment thread src/mcp_server_appwrite/constants.py Resolved

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@ChiragAgg5k
ChiragAgg5k merged commit 78ba569 into main Nov 26, 2026
7 checks passed
@ChiragAgg5k ChiragAgg5k self-assigned this Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant