Skip to content

Commit 57dc89f

Browse files
authored
Merge pull request #2032 from appwrite/fix-cursor-mcp-docs
Update cursor mcp docs
2 parents 6361d50 + a48d599 commit 57dc89f

File tree

5 files changed

+21
-25
lines changed

5 files changed

+21
-25
lines changed

src/routes/docs/tooling/mcp/claude/+page.markdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ After opening the file, add the following info:
3434
"env": {
3535
"APPWRITE_PROJECT_ID": "your-project-id",
3636
"APPWRITE_API_KEY": "your-api-key",
37-
"APPWRITE_ENDPOINT": "https://cloud.appwrite.io/v1" // Optional
37+
"APPWRITE_ENDPOINT": "https://<REGION>.cloud.appwrite.io/v1"
3838
}
3939
}
4040
}

src/routes/docs/tooling/mcp/cursor/+page.markdoc

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,27 @@ You must install [uv](https://docs.astral.sh/uv/getting-started/installation/) o
1414

1515
{% section #step-1 step=1 title="Add MCP server" %}
1616

17-
Open the **Cursor Settings** page, head to the **MCP** tab, and click on the **Add new MCP server** button.
18-
19-
![Add MCP server](/images/docs/mcp/cursor/cursor-add-mcp.png)
20-
21-
Enter the name as `Appwrite`, select the `command` type, and enter the following command:
22-
23-
{% tabs %}
24-
{% tabsitem #linux-macos title="MacOS" %}
25-
26-
```sh
27-
env APPWRITE_API_KEY=your-api-key env APPWRITE_PROJECT_ID=your-project-id uvx mcp-server-appwrite --databases --users
28-
```
29-
30-
31-
{% /tabsitem %}
32-
33-
{% tabsitem #windows title="Windows" %}
34-
35-
```cmd
36-
cmd /c SET APPWRITE_PROJECT_ID=your-project-id && SET APPWRITE_API_KEY=your-api-key && uvx mcp-server-appwrite --databases --users
17+
Open the **Cursor Settings** page, head to the **MCP** tab, and click on the **Add new global MCP server** button. This will open an `mcp.json` file in your editor, which you must update to the following:
18+
19+
```json
20+
{
21+
"mcpServers": {
22+
"appwrite": {
23+
"command": "uvx",
24+
"args": [
25+
"mcp-server-appwrite",
26+
"--users"
27+
],
28+
"env": {
29+
"APPWRITE_API_KEY": "<your-api-key>",
30+
"APPWRITE_PROJECT_ID": "<your-project-id>",
31+
"APPWRITE_ENDPOINT": "https://<REGION>.cloud.appwrite.io/v1"
32+
}
33+
}
34+
}
35+
}
3736
```
3837

39-
{% /tabsitem %}
40-
{% /tabs %}
41-
4238
Once you save the details, Cursor will connect with the MCP server and load all available tools. You may need to restart Cursor if it is unable to start the MCP server.
4339

4440
{% info title="Enable other MCP tools" %}

src/routes/docs/tooling/mcp/windsurf/+page.markdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Update the `mcp_config.json` file to include the following:
3333
"env": {
3434
"APPWRITE_PROJECT_ID": "your-project-id",
3535
"APPWRITE_API_KEY": "your-api-key",
36-
"APPWRITE_ENDPOINT": "https://cloud.appwrite.io/v1" // Optional
36+
"APPWRITE_ENDPOINT": "https://<REGION>.cloud.appwrite.io/v1"
3737
}
3838
}
3939
}
-57.8 KB
Binary file not shown.
-41.8 KB
Loading

0 commit comments

Comments
 (0)