mcp_template

mcp_template

3.5

A simple template for creating custom tools for Cursor IDE using Model Context Protocol (MCP).

The MCP Server Template for Cursor IDE is designed to facilitate the creation of custom tools that integrate seamlessly with the Cursor IDE environment. This template provides a straightforward approach to setting up a Model Context Protocol (MCP) server, which can be deployed on platforms like Heroku or run locally using Docker or traditional Python setups. The server is capable of handling requests and providing responses in a structured manner, making it an ideal choice for developers looking to enhance their Cursor IDE experience with custom functionalities. The template includes detailed instructions for deployment and configuration, ensuring that even those with minimal experience can get their server up and running quickly.

Features

  • Easy Deployment: Deploy the server on Heroku with a single click or use Docker for local setup.
  • Flexible Configuration: Supports both SSE and stdio transport methods for communication.
  • Customizable: Modify the template to create personalized tools for Cursor IDE.
  • Environment Variables: Configure server settings using environment variables for flexibility.
  • Integration with Cursor IDE: Seamlessly connect the server to Cursor IDE for enhanced functionality.

Usage with Different Platforms

docker_setup

bash
# 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

traditional_setup

bash
# Install uv on macOS
brew install uv
# Or install via pip (any OS)
pip install uv

# Install the package with development dependencies
uv pip install -e ".[dev]"

# Using stdio transport (default)
uv run mcp-simple-tool

# Using SSE transport on custom port
uv run mcp-simple-tool --transport sse --port 8000

# Run tests
uv run pytest -v

smithery_installation

bash
npx -y @smithery/cli install @kirill-markin/example-mcp-server --client claude