We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/santosh07401/redshift-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
setup-local.md•1.1 kB
---
description: How to set up and run the Redis MCP server locally from scratch
---
# End-to-End Local Setup Guide
Follow these steps to get the Redis MCP server running on your local machine.
## 1. Prerequisites
- **Python 3.11+**: Ensure `py --version` works in your terminal.
- **Docker Desktop**: Must be installed and running.
## 2. Environment Setup
// turbo
1. **Install Python Dependencies**:
```powershell
py -m pip install mcp redis python-dotenv
```
2. **Configure Environment Variables**:
Create a `.env` file in the project root:
```env
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
```
## 3. Start Redis Infrastructure
// turbo
1. **Start Redis Container**:
```powershell
docker run -d -p 6379:6379 --name redis redis:latest
```
2. **Seed Sample Data**:
```powershell
py seed_data.py
```
## 4. Verify the Setup
// turbo
1. **Run Local Test Suite**:
```powershell
py test_local.py
```
If all tests pass, your server is ready!
## 5. Run the MCP Server
To start the server in stdio mode (for use with AI clients):
```powershell
py redis_mcp_server.py
```