A collection of MCP (Model Context Protocol) server implementations for Alibaba Cloud Tablestore, including Java and Python examples as well as an RAG-enhanced knowledge-base Q&A server.
https://github.com/aliyun/alibabacloud-tablestore-mcp-serverSkip the infrastructure setup and get straight to building AI applications. This MCP server collection gives you production-ready implementations for Alibaba Cloud Tablestore, complete with RAG-enhanced knowledge base capabilities and multi-language support.
Building AI applications means dealing with vector storage, similarity search, and context management. Instead of writing another custom integration, you get battle-tested MCP server implementations that handle the heavy lifting while you focus on your application logic.
The standout feature? A complete RAG-enhanced knowledge base system that goes beyond basic Q&A implementations. It includes optimized knowledge base construction and retrieval strategies that you'd otherwise spend weeks perfecting.
Multiple Implementation Options
Real-World AI Applications The RAG implementation isn't just a demo—it's designed for private knowledge base scenarios where you need:
Production-Ready Architecture Built by the Alibaba Cloud team, these servers handle the operational concerns you'd otherwise need to solve:
Internal Documentation Systems Deploy a knowledge base that understands your company's technical documentation, API specs, and internal processes. The RAG implementation handles complex queries that span multiple documents.
Customer Support Automation Build context-aware support systems that can reference your product documentation, troubleshooting guides, and historical support interactions stored in Tablestore.
Research and Analysis Tools Create applications that can query large document collections, research papers, or regulatory documents with sophisticated retrieval that understands context and relationships.
The servers expose standard MCP endpoints, so they integrate seamlessly with your existing AI toolchain:
# Vector operations
POST /mcp/v1/upsert # Store embeddings and metadata
POST /mcp/v1/query # Similarity search with filtering
POST /mcp/v1/index # Manage vector indices
Configuration happens through environment variables or Spring Boot properties—no complex setup files or custom deployment requirements.
Whether your team works in Java or Python, you get the same functionality:
The Java version includes a shaded JAR that bundles all dependencies, making deployment straightforward in containerized environments.
Clone and build (Java example):
git clone https://github.com/aliyun/alibabacloud-tablestore-mcp-server.git
cd tablestore-java-mcp-server
mvn clean package -DskipTests
Configure Alibaba Cloud credentials:
export ALIBABA_CLOUD_ACCESS_KEY_ID="your-key"
export ALIBABA_CLOUD_ACCESS_KEY_SECRET="your-secret"
export TABLESTORE_ENDPOINT="https://instance.region.ots.aliyuncs.com"
export TABLESTORE_INSTANCE_NAME="your-instance"
Start the server:
java -jar target/alibabacloud-tablestore-mcp-server.jar
Your MCP server runs on port 8080 with health checks at /health.
This isn't just another database wrapper—it's a complete foundation for building sophisticated AI applications on Alibaba Cloud infrastructure. The 133 GitHub stars and active community support from Alibaba Cloud's team show this is production-tested code you can rely on.