mcp-server-appwrite 0.1.4__py3-none-any.whl → 0.2.0__py3-none-any.whl

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.
@@ -1,5 +1,4 @@
1
1
  from __future__ import annotations
2
- from typing import List
3
2
  import asyncio
4
3
  import os
5
4
  import argparse
@@ -18,6 +17,7 @@ from appwrite.services.functions import Functions
18
17
  from appwrite.services.locale import Locale
19
18
  from appwrite.services.avatars import Avatars
20
19
  from appwrite.services.messaging import Messaging
20
+ from appwrite.services.sites import Sites
21
21
  from appwrite.exception import AppwriteException
22
22
  from .tool_manager import ToolManager
23
23
  from .service import Service
@@ -32,6 +32,7 @@ def parse_args():
32
32
  parser.add_argument('--messaging', action='store_true', help='Enable Messaging service')
33
33
  parser.add_argument('--locale', action='store_true', help='Enable Locale service')
34
34
  parser.add_argument('--avatars', action='store_true', help='Enable Avatars service')
35
+ parser.add_argument('--sites', action='store_true', help='Enable Sites service')
35
36
  parser.add_argument('--all', action='store_true', help='Enable all services')
36
37
  return parser.parse_args()
37
38
 
@@ -60,6 +61,7 @@ def register_services(args):
60
61
  if args.all:
61
62
  args.databases = args.users = args.teams = args.storage = True
62
63
  args.functions = args.messaging = args.locale = args.avatars = True
64
+ args.sites = True
63
65
 
64
66
  # Register services based on CLI arguments
65
67
  if args.databases:
@@ -78,6 +80,8 @@ def register_services(args):
78
80
  tools_manager.register_service(Service(Locale(client), "locale"))
79
81
  if args.avatars:
80
82
  tools_manager.register_service(Service(Avatars(client), "avatars"))
83
+ if args.sites:
84
+ tools_manager.register_service(Service(Sites(client), "sites"))
81
85
 
82
86
  # If no services were specified, enable databases by default
83
87
  if not any([args.databases, args.users, args.teams, args.storage,
@@ -125,7 +129,7 @@ async def _run():
125
129
  write_stream,
126
130
  InitializationOptions(
127
131
  server_name="appwrite",
128
- server_version="0.1.4",
132
+ server_version="0.2.0",
129
133
  capabilities=server.get_capabilities(
130
134
  notification_options=NotificationOptions(),
131
135
  experimental_capabilities={},
@@ -1,21 +1,17 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-server-appwrite
3
- Version: 0.1.4
3
+ Version: 0.2.0
4
4
  Summary: MCP (Model Context Protocol) server for Appwrite
5
5
  License-File: LICENSE
6
6
  Requires-Python: >=3.12
7
- Requires-Dist: appwrite>=9.0.3
7
+ Requires-Dist: appwrite>=11.0.0
8
8
  Requires-Dist: docstring-parser>=0.16
9
9
  Requires-Dist: mcp[cli]>=1.3.0
10
10
  Description-Content-Type: text/markdown
11
11
 
12
12
  # Appwrite MCP server
13
13
 
14
- <!-- Cover image will go here once available -->
15
-
16
- <a href="https://glama.ai/mcp/servers/xkj2px7r0v">
17
- <img width="380" height="200" src="https://glama.ai/mcp/servers/xkj2px7r0v/badge" alt="Appwrite MCP server" />
18
- </a>
14
+ [![Install MCP Server](https://cursor.com/deeplink/mcp-install-light.svg)](https://cursor.com/install-mcp?name=appwrite&config=eyJjb21tYW5kIjoidXZ4IG1jcC1zZXJ2ZXItYXBwd3JpdGUgLS11c2VycyIsImVudiI6eyJBUFBXUklURV9BUElfS0VZIjoiPHlvdXItYXBpLWtleT4iLCJBUFBXUklURV9QUk9KRUNUX0lEIjoiPHlvdXItcHJvamVjdC1pZD4iLCJBUFBXUklURV9FTkRQT0lOVCI6Imh0dHBzOi8vPFJFR0lPTj4uY2xvdWQuYXBwd3JpdGUuaW8vdjEifX0%3D)
19
15
 
20
16
  ## Overview
21
17
 
@@ -40,7 +36,7 @@ Create a `.env` file in your working directory and add the following:
40
36
  ```env
41
37
  APPWRITE_PROJECT_ID=your-project-id
42
38
  APPWRITE_API_KEY=your-api-key
43
- APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
39
+ APPWRITE_ENDPOINT=https://<REGION>.cloud.appwrite.io/v1
44
40
  ```
45
41
 
46
42
  Then, open your terminal and run the following command
@@ -108,6 +104,7 @@ Both the `uv` and `pip` setup processes require certain arguments to enable MCP
108
104
  | `--messaging` | Enables the Messaging API |
109
105
  | `--locale` | Enables the Locale API |
110
106
  | `--avatars` | Enables the Avatars API |
107
+ | `--sites` | Enables the Sites API |
111
108
  | `--all` | Enables all Appwrite APIs |
112
109
 
113
110
  ## Usage with Claude Desktop
@@ -125,7 +122,7 @@ In the Claude Desktop app, open the app's **Settings** page (press `CTRL + ,` on
125
122
  "env": {
126
123
  "APPWRITE_PROJECT_ID": "your-project-id",
127
124
  "APPWRITE_API_KEY": "your-api-key",
128
- "APPWRITE_ENDPOINT": "https://cloud.appwrite.io/v1" // Optional
125
+ "APPWRITE_ENDPOINT": "https://<REGION>.cloud.appwrite.io/v1" // Optional
129
126
  }
130
127
  }
131
128
  }
@@ -172,7 +169,7 @@ Head to Windsurf `Settings > Cascade > Model Context Protocol (MCP) Servers` and
172
169
  "env": {
173
170
  "APPWRITE_PROJECT_ID": "your-project-id",
174
171
  "APPWRITE_API_KEY": "your-api-key",
175
- "APPWRITE_ENDPOINT": "https://cloud.appwrite.io/v1" // Optional
172
+ "APPWRITE_ENDPOINT": "https://<REGION>.cloud.appwrite.io/v1" // Optional
176
173
  }
177
174
  }
178
175
  }
@@ -1,10 +1,10 @@
1
1
  mcp_server_appwrite/__init__.py,sha256=Od9oaUg_ckgJ4jIGa2HijocyauWDPjIC7cBRiV0P4s8,214
2
2
  mcp_server_appwrite/__main__.py,sha256=bdaX6xMmFugzSR2QMdXJqanRx_Jh25jACJDqjE9cKEc,75
3
- mcp_server_appwrite/server.py,sha256=JxNLY1O5lMUXUkBd2_kvN5mrh6dWsRPzX1VHi-XwCFs,5498
3
+ mcp_server_appwrite/server.py,sha256=BwglkHSioZljFVM64lrPZT95mSpbKNclstaeUH6O2FE,5718
4
4
  mcp_server_appwrite/service.py,sha256=H_Qr8bYFyXuJVwsPsWFi1xx12-aPM75yblKj11L4V2c,4640
5
5
  mcp_server_appwrite/tool_manager.py,sha256=AfRjLyMpplYjF2VJna7frXDiDUZKRN8WQu9R8j3dxPc,718
6
- mcp_server_appwrite-0.1.4.dist-info/METADATA,sha256=Kxq2jAAuvpUz1P1rBRNuauSf3Ipg0TIJx01NFt2JMpY,6565
7
- mcp_server_appwrite-0.1.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
- mcp_server_appwrite-0.1.4.dist-info/entry_points.txt,sha256=-FBKUOp-Qmo9FldmiT3JUyF7djSeo8lLhxljOosuHkQ,74
9
- mcp_server_appwrite-0.1.4.dist-info/licenses/LICENSE,sha256=PXzk1HbuQMAkLdHzwnBLTBIHFmgDZM0Ez2lw2gX2UQs,1096
10
- mcp_server_appwrite-0.1.4.dist-info/RECORD,,
6
+ mcp_server_appwrite-0.2.0.dist-info/METADATA,sha256=vI2B1pOV2nIAS4fIIC57TwXGeUJAMCRgqBSoeSZGyBM,6799
7
+ mcp_server_appwrite-0.2.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
+ mcp_server_appwrite-0.2.0.dist-info/entry_points.txt,sha256=-FBKUOp-Qmo9FldmiT3JUyF7djSeo8lLhxljOosuHkQ,74
9
+ mcp_server_appwrite-0.2.0.dist-info/licenses/LICENSE,sha256=PXzk1HbuQMAkLdHzwnBLTBIHFmgDZM0Ez2lw2gX2UQs,1096
10
+ mcp_server_appwrite-0.2.0.dist-info/RECORD,,