---
layout: integration
title: MCP with Cursor
description: Connect to Appwrite project with the MCP within Cursor.
date: 2025-07-01
featured: true
isPartner: true
isNew: true
cover: /images/integrations/mcp-cursor/cover.avif
category: mcp
product:
    avatar: '/images/integrations/avatars/cursor.avif'
    vendor: Cursor
    description: 'Cursor is an AI-powered code editor based on VS Code, designed for context-aware development and seamless collaboration with large language models.'
platform:
    - 'Self-hosted'
    - 'Cloud'
images:
    - /images/integrations/mcp-cursor/cover.avif
    - /images/docs/mcp/cursor/cursor-create-user.avif
---

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](https://cloud.appwrite.io/register) 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](https://appwrite.io/docs/advanced/self-hosting), follow the [self-hosted setup](/docs/tooling/ai/mcp-servers#self-hosted) 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:

```json
{
    "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.

- [Add to Cursor](https://cursor.com/install-mcp?name=appwrite&config=eyJ1cmwiOiJodHRwczovL21jcC5hcHB3cml0ZS5pby8ifQ==)

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.

![Cursor Agent](/images/docs/mcp/cursor/cursor-create-user.avif)

# 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:

- [Appwrite MCP documentation](/docs/tooling/ai/mcp-servers)
- [What exactly is MCP, and why is it trending?](/blog/post/what-is-mcp)
- [Download Cursor](https://www.cursor.com/)
