Skip to content

Commit 1470545

Browse files
committed
Update cursor mcp docs
1 parent 6361d50 commit 1470545

File tree

3 files changed

+19
-23
lines changed

3 files changed

+19
-23
lines changed

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://cloud.appwrite.io/v1" // Optional
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" %}
-57.8 KB
Binary file not shown.
-41.8 KB
Loading

0 commit comments

Comments
 (0)