The Appwrite MCP server provides a Model Context Protocol implementation for interacting with Appwrite's API services, enabling AI-assisted management of databases, users, functions, teams, and other Appwrite project components.
Before installing the server, you need to configure your Appwrite credentials:
.env
file in your working directory with:APPWRITE_PROJECT_ID=your-project-id
APPWRITE_API_KEY=your-api-key
APPWRITE_ENDPOINT=https://<REGION>.cloud.appwrite.io/v1
For Linux/MacOS:
source .env
For Windows Command Prompt:
for /f "tokens=1,2 delims==" %A in (.env) do set %A=%B
For Windows PowerShell:
Get-Content .\.env | ForEach-Object {
if ($_ -match '^(.*?)=(.*)$') {
[System.Environment]::SetEnvironmentVariable($matches[1], $matches[2], "Process")
}
}
uvx mcp-server-appwrite [args]
pip install mcp-server-appwrite
python -m mcp_server_appwrite [args]
Enable specific Appwrite API tools with these arguments:
Argument | Description |
---|---|
--databases |
Enables the Databases API |
--users |
Enables the Users API |
--teams |
Enables the Teams API |
--storage |
Enables the Storage API |
--functions |
Enables the Functions API |
--messaging |
Enables the Messaging API |
--locale |
Enables the Locale API |
--avatars |
Enables the Avatars API |
--sites |
Enables the Sites API |
--all |
Enables all Appwrite APIs |
Note: Only the Databases tools are enabled by default to minimize token usage. Each additional tool uses more of the model's context window.
CTRL + ,
on Windows or CMD + ,
on MacOS){
"mcpServers": {
"appwrite": {
"command": "uvx",
"args": [
"mcp-server-appwrite"
],
"env": {
"APPWRITE_PROJECT_ID": "<YOUR_PROJECT_ID>",
"APPWRITE_API_KEY": "<YOUR_API_KEY>",
"APPWRITE_ENDPOINT": "https://<REGION>.cloud.appwrite.io/v1"
}
}
}
}
For MacOS:
env APPWRITE_API_KEY=your-api-key env APPWRITE_PROJECT_ID=your-project-id uvx mcp-server-appwrite
For Windows:
cmd /c SET APPWRITE_PROJECT_ID=your-project-id && SET APPWRITE_API_KEY=your-api-key && uvx mcp-server-appwrite
{
"mcpServers": {
"appwrite": {
"command": "uvx",
"args": [
"mcp-server-appwrite"
],
"env": {
"APPWRITE_PROJECT_ID": "<YOUR_PROJECT_ID>",
"APPWRITE_API_KEY": "<YOUR_API_KEY>",
"APPWRITE_ENDPOINT": "https://<REGION>.cloud.appwrite.io/v1"
}
}
}
}
Ctrl+Shift+P
or Cmd+Shift+P
)MCP: Open User Configuration
{
"servers": {
"appwrite": {
"command": "uvx",
"args": ["mcp-server-appwrite", "--users"],
"env": {
"APPWRITE_PROJECT_ID": "<YOUR_PROJECT_ID>",
"APPWRITE_API_KEY": "<YOUR_API_KEY>",
"APPWRITE_ENDPOINT": "https://<REGION>.cloud.appwrite.io/v1"
}
}
}
}
MCP: List Servers
, select appwrite
and click Start ServerYou can use the MCP inspector for debugging:
npx @modelcontextprotocol/inspector \
uv \
--directory . \
run mcp-server-appwrite
Access the inspector at http://localhost:5173
.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "appwrite" '{"command":"uvx","args":["mcp-server-appwrite"],"env":{"APPWRITE_PROJECT_ID":"your-project-id","APPWRITE_API_KEY":"your-api-key","APPWRITE_ENDPOINT":"https://cloud.appwrite.io/v1"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"appwrite": {
"command": "uvx",
"args": [
"mcp-server-appwrite"
],
"env": {
"APPWRITE_PROJECT_ID": "your-project-id",
"APPWRITE_API_KEY": "your-api-key",
"APPWRITE_ENDPOINT": "https://cloud.appwrite.io/v1"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"appwrite": {
"command": "uvx",
"args": [
"mcp-server-appwrite"
],
"env": {
"APPWRITE_PROJECT_ID": "your-project-id",
"APPWRITE_API_KEY": "your-api-key",
"APPWRITE_ENDPOINT": "https://cloud.appwrite.io/v1"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect