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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.