Connector guide11-minute read32 MCP tools7 languages

Connect Appwrite to Microsoft Copilot via MCP

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.

HCBy HelpCode teamUpdated 11 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Appwrite

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.

tools

32

Region

INTL

Category

Databases

Authentication

API Key

Required env vars

APPWRITE_ENDPOINTAPPWRITE_PROJECT_IDAPPWRITE_API_KEY
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

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 Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Appwrite in the guided setup, then add your MCP URL to Microsoft Copilot. 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.

Appwrite · live via MCP
Share
Opus 4.7

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 + Microsoft Copilot

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.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

APPWRITE_ENDPOINT, APPWRITE_PROJECT_ID, APPWRITE_API_KEY

Step 1 — Get credentials

Setting up takes about 5 minutes.

  1. Open the project in the Appwrite Console, go to Settings and copy the API Endpoint into APPWRITE_ENDPOINT and the Project ID into APPWRITE_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/v1 or https://tor.cloud.appwrite.io/v1. Self-hosted: https://your-server/v1.
  2. 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.
  3. Copy the key (the secret) into APPWRITE_API_KEY. It is sent in the X-Appwrite-Key header together with X-Appwrite-Project.

Where to start

  • appwrite_ping confirms endpoint, project and key.
  • Data: appwrite_list_databases, appwrite_list_tables, then appwrite_get_table or appwrite_list_columns for the column keys, then appwrite_list_rows and appwrite_get_row. Write with appwrite_create_row and appwrite_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_document and appwrite_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_execution for 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 $id of 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.

Step 2 — Install the adapter

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

Step 3 — Add the connector in Microsoft Copilot

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Microsoft Copilot uses MCP servers through agents built in Copilot Studio: you add AnythingMCP to an agent as a tool, then publish the agent to Microsoft 365 Copilot and Teams. Copilot Studio connects from Microsoft's cloud over Streamable HTTP, which AnythingMCP supports.

  1. In Copilot Studio, open your agent (or create one), go to Tools and choose Add a tool → New tool → Model Context Protocol.
  2. Enter a Server name (for example AnythingMCP), a Server description that says what the connector does, and the Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. Copilot Studio uses the description to decide when to call the server.
  3. Under authentication, choose API key, set Type to Header and the header name to X-API-Key, then select Create.
  4. In Add tool, choose Create a new connection, paste an MCP API key from AnythingMCP (MCP Servers → your server → API keys) and select Add to agent.
  5. Try it in the agent's Test pane: ask for something that needs the Appwrite tools.
  6. Select Publish, then Channels → Microsoft 365 and Microsoft Teams, keep Make agent available in Microsoft Copilot selected and choose Add channel. See agent in Teams installs it for you; in Microsoft 365 Copilot, type @ and pick the agent.

Prefer per-user sign-in? Choose OAuth 2.0 → Dynamic discovery instead of an API key: each user then signs in to AnythingMCP the first time the agent calls it.

Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Copilot Studio connects from Microsoft's cloud, so localhost does not work.

Available tools

ToolWhat it does
appwrite_pingCheck 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_databasesList the databases of the project (TablesDB, Appwrite 1.8 and later and Appwrite Cloud): $id, name, enabled, $createdAt and $updatedAt.…
appwrite_list_tablesList the tables of a database: $id, name, enabled, rowSecurity, $permissions, and the columns and indexes of each table. Answers total and…
appwrite_get_tableGet one table with its schema: name, enabled, rowSecurity, $permissions, columns (key, type, required, array, default, size or elements for…
appwrite_list_columnsList the columns of a table: key, type (string, integer, float, boolean, datetime, email, enum, url, ip, relationship and others), status…
appwrite_list_rowsQuery the rows of a table. Returns total and rows; each row has its columns plus $id, $createdAt, $updatedAt and $permissions. Filter, sort…
appwrite_get_rowGet 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_rowCreate 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_rowUpdate a row: only the columns given in data are changed, the others keep their values. Returns the updated row. Passing permissions…
appwrite_delete_rowDelete 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_databasesList the databases through the older Databases API (collections and documents). Use it on self-hosted Appwrite before 1.8, where the…
appwrite_list_collectionsList the collections of a database through the older Databases API: $id, name, enabled, documentSecurity, $permissions, attributes (the…
appwrite_list_documentsQuery the documents of a collection through the older Databases API. Returns total and documents; each document has its attributes plus…
appwrite_get_documentGet one document of a collection by its id through the older Databases API, with every attribute plus $id, $createdAt, $updatedAt and…
appwrite_create_documentCreate a document in a collection through the older Databases API. The data must use the attribute keys of the collection and respect…
appwrite_update_documentUpdate a document through the older Databases API: only the attributes given in data are changed. Returns the updated document. Passing…
appwrite_list_usersList 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_userGet one user of the project by id: name, email, phone, status, emailVerification, phoneVerification, mfa, labels, prefs, registration…
appwrite_list_user_membershipsList the teams one user belongs to: per membership the teamId, teamName, roles, confirm (invitation accepted), joined and invited. Answers…
appwrite_list_user_sessionsList the active sessions of one user: provider (email, an OAuth provider, phone and others), ip, countryName, osName, clientName…
appwrite_list_bucketsList the storage buckets of the project: $id, name, enabled, fileSecurity, maximumFileSize in bytes, allowedFileExtensions, compression…
appwrite_get_bucketGet one storage bucket: name, enabled, fileSecurity, $permissions, maximumFileSize in bytes, allowedFileExtensions, compression, encryption…
appwrite_list_filesList the files of a bucket, as descriptions only: $id, name, mimeType, sizeOriginal in bytes, signature (MD5), $createdAt, $updatedAt and…
appwrite_get_fileGet the description of one stored file: name, mimeType, sizeOriginal in bytes, signature (MD5), chunksTotal, chunksUploaded, $createdAt…
appwrite_list_functionsList the functions of the project: $id, name, enabled, live, runtime, deploymentId (the active deployment), schedule (cron), events that…
appwrite_get_functionGet one function: name, enabled, live, runtime, entrypoint, commands, deploymentId, schedule, events, timeout, execute (who may run it)…
appwrite_list_executionsList the executions (runs) of a function, newest first by default: $id, $createdAt, trigger (http, schedule or event), status (waiting…
appwrite_get_executionGet one execution of a function: status, trigger, requestMethod, requestPath, requestHeaders, responseStatusCode, responseBody…
appwrite_create_executionRun 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_teamsList 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_teamGet one team of the project by id: name, total (number of members), prefs, $createdAt and $updatedAt
appwrite_list_team_membershipsList 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."

FAQ

Where do the endpoint, project ID and key come from? In the Appwrite Console open the project, Settings: copy the API Endpoint (on Appwrite Cloud it starts with the region of the project) and the Project ID. Then Overview, Integrations, API keys, Create API key: tick the read scopes, rows.write only if the AI may write rows, and copy the secret. It works with Appwrite Cloud and self-hosted servers.

What does it cover? Databases with tables and rows (TablesDB), or collections and documents on self-hosted servers before 1.8, the users of your app with sessions and memberships, teams, storage buckets and file descriptions (file content is never downloaded), functions and their executions with logs. Schema changes, user management and file uploads are not included. The project key bypasses row permissions, so it sees everything its scopes allow.

Which tools install switched off? appwrite_delete_row (no undo) and appwrite_create_execution (runs your own code and counts against the plan). Switch them on on the connector page only if the AI should use them.

Which Copilot is this for? Microsoft 365 Copilot at work, through agents built in Copilot Studio. The Microsoft Copilot app for personal accounts has no option to add your own MCP server.

What do I need? A work account with access to Copilot Studio (a license or a trial) to build the agent. People who use it in Microsoft 365 Copilot or Teams need access to the agent: share it with them, or ask an admin to publish it to the organization. If your organization applies data policies to Power Platform connectors, they cover MCP servers too.

The agent doesn't call the tools. Check that the header name is exactly X-API-Key and that the key belongs to the same MCP server as the URL, and make the server description specific: Copilot Studio uses it to decide when to call the server. Publish the agent again after each change; in an open chat, type "start over" to get the new version.

Next steps

Was this guide helpful?

Connect Appwrite to Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Appwrite in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.

Related guides

Connectors

Appwrite MCP Server: Database Rows, Users and Files

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.

Connectors

Connect Appwrite to ChatGPT via MCP

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.

Connectors

Connect Appwrite to Claude via MCP

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.

Connectors

Connect Appwrite to Cursor via MCP

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.

Connectors

Connect Appwrite to Gemini CLI via MCP

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.

Connectors

Connect Appwrite to Meta Muse via MCP

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.