Skip to content

Commit c39be4f

Browse files
committed
feat: add cursor mcp docs
1 parent 8b0609b commit c39be4f

File tree

5 files changed

+53
-1
lines changed

5 files changed

+53
-1
lines changed

img/mcp/create-upstash-api-key.png

190 KB
Loading

img/mcp/cursor-mcp-settings.png

200 KB
Loading

img/mcp/cursor-new-mcp.png

171 KB
Loading

mint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,8 @@
687687
"redis/howto/vercelintegration",
688688
"redis/integrations/replit-templates",
689689
"redis/howto/emqxintegration",
690-
"redis/integrations/celery"
690+
"redis/integrations/celery",
691+
"redis/integrations/mcp"
691692
]
692693
},
693694
{

redis/integrations/mcp.mdx

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: "Upstash MCP"
3+
sidebarTitle: "MCP"
4+
---
5+
6+
We provide an open source Upstash MCP to use natural language to interact with your Upstash account, e.g.:
7+
8+
- "Create a new Redis database in us-east-1"
9+
- "List my databases"
10+
- "Show all keys starting with "user:" in my users-db"
11+
- "Create a backup"
12+
- "Show me the throughput spikes for the last 7 days"
13+
14+
---
15+
16+
## Quickstart
17+
18+
1. Go to `Cursor Settings > Features > MCP` and click `+ Add new global MCP server`. This opens a file called `mcp.json`.
19+
<img src="/img/mcp/cursor-mcp-settings.png" />
20+
2. Copy and paste the following command into the `mcp.json` file:
21+
```json
22+
{
23+
"mcpServers": {
24+
"upstash": {
25+
"command": "npx",
26+
"args": [
27+
"-y",
28+
"@upstash/mcp-server",
29+
"run",
30+
"<UPSTASH_EMAIL>",
31+
"<UPSTASH_API_KEY>"
32+
]
33+
}
34+
}
35+
}
36+
```
37+
3. Replace `<UPSTASH_EMAIL>` with the email you use to login to Upstash
38+
4. Replace `<UPSTASH_API_KEY>` with your account API key. Create one at `Account > Management API > Create API key`.
39+
<img src="/img/mcp/create-upstash-api-key.png" />
40+
5. Cursor now recognizes the Upstash MCP server and all available tools 🎉
41+
<img src="/img/mcp/cursor-new-mcp.png" />
42+
43+
To try it out, open the Cursor Agentic Chat. Cursor can now interact with our databases and will automatically use the MCP for Redis-related tasks like:
44+
45+
- Seeding data
46+
- Querying databases
47+
- Creating new databases
48+
- Managing backups
49+
- Analyzing performance metrics
50+
51+
For example, you can now ask Cursor to "add ten users to my Redis database".

0 commit comments

Comments
 (0)