Skip to content

Cursor Integration

Cursor is an AI-powered code editor with MCP protocol support for code assistance and data queries.

Configuration Steps

  1. Locate the configuration file:

    • Project-level: Create .cursor/mcp.json in the project root
    • Global: ~/.cursor/mcp.json (or Windows: %USERPROFILE%\.cursor\mcp.json)
  2. Edit the configuration file:

json
{
  "mcpServers": {
    "sentinel": {
      "url": "https://mcp.priceminder.online?key=YOUR_MCP_KEY"
    }
  }
}

Local stdio Mode

json
{
  "mcpServers": {
    "sentinel": {
      "command": "uvx",
      "args": ["sentinel-mcp-server"],
      "env": {
        "SENTINEL_API_BASE": "https://priceminder.online/api/v1",
        "SENTINEL_TOKEN": "YOUR_API_TOKEN"
      }
    }
  }
}
  1. Save and restart Cursor
  2. You can now use monitoring commands in Cursor's AI conversation

Verification

Open an AI conversation in Cursor (Cmd/Ctrl + L) and try:

  • "Check my Shopee watch list"
  • "Any recent price drop alerts?"

Use Cases

Typical scenarios for using MCP in Cursor:

  • Query competitor prices directly while writing e-commerce data analysis scripts
  • Get real-time monitoring data while developing Shopee-related tools
  • Generate price analysis reports combined with code editing capabilities

Released under the MIT License.