Appwrite MCP
Enables AI agents to fully automate Appwrite backend operations with 143 tools covering databases, users, storage, functions, messaging, and more. Supports advanced features like GeoJSON attributes, file uploads, function deployment, and bulk operations.
README
Appwrite MCP
MCP (Model Context Protocol) server for Appwrite - Enable AI agents to fully automate backend operations.
Features
- 143 Tools for complete Appwrite automation
- Databases, Users, Storage, Functions, Health, Messaging, Teams, Avatars, Locale, GraphQL
- GeoJSON attributes (Point, Polygon) for location-based services
- Relationship attributes for table linking
- File upload support (Base64)
- Function deployment with code upload
- Email, SMS, Push notifications
- Bulk document operations
Realtime Support
Note: Appwrite Realtime (WebSocket) is automatically available for all collections you create!
MCP tools are used to build and configure your backend. Once set up, your client apps can use Appwrite's Client SDK to subscribe to Realtime events:
// After creating collections with MCP tools, your client app can:
import { Client } from 'appwrite';
const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setProject('your-project-id');
// Subscribe to document changes in a collection
client.subscribe('databases.mydb.collections.messages.documents', (response) => {
console.log('Document changed:', response.payload);
});
No additional configuration needed - Realtime works automatically with the database structures you create.
Comparison with Official Appwrite MCP
| Feature | Official MCP | @jun-b/appwrite-mcp |
|---|---|---|
| Total Tools | ~30 | 143 |
| Databases | Basic CRUD | Full CRUD + All Attribute Types + Bulk Ops |
| GeoJSON Attributes | No | Yes (Point, Polygon) |
| Relationship Attributes | No | Yes (1:1, 1:N, N:M) |
| File Upload | No | Yes (Base64) |
| Function Deployment | No | Yes (Code upload) |
| GraphQL API | No | Yes |
| Health Monitoring | No | Yes (Comprehensive) |
| Messaging (Email/SMS/Push) | No | Yes |
| Teams Management | No | Yes |
| Avatars/QR Codes | No | Yes |
| Localization | No | Yes |
| User Management | Basic | Full (Sessions, Logs, Prefs) |
| Attribute Updates | No | Yes (All types) |
Installation
npm install -g @jun-b/appwrite-mcp@latest
Or use directly with npx:
npx @jun-b/appwrite-mcp@latest --project-id <id> --api-key <key>
Configuration
Environment Variables
APPWRITE_PROJECT_ID="your-project-id"
APPWRITE_API_KEY="your-api-key"
APPWRITE_ENDPOINT="https://cloud.appwrite.io/v1" # Optional
CLI Arguments
npx @jun-b/appwrite-mcp@latest --project-id xxx --api-key xxx --endpoint xxx
MCP Client Configuration
Claude Desktop
Edit claude_desktop_config.json:
{
"mcpServers": {
"appwrite": {
"command": "npx",
"args": ["-y", "@jun-b/appwrite-mcp@latest"],
"env": {
"APPWRITE_PROJECT_ID": "your-project-id",
"APPWRITE_API_KEY": "your-api-key"
}
}
}
}
Cursor
Edit .cursor/mcp.json:
{
"mcpServers": {
"appwrite": {
"command": "npx",
"args": ["-y", "@jun-b/appwrite-mcp@latest"],
"env": {
"APPWRITE_PROJECT_ID": "your-project-id",
"APPWRITE_API_KEY": "your-api-key"
}
}
}
}
Antigravity IDE
Edit MCP settings with CLI arguments:
{
"mcpServers": {
"appwrite": {
"command": "npx",
"args": [
"-y",
"@jun-b/appwrite-mcp@latest",
"--project-id",
"your-project-id",
"--api-key",
"your-api-key",
"--endpoint",
"https://cloud.appwrite.io/v1"
]
}
}
}
Available Tools (143 Total)
Databases (49 tools)
CRUD Operations:
create_database,get_database,list_databases,update_database,delete_databasecreate_collection,get_collection,list_collections,update_collection,delete_collectioncreate_document,get_document,list_documents,update_document,delete_document
Bulk Operations:
create_documents- Create multiple documents at onceupdate_documents- Update multiple documents by querydelete_documents- Delete multiple documents by queryupsert_document- Create or update (upsert)
Atomic Operations:
increment_document_attribute- Atomically increment numeric values
Attribute Creation:
create_string_attribute,create_integer_attribute,create_float_attribute,create_boolean_attributecreate_email_attribute,create_enum_attribute,create_datetime_attribute,create_url_attributecreate_ip_attribute,create_relationship_attributecreate_point_attribute- GeoJSON Point for coordinatescreate_polygon_attribute- GeoJSON Polygon for geographic boundaries
Attribute Updates:
update_string_attribute,update_integer_attribute,update_float_attribute,update_boolean_attributeupdate_email_attribute,update_enum_attribute,update_datetime_attribute,update_url_attributeupdate_ip_attribute,update_relationship_attribute
Index & Attribute Management:
list_attributes,get_attribute,delete_attributecreate_index,list_indexes,get_index,delete_index
Users (13 tools)
create_user,get_user,list_users,delete_userupdate_user- Update email, name, password, phone in one callupdate_user_labels,update_user_status,update_user_prefs,get_user_prefslist_user_sessions,delete_user_sessions- Delete specific or all sessionslist_user_memberships,list_user_logs
Storage (11 tools)
create_bucket,get_bucket,list_buckets,update_bucket,delete_bucketcreate_file- Upload files (Base64 encoded)get_file,list_files,update_file,delete_fileget_file_url- Get download or view URL
Functions (20 tools)
Function Management:
create_function,get_function,list_functions,update_function,delete_function
Deployment Management:
create_deployment- Upload function code (Base64 tar.gz)get_deployment,list_deployments,update_deployment,delete_deployment
Execution:
create_execution,get_execution,list_executions,delete_execution
Variables:
create_variable,get_variable,list_variables,update_variable,delete_variablelist_runtimes
Health (5 tools)
get_health,get_health_db,get_health_cache,get_health_storageget_health_all- Comprehensive health check (HTTP, DB, cache, storage, time)
Messaging (18 tools)
create_topic,get_topic,list_topics,update_topic,delete_topiccreate_subscriber,list_subscribers,delete_subscribercreate_email,create_sms,create_pushget_message,list_messages,delete_messagelist_providers,get_provider,delete_provider,create_smtp_provider
Teams (11 tools)
Team Management:
create_team,get_team,list_teams,update_team,delete_team,update_team_prefs
Membership Management:
create_membership,get_membership,list_memberships,update_membership,delete_membership
Avatars (7 tools)
get_avatar_initials- Generate initials avatarget_avatar_image- Get avatar from URLget_qr_code- Generate QR codeget_favicon- Get website faviconget_browser_icon- Get browser iconget_credit_card_icon- Get credit card provider iconget_flag- Get country flag
Locale (7 tools)
list_countries- List all countrieslist_countries_eu- List EU countrieslist_countries_phones- List countries with phone codeslist_continents- List all continentslist_languages- List all languageslist_currencies- List all currencieslist_codes- List locale codes
GraphQL (2 tools)
graphql_query- Execute GraphQL queriesgraphql_mutation- Execute GraphQL mutations
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。