This server template for Cursor IDE provides several functionalities:
- Fetch website content: Retrieve content from specified URLs
- Check server mood: Get a cheerful response with a heart ❤️
- Access documentation: Fetch Railway CLI documentation with customization options
- Manage prompt templates for various development tasks:
- Root cause analysis and issue fixing
- Starting new projects
- Proceeding with tasks
- Handling change requests
- Analyzing and fixing linter errors
- Generating unit tests
- Documenting system infrastructure and tool stack
Provides Docker setup and deployment options for running the MCP server with Docker Compose, including build, run, and monitoring commands.
Supports environment variable configuration through .env files for customizing server behavior and connection settings.
Enables one-click deployment of the MCP server to Heroku cloud platform, providing a hosted endpoint that can be connected to Cursor IDE.
Provides macOS-specific installation instructions using Homebrew for setting up the uv package manager.
Includes test support with pytest for verifying the functionality of the MCP server components.
Supports traditional Python setup using the uv package manager for installation and running the MCP server with various transport options.
Fetches and provides access to Railway CLI documentation through dedicated tools for retrieving and optimizing Railway documentation content.
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
/sse
path (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:
- Build and run using Docker Compose:
- The server will be available at:
- SSE endpoint: http://localhost:8000/sse
- Quick test:
- 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:
Start the server using either stdio (default) or SSE transport:
After installation, you can connect the server directly to Cursor IDE:
- Right-click on the
cursor-run-mcp-server.sh
file 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.sh
that you copied earlier. For example:/Users/kirillmarkin/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:
Glama server review
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
A template for creating custom tools for Cursor IDE using Model Context Protocol (MCP), allowing developers to extend Cursor's functionality with their own server-based tools.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA simple template for creating custom tools for Cursor IDE using Model Context Protocol, deployable via Heroku, Docker, or directly within Cursor IDE.Last updated -2PythonMIT License
- AsecurityAlicenseAqualityA template for creating and connecting custom tools to Cursor IDE using Model Context Protocol with support for cheerful server responses.Last updated -41PythonMIT License
- AsecurityAlicenseAqualityA template for creating custom tools for Cursor IDE using Model Context Protocol that allows users to deploy their own MCP server to Heroku and connect it to Cursor IDE.Last updated -21PythonMIT License
- -securityAlicense-qualityA Model Context Protocol (MCP) server for Cursor IDE that simplifies the installation and configuration of other MCP servers.Last updated -88223JavaScriptMIT License
Appeared in Searches
- Installing MCP (Minecraft Coder Pack) servers into an IDE
- Setting Up MCP (Minecraft Control Panel or Related Tool) Helper
- Performing Email-Related Operations in Python
- How to create a sandbox environment
- Most Popular MCPS (Microsoft Certified Professionals, Music Copyright Societies, or Montgomery County Public Schools)