MCP cover image
See in Github
2025-04-03

UpStash模型上下文服务器

8

Github Watches

4

Github Forks

26

Github Stars

Upstash MCP Server

smithery badge

Model Context Protocol (MCP) is a new, standardized protocol for managing context between large language models (LLMs) and external systems. In this repository, we provide an installer as well as an MCP Server for Upstash Developer API's.

This allows you to use any MCP Client to interact with your Upstash account using natural language, e.g.:

  • "Create a new Redis database in us-east-1"
  • "List my databases"
  • "List keys starting with "user:" in users-db"
  • "Create a backup"
  • "Give me the spikes in throughput during the last 7 days"

Usage

Requirements

How to use locally

Installing for Claude Desktop

To install Upstash MCP Server for Claude Desktop automatically via Smithery run the following command:

npx -y @smithery/cli@latest install @upstash/mcp-server --client claude
Install without Smithery
npx @upstash/mcp-server init <UPSTASH_EMAIL> <UPSTASH_API_KEY>

This will edit your MCP config file and add an entry for Upstash.

Installing for Cursor

To install Upstash MCP Server for Cursor automatically via Smithery run the following command:

npx -y @smithery/cli@latest install @upstash/mcp-server --client cursor
Install without Smithery

Add the following command to the MCP config in Cursor. For more info, check the Cursor MCP docs.

npx -y @upstash/mcp-server run <UPSTASH_EMAIL> <UPSTASH_API_KEY>

Installing for Windsurf

To install Upstash MCP Server for Windsurf automatically via Smithery run the following command:

npx -y @smithery/cli@latest install @upstash/mcp-server --client windsurf
Install without Smithery

Add the following command to the MCP config in Windsurf. For more info, check out the Windsurf MCP docs.

npx -y @upstash/mcp-server run <UPSTASH_EMAIL> <UPSTASH_API_KEY>

Running with Docker

You can also use the provided Docker image to run the server.

docker build -t upstash-mcp .

# Run the stdio server, add this command to you MCP config
docker run --rm -i \
  -e UPSTASH_EMAIL=<UPSTASH_EMAIL> \
  -e UPSTASH_API_KEY=<UPSTASH_API_KEY> \
  upstash-mcp

Troubleshooting

Common Issues

Your mcp client might have trouble finding the right binaries because of the differences between your shell and system PATH.

To fix this, you can get the full path of the binaries by running which npx or which docker in your shell, and replace the npx or docker command in the MCP config with the full binary path.

Node Version Manager

If you are using a node version manager like nvm or fnm, please check this issue. You should change the node command in the MCP config to the absolute path of the node binary.

Additional Troubleshooting

See the troubleshooting guide in the MCP documentation. You can also reach out to us at Discord.

Tools

Redis

  • redis_database_create_backup
  • redis_database_create_new
  • redis_database_delete
  • redis_database_delete_backup
  • redis_database_get_details
  • redis_database_list_backups
  • redis_database_list_databases
  • redis_database_reset_password
  • redis_database_restore_backup
  • redis_database_run_multiple_redis_commands
  • redis_database_run_single_redis_command
  • redis_database_set_daily_backup
  • redis_database_update_regions
  • redis_database_get_usage_last_5_days
  • redis_database_get_stats

Development

Clone the project and run:

pnpm install
pnpm run watch

This will continuously build the project and watch for changes.

For testing, you can create a .env file in the same directory as the project with the following content:

UPSTASH_EMAIL=<UPSTASH_EMAIL>
UPSTASH_API_KEY=<UPSTASH_API_KEY>

This will be used for setting the Claude config and running mcp inspector.

Testing with Claude Desktop

To install the Claude Desktop config for local development, run the following command:

pnpm run setup

This will add an upstash entry to your MCP config file that points to the local build of the package.

{
  "upstash": {
    "command": "node",
    "args": ["<path-to-repo>/dist/index.js", "run", "<UPSTASH_EMAIL>", "<UPSTASH_API_KEY>"]
  }
}

NOTE: The same issue with node version manager applies here. Please look at the note in the usage section if you are using a node version manager.

You can now use Claude Desktop to run Upstash commands.

To view the logs from the MCP Server in real time, run the following command:

pnpm run logs

Testing with MCP Inspector

You can also use the MCP Inspector to test the tools.

pnpm run inspector

相关推荐

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Lists Tailwind CSS classes in monospaced font

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • n8n-io
  • 具有本机AI功能的公平代码工作流程自动化平台。将视觉构建与自定义代码,自宿主或云相结合,400+集成。

    Reviews

    3 (1)
    Avatar
    user_uIO487dB
    2025-04-17

    As a dedicated user of mcp-server by upstash, I am thoroughly impressed with its performance and ease of use. This server solution has significantly streamlined my workflow, making data management more efficient. Moreover, the documentation provided on their GitHub page is comprehensive and user-friendly, ensuring a smooth setup process. Highly recommended for anyone in need of reliable server management!