MCP Server Template for Cursor IDE
Overview
MCP Server Template for Cursor IDE is a simple template designed for creating custom tools for Cursor IDE using Model Context Protocol (MCP). It allows users to create their own repositories, modify tools, and connect them to Cursor IDE.
To use the MCP Server Template, you can deploy it to Heroku, configure it in Cursor IDE, and test your agent's mood. You can also run the server using Docker or a traditional Python setup.
- Easy deployment to Heroku with a single click. - Supports Docker for containerized deployment. - Traditional Python setup for flexibility. - Customizable environment variables for server configuration.
- Creating custom tools for Cursor IDE.
- Testing agent responses in Cursor IDE.
- Deploying server applications quickly using Heroku.
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": {
"mcp-server-heroku-myblockcities": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-heroku-myblockcities"
]
}
}
}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": {
"mcp-server-heroku-myblockcities": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-heroku-myblockcities"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-heroku-myblockcities": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-heroku-myblockcities"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-heroku-myblockcities": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-heroku-myblockcities"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-heroku-myblockcities": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-heroku-myblockcities"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-heroku-myblockcities": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-heroku-myblockcities"
]
}
}
}FAQ
Can I run the server locally?
Yes! You can run the server using Docker or a traditional Python setup.
Is there a way to customize the server settings?
Yes! You can set various environment variables in the `.env` file to customize the server settings.
How do I test the server after deployment?
You can test the server by accessing the SSE endpoint or using the provided curl command.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1294,"uuid":"c5741404-1cc4-4d46-934d-f9ee2829e648","name":"mcp-server-heroku","title":"MCP Server Template for Cursor IDE","description":null,"avatar_url":"https://avatars.githubusercontent.com/u/42049462?v=4","created_at":"2025-02-20T14:39:33.707+00:00","updated_at":"2025-02-23T07:21:18.064+00:00","status":"created","author_name":"MyBlockcities","author_avatar_url":"https://avatars.githubusercontent.com/u/42049462?v=4","tags":"mcp-server,cursor-ide,heroku","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MyBlockcities/mcp-server-heroku","target":"_self","content":"$29","summary":"$2a","img_url":"https://github.com/MyBlockcities/mcp-server-heroku/raw/main/docs/images/server-mood.png","type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]