Create custom MCP servers for Cursor IDE with simple deployment options and setup guides
The Weaviate MCP Server Template for Cursor IDE is a robust, extensible solution designed to enable developers and integrators to create custom tools that can be seamlessly connected to Cursor IDE through the Model Context Protocol (MCP). This template provides a simple yet powerful foundation upon which you can build intelligent applications tailored to specific business needs. Whether deployed via Heroku, Docker, or directly in a local environment, this server ensures smooth integration with various AI clients such as Claude Desktop and Continue.
The Weaviate MCP Server Template is built on top of advanced Python frameworks, ensuring fast development cycles and robust performance. It supports multiple deployment methods, including Heroku for cloud scalability, Docker for containerized environments, and a traditional setup to run locally. The server provides core MCP capabilities such as standardized communication protocols, error handling mechanisms, and custom configuration options. These features facilitate seamless interaction with various AI clients.
The architecture of the Weaviate MCP Server Template is designed around the Model Context Protocol (MCP), which serves as a bridge between AI applications like Cursor IDE and proprietary tools or data sources. The protocol ensures consistent communication, enabling the server to provide real-time updates and responses through Server-Sent Events (SSE). Internally, the server leverages modern Python libraries for efficient handling of requests and responses.
The MCP implementation within this template includes comprehensive error handling, logging mechanisms, and configurable settings. These features allow developers to customize the behavior of the server according to their specific needs. Additionally, the template supports advanced security measures such as SSL encryption and user authentication.
Configure Cursor IDE:
/sse
path (e.g., https://<your-app-name>.herokuapp.com/sse
)# Clone the repository
git clone https://github.com/kirill-markin/weaviate-mcp-server.git
cd weaviate-mcp-server
# Create environment file
cp .env.example .env
# Build and start the server
docker compose up --build -d
# View logs
docker compose logs -f
# Check server status
docker compose ps
# Stop the server
docker compose down
uv run pytest -v
curl -i http://localhost:8000/sse
http://localhost:8000/sse
or the Heroku URLFirst, install the required tools:
# Install uv on macOS
brew install uv
# Or install via pip (any OS)
pip install uv
Start the server using either stdio transport (default) or SSE transport:
# Install the package with development dependencies
uv pip install -e ".[dev]"
# Using default stdio transport
uv run weaviate-mcp-server
# Using SSE transport on custom port
uv run weaviate-mcp-server --transport sse --port 8000
The Weaviate MCP Server Template is ideal for integrating various data sources and tools into AI workflows. For instance, a financial analyst can use the server to fetch real-time stock market data directly from Cursor IDE without coding. Conversely, an educational institution might deploy the server to provide personalized learning resources based on student performance metrics.
Consider these examples:
Example 1: Real-Time Stock Market Data Integration
Example 2: Personalized Learning Resources
The Weaviate MCP Server Template supports multiple MCP clients including Claude Desktop, Continue, and Cursor IDE. Below is a compatibility matrix highlighting supported features:
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor IDE | ❌ | ✅ | ❌ | Tools Only |
Note that while tools are fully supported, the Cursor IDE currently does not natively communicate with prompts.
The Weaviate MCP Server Template offers high performance and broad compatibility across different environments. Key metrics for evaluation include latency, throughput, and concurrent connections. Here’s a sample configuration:
{
"mcpServers": {
"weaviate-mcp-server": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-weaviate"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
Available environment variables (set in .env
):
MCP_SERVER_PORT
(default: 8000) - Port to run the server onMCP_SERVER_HOST
(default: 0.0.0.0) - Host to bind the server toDEBUG
(default: false) - Enable debug modeMCP_USER_AGENT
- Custom User-Agent for website fetchingTo ensure robust security, the template includes SSL encryption and token-based authentication mechanisms. You can configure these settings through environment variables or direct code modifications.
How does this MCP server enhance AI applications?
Can I use this template for both local development and cloud deployment?
Which AI clients are compatible with this server?
How do I set up an HTTPS endpoint for the server?
Can I change the environment variables at runtime?
docker compose
commands or modifying the .env
file directly, you can adjust environment variables on-the-fly without stopping the server.For developers interested in contributing to this project, please ensure the following:
Fork and Clone Repository:
Set Up Your Local Environment:
pip install -e ".[dev]"
.env
file.Run Tests and Linting:
uv run pytest -v --reusedb --strict --flake8 --docstr-cov
to run tests and static code analysis.Commit Changes with Descriptions:
Pull Request Guidelines:
Explore more resources within the MCP ecosystem:
For detailed documentation and community support, visit the official Model Context Protocol website.
By adopting the Weaviate MCP Server Template for Cursor IDE, developers can unlock new possibilities in AI application integration, enhancing productivity and innovation across various industries.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods