Summary
Appwrite backend from any AI agent, Cloud or self-hosted: query and write database rows (TablesDB) or documents (older servers), read the users of your app with their sessions and teams, storage buckets and file descriptions, functions and their execution logs. Project API key. Deleting rows and running functions are switched off.
Guided setup
Connect Appwrite to Claude, ChatGPT or Copilot in 2 minutes
Start a free trial on AnythingMCP Cloud, connect Appwrite in the guided setup, then add your MCP URL to your AI assistant. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
Try asking
Example prompts for Appwrite
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Appwrite, enter your project's API endpoint and project ID, paste the API key, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
Appwrite
Appwrite backend from any AI agent, Cloud or self-hosted: query and write database rows (TablesDB) or documents (older servers), read the users of your app with their sessions and teams, storage buckets and file descriptions, functions and their execution logs. Project API key. Deleting rows and running functions are switched off.
Setup
Setting up takes about 5 minutes.
- Open the project in the Appwrite Console, go to Settings and copy the API Endpoint into
APPWRITE_ENDPOINTand the Project ID intoAPPWRITE_PROJECT_ID. On Appwrite Cloud the endpoint carries the region of the project, e.g.https://fra.cloud.appwrite.io/v1(Frankfurt),https://nyc.cloud.appwrite.io/v1,https://syd.cloud.appwrite.io/v1,https://sfo.cloud.appwrite.io/v1,https://sgp.cloud.appwrite.io/v1orhttps://tor.cloud.appwrite.io/v1. Self-hosted:https://your-server/v1. - Go to Overview, Integrations, API keys and click Create API key. Name it, set an expiry if you want one, and tick the scopes this connector should use:
- read everything:
databases.read,tables.read,columns.read,rows.read(older servers:collections.read,attributes.read,documents.read),users.read,sessions.read,buckets.read,files.read,functions.read,execution.read,teams.read; - write rows:
rows.write(older servers:documents.write); - run functions, only if you enable that tool:
execution.write.
- read everything:
- Copy the key (the secret) into
APPWRITE_API_KEY. It is sent in theX-Appwrite-Keyheader together withX-Appwrite-Project.
Where to start
appwrite_pingconfirms endpoint, project and key.- Data:
appwrite_list_databases,appwrite_list_tables, thenappwrite_get_tableorappwrite_list_columnsfor the column keys, thenappwrite_list_rowsandappwrite_get_row. Write withappwrite_create_rowandappwrite_update_row. - Self-hosted Appwrite before 1.8 has no TablesDB: use
appwrite_list_legacy_databases,appwrite_list_collections,appwrite_list_documents,appwrite_get_document,appwrite_create_documentandappwrite_update_document. On newer servers both sets reach the same data; prefer the table tools. - Users of your app:
appwrite_list_users,appwrite_get_user,appwrite_list_user_memberships,appwrite_list_user_sessions. Teams:appwrite_list_teams,appwrite_get_team,appwrite_list_team_memberships. - Storage:
appwrite_list_buckets,appwrite_get_bucket,appwrite_list_files,appwrite_get_file(descriptions only; file content is never downloaded). - Functions:
appwrite_list_functions,appwrite_get_function,appwrite_list_executions,appwrite_get_executionfor logs and errors of a run.
Queries: list tools take queries, a list of strings where each string is one query written as JSON text:
- filter:
{"method":"equal","attribute":"status","values":["active"]},{"method":"greaterThan","attribute":"total","values":[100]},{"method":"search","attribute":"title","values":["invoice"]},{"method":"isNull","attribute":"paidAt"}; - sort:
{"method":"orderDesc","attribute":"$createdAt"}; - page:
{"method":"limit","values":[25]}with{"method":"offset","values":[25]}, or{"method":"cursorAfter","values":["LAST_ID"]}with the$idof the last item; - fewer columns:
{"method":"select","values":["name","email"]}. Filtering and sorting on a column needs an index on it; without one Appwrite answers 400 and names the missing index. Without a limit, 25 items are returned.
Reading the data: system fields start with $: $id, $createdAt, $updatedAt, $permissions. Times are ISO 8601 in UTC. total is the number of matches, not of returned items. Ids are at most 36 characters; unique() as an id lets Appwrite generate one.
Switched off at install: appwrite_delete_row (no undo) and appwrite_create_execution (runs your own code and counts against the plan). Schema changes (creating tables, columns, buckets, functions), user management and file uploads are not part of this connector.
Privacy: user lists hold names, emails and phone numbers of your app's users. Share only what the question needs and never repeat password hashes or session secrets.
Limits and errors: API keys are not rate-limited by Appwrite. 401 with general_unauthorized_scope names the scope the key is missing: add it to the key in the Console. 401 with api_key_invalid or user_unauthorized: wrong key, wrong project id, or the endpoint of another region. 404: the id does not exist, or the server is older than the API used (try the legacy tools). 400: a query or a value does not fit the schema; the message says which.
Prerequisites: APPWRITE_ENDPOINT, APPWRITE_PROJECT_ID, APPWRITE_API_KEY
Install the connector locally
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Open http://localhost:3000/connectors/store, pick Appwrite and paste in the env vars listed under Prerequisites.
Available tools
| Tool | What it does |
|---|---|
appwrite_ping | Check that the endpoint, the project id and the API key belong together. Appwrite answers with a short Pong text when the project accepts… |
appwrite_list_databases | List the databases of the project (TablesDB, Appwrite 1.8 and later and Appwrite Cloud): $id, name, enabled, $createdAt and $updatedAt.… |
appwrite_list_tables | List the tables of a database: $id, name, enabled, rowSecurity, $permissions, and the columns and indexes of each table. Answers total and… |
appwrite_get_table | Get one table with its schema: name, enabled, rowSecurity, $permissions, columns (key, type, required, array, default, size or elements for… |
appwrite_list_columns | List the columns of a table: key, type (string, integer, float, boolean, datetime, email, enum, url, ip, relationship and others), status… |
appwrite_list_rows | Query the rows of a table. Returns total and rows; each row has its columns plus $id, $createdAt, $updatedAt and $permissions. Filter, sort… |
appwrite_get_row | Get one row of a table by its id, with every column plus $id, $createdAt, $updatedAt and $permissions. A select query limits the columns… |
appwrite_create_row | Create a row in a table. The data must use the column keys of the table and respect required columns and types (see appwrite_get_table)… |
appwrite_update_row | Update a row: only the columns given in data are changed, the others keep their values. Returns the updated row. Passing permissions… |
appwrite_delete_row | Delete one row of a table by id. Installed switched off: the row is gone for good and Appwrite has no recycle bin |
appwrite_list_legacy_databases | List the databases through the older Databases API (collections and documents). Use it on self-hosted Appwrite before 1.8, where the… |
appwrite_list_collections | List the collections of a database through the older Databases API: $id, name, enabled, documentSecurity, $permissions, attributes (the… |
appwrite_list_documents | Query the documents of a collection through the older Databases API. Returns total and documents; each document has its attributes plus… |
appwrite_get_document | Get one document of a collection by its id through the older Databases API, with every attribute plus $id, $createdAt, $updatedAt and… |
appwrite_create_document | Create a document in a collection through the older Databases API. The data must use the attribute keys of the collection and respect… |
appwrite_update_document | Update a document through the older Databases API: only the attributes given in data are changed. Returns the updated document. Passing… |
appwrite_list_users | List the users of the project (the people who sign in to your app, not the Appwrite Console team). Each user has $id, name, email, phone… |
appwrite_get_user | Get one user of the project by id: name, email, phone, status, emailVerification, phoneVerification, mfa, labels, prefs, registration… |
appwrite_list_user_memberships | List the teams one user belongs to: per membership the teamId, teamName, roles, confirm (invitation accepted), joined and invited. Answers… |
appwrite_list_user_sessions | List the active sessions of one user: provider (email, an OAuth provider, phone and others), ip, countryName, osName, clientName… |
appwrite_list_buckets | List the storage buckets of the project: $id, name, enabled, fileSecurity, maximumFileSize in bytes, allowedFileExtensions, compression… |
appwrite_get_bucket | Get one storage bucket: name, enabled, fileSecurity, $permissions, maximumFileSize in bytes, allowedFileExtensions, compression, encryption… |
appwrite_list_files | List the files of a bucket, as descriptions only: $id, name, mimeType, sizeOriginal in bytes, signature (MD5), $createdAt, $updatedAt and… |
appwrite_get_file | Get the description of one stored file: name, mimeType, sizeOriginal in bytes, signature (MD5), chunksTotal, chunksUploaded, $createdAt… |
appwrite_list_functions | List the functions of the project: $id, name, enabled, live, runtime, deploymentId (the active deployment), schedule (cron), events that… |
appwrite_get_function | Get one function: name, enabled, live, runtime, entrypoint, commands, deploymentId, schedule, events, timeout, execute (who may run it)… |
appwrite_list_executions | List the executions (runs) of a function, newest first by default: $id, $createdAt, trigger (http, schedule or event), status (waiting… |
appwrite_get_execution | Get one execution of a function: status, trigger, requestMethod, requestPath, requestHeaders, responseStatusCode, responseBody… |
appwrite_create_execution | Run a function now, with an optional request body, path, method and headers. Installed switched off: the function is your own code with its… |
appwrite_list_teams | List the teams of the project (groups of your app's users): $id, name, total (number of members), prefs and $createdAt. Answers total and… |
appwrite_get_team | Get one team of the project by id: name, total (number of members), prefs, $createdAt and $updatedAt |
appwrite_list_team_memberships | List the members of a team: per membership the userId, userName, userEmail, roles, confirm (invitation accepted), invited and joined.… |
Example prompts
- "List the tables of database main and the columns of the orders table."
- "Show the 20 newest rows of the orders table with status pending."
- "Which users signed up this week, and which teams are they in?"
- "Why did the last executions of function send-invoice fail? Show the logs."
- "Set the status of row 6740a1f2b3c4 in the orders table to shipped."
Next steps
Was this guide helpful?