diff --git a/AGENTS.md b/AGENTS.md
index 31545ac..3e1fb18 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -62,7 +62,7 @@ needs no credentials. The MCP dashboard lives in `appwrite-labs/monitoring` at
The server boots in a compact workflow: the client sees up to 5 tools
(`appwrite_get_context`, `appwrite_search_tools`, `appwrite_call_tool` for
reads, `appwrite_call_write_tool` for everything else, and optionally
-`appwrite_search_docs`), while the full OAuth Appwrite catalog (43
+`appwrite_search_docs`), while the full OAuth Appwrite catalog (44
services) stays internal and is searched at runtime. API-key stdio uses a filtered
29-service catalog. Mutating hidden tools run only through
`appwrite_call_write_tool` and require `confirm_write=true` and a one-line
diff --git a/docs/appwrite-mcp-flow.svg b/docs/appwrite-mcp-flow.svg
index fd9606d..cb79655 100644
--- a/docs/appwrite-mcp-flow.svg
+++ b/docs/appwrite-mcp-flow.svg
@@ -115,7 +115,7 @@
search_docs
- hosted catalog · 43 services · 1094 tools
+ hosted catalog · 44 services · 1120 tools
writes need confirm_write: true
diff --git a/docs/tool-surface.md b/docs/tool-surface.md
index 716c607..600e776 100644
--- a/docs/tool-surface.md
+++ b/docs/tool-surface.md
@@ -22,7 +22,7 @@ flowchart LR
subgraph CAT[Internal catalog — authentication-aware]
direction LR
- K[OAuth: 43 services / 1094 tools
API key: 29 services / 740 tools]
+ K[OAuth: 44 services / 1120 tools
API key: 29 services / 740 tools]
end
CT -->|large output| R[(MCP resource
preview + URI)]
@@ -88,8 +88,8 @@ operate on it for the rest of the session.
`context=organization`, or `context=project`. Hosted calls enforce the required
top-level `organization_id` or `project_id` before making a request.
- **Access** is still gated per-route by the scopes granted to the OAuth token.
-- **Hosted OAuth** registers all 43 services and 1094 methods shipped by
- `appwrite-console` 0.18.0. This adds console control-plane services including
+- **Hosted OAuth** registers all 44 services and 1120 methods shipped by
+ `appwrite-console` 0.19.0. This adds console control-plane services including
projects, organizations, domains, migrations, dedicated databases, usage, VCS,
vectors, WAF, notifications, and regions.
- **API-key stdio** deliberately registers only the 740 project-key-compatible
diff --git a/pyproject.toml b/pyproject.toml
index 6b6159e..e810a13 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,7 +6,7 @@ readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"anyio>=4.0.0",
- "appwrite-console>=0.18.0,<0.19",
+ "appwrite-console>=0.19.0,<0.20",
"docstring-parser>=0.16",
"mcp[cli]>=2.3,<3",
"python-dotenv>=1.0.1",
diff --git a/src/mcp_server_appwrite/catalog_policy.py b/src/mcp_server_appwrite/catalog_policy.py
index ff86418..1cc2328 100644
--- a/src/mcp_server_appwrite/catalog_policy.py
+++ b/src/mcp_server_appwrite/catalog_policy.py
@@ -115,6 +115,15 @@
}
),
"presences": frozenset({"get_usage"}),
+ "project": frozenset(
+ {
+ "create_video_profile",
+ "delete_video_profile",
+ "get_video_profile",
+ "list_video_profiles",
+ "update_video_profile",
+ }
+ ),
"sites": frozenset({"get_template", "list_templates"}),
"tables_db": frozenset(
{
@@ -156,6 +165,7 @@
"monitors",
"mysql",
"postgresql",
+ "project",
"sites",
"storage",
"tables_db",
@@ -164,6 +174,7 @@
"users",
"vcs",
"vectors_db",
+ "videos",
"waf",
}
)
diff --git a/src/mcp_server_appwrite/constants.py b/src/mcp_server_appwrite/constants.py
index 201504c..3b5a1a4 100644
--- a/src/mcp_server_appwrite/constants.py
+++ b/src/mcp_server_appwrite/constants.py
@@ -136,6 +136,7 @@ def _resolve_server_version() -> str:
"organizations_update_plan",
"postgresql_create_upgrade",
"projects_create_premium_geo_db_addon",
+ "videos_create_rendition",
}
)
diff --git a/tests/e2e/test_tools.py b/tests/e2e/test_tools.py
index 34609bc..decd6d0 100644
--- a/tests/e2e/test_tools.py
+++ b/tests/e2e/test_tools.py
@@ -651,6 +651,34 @@ def test_deletes_wait_for_the_user_when_the_client_can_ask(self):
)
self.assertEqual(cloud.calls("POST", "/v1/monitors/http"), monitored)
+ # Each rendition is an encode the project pays compute for.
+ path = "/v1/videos/e2e-video/renditions"
+ rendered = cloud.calls("POST", path)
+ status, response = client.call(
+ "tools/call",
+ {
+ "name": "appwrite_call_write_tool",
+ "arguments": {
+ "tool_name": "videos_create_rendition",
+ "project_id": PROJECT,
+ "confirm_write": True,
+ "reason": "Encode the launch video for HLS",
+ "arguments": {
+ "video_id": "e2e-video",
+ "profile_id": "e2e-720p",
+ "output": "hls",
+ },
+ },
+ },
+ )
+ self.assertEqual(response["result"]["resultType"], "input_required")
+ self.assertTrue(
+ response["result"]["inputRequests"]["confirm"]["params"][
+ "message"
+ ].startswith("Allow videos_create_rendition?")
+ )
+ self.assertEqual(cloud.calls("POST", path), rendered)
+
# A client that cannot show a form keeps the confirm_write flow alone.
result = self.call("appwrite_call_write_tool", delete["arguments"])
self.assertFalse(result.get("isError"), result)
diff --git a/tests/unit/test_server.py b/tests/unit/test_server.py
index 41a21be..bd36aab 100644
--- a/tests/unit/test_server.py
+++ b/tests/unit/test_server.py
@@ -228,6 +228,37 @@ def wrapped(address, *args, **kwargs):
"organizations_list_monitors",
)
+# Videos is a new service and video profiles are new project methods. Neither has
+# been reviewed for project API keys yet, so both stay out of the API-key catalog.
+CONSOLE_SDK_0_19_TOOLS = (
+ "project_create_video_profile",
+ "project_delete_video_profile",
+ "project_get_video_profile",
+ "project_list_video_profiles",
+ "project_update_video_profile",
+ "videos_create",
+ "videos_create_caption",
+ "videos_create_rendition",
+ "videos_delete",
+ "videos_delete_caption",
+ "videos_delete_rendition",
+ "videos_get",
+ "videos_get_caption_manifest",
+ "videos_get_cmaf_dash_manifest",
+ "videos_get_cmaf_hls_manifest",
+ "videos_get_dash_manifest",
+ "videos_get_hls_manifest",
+ "videos_get_rendition",
+ "videos_get_thumbnail",
+ "videos_get_timeline",
+ "videos_list",
+ "videos_list_captions",
+ "videos_list_codecs",
+ "videos_list_renditions",
+ "videos_update",
+ "videos_update_caption",
+)
+
class ServerHelperTests(unittest.TestCase):
def test_parse_args_defaults_to_stdio(self):
@@ -1131,8 +1162,8 @@ def test_register_services_returns_fresh_manager(self):
{service.service_name for service in manager_a.services},
set(SERVICE_CLASSES),
)
- self.assertEqual(len(manager_a.services), 43)
- self.assertEqual(len(manager_a.get_all_tools()), 1094)
+ self.assertEqual(len(manager_a.services), 44)
+ self.assertEqual(len(manager_a.get_all_tools()), 1120)
def test_console_sdk_0_7_surface(self):
manager = register_services(object(), profile=OAUTH_PROFILE)
@@ -1149,8 +1180,13 @@ def test_console_sdk_0_7_surface(self):
*CONSOLE_SDK_0_17_TOOLS,
*CONSOLE_SDK_0_18_PROJECT_TOOLS,
*CONSOLE_SDK_0_18_CONSOLE_TOOLS,
+ *CONSOLE_SDK_0_19_TOOLS,
):
self.assertIn(tool_name, tools)
+ # Every project_* method calls /project/*, which acts on the client's
+ # project, so hosted calls must name the target project.
+ for tool_name in CONSOLE_SDK_0_19_TOOLS:
+ self.assertEqual(tools[tool_name]["context_scope"], "project")
for removed_tool in (
"project_get_usage",
"projects_list_dev_keys",
@@ -1263,7 +1299,7 @@ def test_api_key_profile_only_advertises_server_capabilities(self):
self.assertEqual(len(tool_names), 740)
for tool_name in (*CONSOLE_SDK_0_17_TOOLS, *CONSOLE_SDK_0_18_PROJECT_TOOLS):
self.assertIn(tool_name, tool_names)
- for tool_name in CONSOLE_SDK_0_18_CONSOLE_TOOLS:
+ for tool_name in (*CONSOLE_SDK_0_18_CONSOLE_TOOLS, *CONSOLE_SDK_0_19_TOOLS):
self.assertNotIn(tool_name, tool_names)
self.assertIn("waf_list_rules", tool_names)
self.assertIn("waf_create_deny_rule", tool_names)
diff --git a/uv.lock b/uv.lock
index 0dd5a29..7a98672 100644
--- a/uv.lock
+++ b/uv.lock
@@ -39,16 +39,16 @@ wheels = [
[[package]]
name = "appwrite-console"
-version = "0.18.0"
+version = "0.19.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pydantic" },
{ name = "requests" },
{ name = "urllib3" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/1d/e4/0c2754933a3b3325f5a450c0bfede29e9b856e45fb2235b77992a2e1686d/appwrite_console-0.18.0.tar.gz", hash = "sha256:add5576fdf0a32e4f1cfd2f142d3071f39d81a150515defe61432fd66977ae1d", size = 391996, upload-time = "2026-11-26T14:58:28.063Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/58/c8/aaf24bd1634a6bd62a4c5086a5dbc931d0be0bc9e68aaf2f5c226172bcd9/appwrite_console-0.19.0.tar.gz", hash = "sha256:76a87fd8f99f63baf8d9d4294b2547d8fe77410984a627f4fb33975331657372", size = 401029, upload-time = "2026-11-26T19:34:23.546Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/ec/18/f59ccf206152b795d068c5d46c398b7962a387734b41b768168374fccb60/appwrite_console-0.18.0-py3-none-any.whl", hash = "sha256:ca7345dc7c0e93038378e923940d0d285602f4de77a166e33d51d5aedc362d26", size = 705703, upload-time = "2026-11-26T14:58:26.624Z" },
+ { url = "https://files.pythonhosted.org/packages/89/3d/e491f01ad4c704a42d40564ad2cce4f953eb19ce06b50930d41f8fd2bea8/appwrite_console-0.19.0-py3-none-any.whl", hash = "sha256:e8bac61f21bb52ccbb80791628806b04e65bc25a4b7d4a9931a44658b29e80fc", size = 722754, upload-time = "2026-11-26T19:34:22.125Z" },
]
[[package]]
@@ -752,7 +752,7 @@ e2e = [
[package.metadata]
requires-dist = [
{ name = "anyio", specifier = ">=4.0.0" },
- { name = "appwrite-console", specifier = ">=0.18.0,<0.19" },
+ { name = "appwrite-console", specifier = ">=0.19.0,<0.20" },
{ name = "argon2-cffi", marker = "extra == 'integration'", specifier = ">=23.1.0" },
{ name = "bcrypt", marker = "extra == 'integration'", specifier = ">=4.1.2" },
{ name = "cryptography", specifier = ">=44.0.0" },