Cursor is an AI-powered code editor built on VS Code, designed to enhance developer workflows with intelligent, context-aware assistance. It offers features like inline code generation, natural language explanations, and project-aware chat, enabling developers to prototype, debug, and refactor code faster with the help of integrated large language models such as Anthropic's Claude 4.0 Sonnet, Google's Gemini 2.5 Pro, and OpenAI's GPT-4.1.
How does the integration work?
The Appwrite MCP server integrates with Cursor Agent using the Model Context Protocol (MCP), allowing you to connect your Appwrite project to Cursor.
This integration enables you to perform various operations on your Appwrite resources, such as creating users, managing databases, and more, directly from the Cursor editor using natural language commands.
How to implement
To implement the MCP with Cursor integration, there are several steps you must complete:
Step 1: Set up your Appwrite project
First, you must create an account on Appwrite Cloud if you haven't already, and create a project.
The MCP server is a remote server that uses the HTTP transport and OAuth for authentication, so you don't need to create an API key or install anything on your system.
Self-hosted Appwrite
The hosted MCP server authenticates against Appwrite Cloud. If you run a self-hosted Appwrite instance, follow the self-hosted setup in the MCP documentation instead.
Step 2: Configure the MCP server on Cursor
To configure the MCP server on Cursor, head to the Cursor Settings page, navigate to the MCP tab, and click on Add new global MCP server. This will open the mcp.json file, where you must add the following:
{
"mcpServers": {
"appwrite": {
"url": "https://mcp.appwrite.io/"
}
}
}
Once you have updated and saved the mcp.json file, click Needs login next to the server in the MCP settings. Your browser opens so you can sign in to your Appwrite account and authorize access. Cursor will then connect with the Appwrite MCP server and load all available tools.
Skip this step, directly add the server to Cursor
Once you have understood how the Appwrite MCP server is configured in Cursor, you can skip this step by directly adding the MCP server using the following link.
This will automatically configure the MCP server, and you will only need to complete the OAuth sign-in with your Appwrite account.
Step 3: Test the integration
Finally, you can test the integration by asking Cursor Agent to create a new user in your Appwrite project.
Read more about MCP with Cursor
If you would like to learn more about MCP with Cursor, we have some resources that you should visit:
