MCP Server Template for Cursor IDE
kirill-markin/example-mcp-server · 38 stars · Python · MIT
MCP server A ready-to-use MCP (Model Context Protocol) server template for extending Cursor IDE with custom tools. Deploy your own server to Heroku with one click, create custom commands, and enhance your Cursor IDE experience. Perfect for developers who want to add their own tools and comm
Install
The repo has no one-line install. Follow its README.
Files
MCP Server Template for Cursor IDE
A simple template for creating custom tools for Cursor IDE using Model Context Protocol (MCP). Create your own repository from this template, modify the tools, and connect them to your Cursor IDE.
Quick Start
-
Click "Deploy to Heroku" button
-
After deployment, configure Cursor:
- Open Cursor Settings → Features
- Add new MCP server
- Use your Heroku URL with
/ssepath (e.g.,https://<your-app-name>.herokuapp.com/sse)
-
Test your agent's mood in Cursor:
- Ask your agent "Please ask about our server mood and let me know how it is."
- The server will respond with a cheerful message and a heart ❤️
Alternative Setup Methods
You can run the server in three ways: using Docker, traditional Python setup, or directly in Cursor IDE.
Docker Setup
The project includes Docker support for easy deployment:
- Initial setup:
# 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 run using Docker Compose:
# 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
-
The server will be available at:
- SSE endpoint: http://localhost:8000/sse
-
Quick test:
# Test the server endpoint curl -i http://localhost:8000/sse
- Connect to Cursor IDE:
- Open Cursor Settings → Features
- Add new MCP server
- Type: Select "sse"
- URL: Enter
http://localhost:8000/sse
Traditional Setup
First, install the uv package manager:
# Install uv on macOS brew install uv # Or install via pip (any OS) pip install uv
Start the server using either stdio (default) or SSE transport:
# 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
After installation, you can connect the server directly to Cursor IDE:
- Right-click on the
cursor-run-mcp-server.shfile in Cursor - Select "Copy Path" to copy the absolute path
- Open Cursor Settings (gear icon)
- Navigate to Features tab
- Scroll down to "MCP Servers"
- Click "Add new MCP server"
- Fill in the form:
- Name: Choose any name (e.g., "my-mcp-server-1")
- Type: Select "stdio" (not "sse" because we run the server locally)
- Command: Paste the absolute path to
cursor-run-mcp-server.shthat you copied earlier. For example:/Users/yourname/weaviate-mcp-server/cursor-run-mcp-server.sh
Environment Variables
Available environment variables (can be 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 fetching
Additional options
Installing via Smithery
To install MCP Server Template for Cursor IDE for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @kirill-markin/example-mcp-server --client claude
Glama server review
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 38
- License
- MIT
- Language
- Python
- Last push
- 2026-08-15
- Forks
- 19
- Topics
- automation, fetch, llm, mcp, web, cursor
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k
