Cursor Integration
Cursor is an AI-powered code editor with MCP protocol support for code assistance and data queries.
Configuration Steps
Locate the configuration file:
- Project-level: Create
.cursor/mcp.jsonin the project root - Global:
~/.cursor/mcp.json(or Windows:%USERPROFILE%\.cursor\mcp.json)
- Project-level: Create
Edit the configuration file:
Hosted HTTP Mode (Recommended)
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"
}
}
}
}- Save and restart Cursor
- 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