Back to .md Directory

Windsurf & Cursor Setup

Provides JSON configuration blocks to connect Windsurf and Cursor IDEs to a Listmonk MCP server via uvx.

May 2, 2026
0 downloads
0 views
mcp cursor
View source

What this file does

Provides JSON configuration blocks to connect Windsurf and Cursor IDEs to a Listmonk MCP server via uvx.

When to use it

  • You use Windsurf or Cursor and want to control Listmonk from the IDE
  • You already have a Listmonk instance running and need MCP integration
  • You are setting up AI-assisted newsletter or campaign management

Assumes this stack

WindsurfCursorListmonkuvxPython

Windsurf & Cursor Setup

Add the Listmonk MCP server to Windsurf or Cursor IDEs.

Windsurf Configuration

Add to your Windsurf MCP settings:

{
  "mcpServers": {
    "listmonk": {
      "command": "uvx",
      "args": ["listmonk-mcp"],
      "env": {
        "LISTMONK_MCP_URL": "http://localhost:9000",
        "LISTMONK_MCP_USERNAME": "your-api-username",
        "LISTMONK_MCP_PASSWORD": "your-api-token"
      }
    }
  }
}

Cursor Configuration

Add to your Cursor MCP settings:

{
  "mcpServers": {
    "listmonk": {
      "command": "uvx",
      "args": ["listmonk-mcp"],
      "env": {
        "LISTMONK_MCP_URL": "http://localhost:9000",
        "LISTMONK_MCP_USERNAME": "your-api-username",
        "LISTMONK_MCP_PASSWORD": "your-api-token"
      }
    }
  }
}

Environment Variables

  • LISTMONK_MCP_URL: Your Listmonk server URL
  • LISTMONK_MCP_USERNAME: API user created in Admin → Users
  • LISTMONK_MCP_PASSWORD: API token (not user password)

Prerequisites

  1. Install uvx (if not already installed):

    pip install uv
    
  2. Create API user and token in Listmonk admin interface:

    • Go to Admin → Users in your Listmonk instance
    • Create a new API user and token
  3. Restart your IDE after adding configuration

What's inside

2 IDE configuration blocks, 3 environment variables, 3 prerequisites, 1 installation command

Change this for your project

  • Replace "http://localhost:9000" with your Listmonk server URL
  • Replace "your-api-username" with your actual API username
  • Replace "your-api-token" with your actual API token

Where it goes

Save as AGENTS.md in your repository root. Read by Codex, Cursor and other agents that follow the AGENTS.md convention.

Related Documents