MCP Server Template for Cursor IDE
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 commands to Cursor IDE without complex setup.
Overview
The MCP Server Template for Cursor IDE is a ready-to-use server template designed for developers to extend the Cursor IDE with custom tools using the Model Context Protocol (MCP). It allows for easy deployment and customization of tools within the Cursor IDE environment.
To use the MCP Server Template, you can deploy it to Heroku with a single click, or set it up locally using Docker or traditional Python methods. After deployment, configure your Cursor IDE to connect to the server using the provided URL.
- One-click deployment to Heroku. - Support for Docker and traditional Python setup. - Custom command creation for Cursor IDE. - Easy integration with Cursor IDE settings.
- Creating custom tools for data processing in Cursor IDE.
- Enhancing the development experience with personalized commands.
- Testing and deploying new features quickly in a collaborative environment.
Add to your AI client
Use these steps to connect MCP Server Template for Cursor IDE in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"example-mcp-server-kirill-markin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-example-mcp-server-kirill-markin"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"example-mcp-server-kirill-markin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-example-mcp-server-kirill-markin"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"example-mcp-server-kirill-markin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-example-mcp-server-kirill-markin"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"example-mcp-server-kirill-markin": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-example-mcp-server-kirill-markin"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"example-mcp-server-kirill-markin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-example-mcp-server-kirill-markin"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"example-mcp-server-kirill-markin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-example-mcp-server-kirill-markin"
]
}
}
}FAQ
Can I customize the tools after deployment?
Yes! You can modify the tools in your repository after creating it from the template.
Is there support for local development?
Yes! You can run the server locally using Docker or traditional Python setup.
What is the purpose of the MCP protocol?
The MCP protocol allows for seamless communication between the Cursor IDE and custom tools, enhancing the overall functionality.