Claude Code_
Learn how to use Claude Code with Appwrite through the Appwrite plugin, quick start prompts, and the Appwrite MCP server for AI-assisted development.
2 min read
1. Install the Appwrite plugin
The fastest way to get started with Appwrite in Claude Code is to install the Appwrite plugin from the official marketplace. The plugin includes the hosted Appwrite MCP server, agent skills for the CLI and all major SDKs, and commands for deploying sites and functions.
To install the plugin, run the following command in your terminal:
claude plugin install appwrite@claude-plugins-officialIf Claude Code cannot find the plugin, add the Appwrite marketplace and install it from there:
claude plugin marketplace add appwrite/claude-pluginclaude plugin install appwrite@appwriteRun /reload-plugins in Claude Code to load the plugin in your current session. Then run /mcp, select the Appwrite server, and choose Authenticate. Your browser opens so you can sign in to your Appwrite account and authorize access. The plugin does not need an API key.
If you installed an earlier version that asked for an endpoint, project ID, and API key, run /plugins, open the Installed tab, and update the Appwrite plugin.
If you'd rather use the MCP server without installing the plugin, skip to Step 3. Manual setup is an alternative to the plugin, not an additional requirement.
2. Quick start prompts
Get started quickly with these pre-built prompts for common Appwrite integrations:
3. Manual setup without the plugin (optional)
Skip this step if you installed the plugin, since it already includes the MCP server. Adding the server again registers it twice. To connect the Appwrite MCP server directly, add the remote HTTP server below. There are no additional prerequisites to install.
Run the following command in your terminal to add the MCP server:
claude mcp add --transport http appwrite https://mcp.appwrite.io/The server uses OAuth for authentication. Run /mcp in Claude Code, select appwrite, and choose Authenticate. Your browser opens so you can sign in to your Appwrite account and authorize access.
If you run Claude Code on a remote host, log in from the shell with --no-browser:
claude mcp login appwrite --no-browserOpen the printed authorization URL in a browser on your local machine, sign in, and authorize access. After you approve, copy the full http://localhost:.../callback URL from the address bar and paste it into the Claude Code prompt. Use an interactive SSH session (ssh -t) so the prompt can accept the paste. This is the same localhost-callback pattern described in Authenticate from a remote machine.
4. Verify MCP tools
Run the following command in your terminal (where Claude Code is running).
/mcpYou should see the added MCP server listed there.

5. Test the integration
Try out the following example prompts:
Example prompts:
Create a new user in my Appwrite projectList all databases in my projectShow me the tables in my databaseHow do I set up real-time subscriptions in Appwrite?Show me how to authenticate users with OAuthHow do I implement file uploads with Appwrite Storage?

Was this page helpful?
Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.