mcp-server
The Upstash MCP Server is designed to standardize the management of context between large language models (LLMs) and external systems using the Model Context Protocol (MCP). Users can interact with their Upstash account using natural language to perform operations such as creating databases and listing keys. It is easy to install using Node.js and integrates with the developer API.
GitHub Stars
50
User Rating
Not Rated
Favorites
0
Views
22
Forks
11
Issues
0
Installation
Difficulty
IntermediateEstimated Time
10-20 minutes
Requirements
Node.js >= v18.0.0Upstash API keyInstallation
Installation
Prerequisites
Node.js: 18.0.0 or higher
Upstash API key: [Create one here](https://console.upstash.com/account/api)
Installation Steps
1. Install using Smithery
bash
npx -y @smithery/cli@latest install @upstash/mcp-server --client claude
2. Install without Smithery
bash
npx @upstash/mcp-server init
3. Run using Docker
bash
docker build -t upstash-mcp .
docker run --rm -i \
-e UPSTASH_EMAIL= \
-e UPSTASH_API_KEY= \
upstash-mcp
Troubleshooting
Common Issues
Issue: Server won't start Solution: Check Node.js version and reinstall dependencies.Configuration
Configuration
Basic Configuration
Claude Desktop Setup
Edit~/.config/claude-desktop/claude_desktop_config.json:
json
{
"mcpServers": {
"upstash-mcp": {
"command": "npx",
"args": ["-y", "@upstash/mcp-server"]
}
}
}
Environment Variables
Set the following environment variables as needed:bash
export UPSTASH_EMAIL="your-email"
export UPSTASH_API_KEY="your-api-key"
Configuration Example
json
{
"mcpServers": {
"upstash-mcp": {
"command": "npx",
"args": ["-y", "@upstash/mcp-server"]
}
}
}
Examples
Examples
Basic Usage
Using with Claude Desktop
1Verify MCP Server Startup
Open Claude Desktop and confirm that the configuration has been loaded correctly.
2Execute Basic Commands
Available tools from this MCP server:
- Create a new Redis database
- List my databases
Programmatic Usage
javascript
// JavaScript example (Node.js)
const { MCPClient } = require('@modelcontextprotocol/client');
const client = new MCPClient();
await client.connect();
// Execute tool
const result = await client.callTool('Create a new Redis database', {});
console.log(result);
Use Cases
Execute a command to create a new Redis database
Retrieve a list of existing databases
List keys with a specific prefix
Create a backup of a database
Get spikes in throughput over the last 7 days