feat: add mcp-servers/**

This commit is contained in:
Sun-ZhenXing
2025-10-23 09:08:07 +08:00
parent ece59b42bf
commit f603ed5db9
57 changed files with 3061 additions and 95 deletions

View File

@@ -0,0 +1,40 @@
# Redis MCP Server
[English](./README.md) | [中文](./README.zh.md)
This service deploys an MCP (Model Context Protocol) server for Redis, providing a standardized interface to interact with Redis databases.
## Services
- `mcp`: The MCP Redis server
- `redis`: Redis database service
## Environment Variables
| Variable Name | Description | Default Value |
| ------------------- | ----------------------------------------------------------------- | ------------- |
| MCP_REDIS_VERSION | MCP Redis image version | `latest` |
| MCP_PORT_OVERRIDE | Host port mapping for MCP server (maps to port 8000 in container) | 8000 |
| REDIS_VERSION | Redis image version | `7-alpine` |
| REDIS_PORT_OVERRIDE | Host port mapping for Redis (maps to port 6379 in container) | 6379 |
| TZ | Timezone setting | `UTC` |
Please modify the `.env` file as needed for your use case.
## Volumes
- `redis_data`: Redis data persistence
## Ports
- `8000`: MCP server API
- `6379`: Redis database
## Usage
The MCP server provides a standardized interface to interact with Redis. Access the MCP API at `http://localhost:8000`.
## Additional Information
- Model Context Protocol: <https://modelcontextprotocol.io/>
- Redis Documentation: <https://redis.io/documentation>