drio
Open app

MCP Server Template for Cursor IDE

Source

A template for building mcp servers in python

Catalog onlyCatalog onlySTDIO

Overview

MCP Server Template for Cursor IDE is a template designed for building custom tools using the Model Context Protocol (MCP) in Python, specifically for integration with Cursor IDE.

To use the MCP Server Template, you can deploy it to Heroku, run it using Docker, or set it up traditionally in your local environment. After deployment, configure it in Cursor IDE by adding a new MCP server with the provided URL.

  • Easy deployment options (Heroku, Docker, local setup) - Integration with Cursor IDE for custom tool development - Support for environment variable configuration
  1. Creating custom tools for Cursor IDE.
  2. Testing server responses and mood interactions.
  3. Developing and deploying Python-based MCP servers.

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-template-chrisboden": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-template-chrisboden"
      ]
    }
  }
}

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-template-chrisboden": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-template-chrisboden"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-template-chrisboden": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-template-chrisboden"
      ]
    }
  }
}

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-template-chrisboden": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-template-chrisboden"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-template-chrisboden": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-template-chrisboden"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-template-chrisboden": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-template-chrisboden"
      ]
    }
  }
}

FAQ

What is the purpose of this template?

It serves as a starting point for developers to create custom tools for Cursor IDE using the Model Context Protocol.

Can I run this template locally?

Yes! You can run it using Docker or a traditional Python setup.

Is there support for different deployment methods?

Yes, you can deploy it on Heroku, use Docker, or set it up locally.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1443,"uuid":"ca1c0b61-81e0-4c36-bf12-246ef006e82b","name":"mcp_template","title":"MCP Server Template for Cursor IDE","description":"A template for building mcp servers in python","avatar_url":"https://avatars.githubusercontent.com/u/248081?v=4","created_at":"$D2025-02-20T15:49:41.442Z","updated_at":"$D2025-02-23T07:21:39.371Z","status":"created","author_name":"chrisboden","author_avatar_url":"https://avatars.githubusercontent.com/u/248081?v=4","tags":"mcp,cursor-ide,server-template","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/chrisboden/mcp_template","target":"_self","content":"$29","summary":"$2a","img_url":"https://github.com/chrisboden/mcp_template/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"}]]}]