Skip to content

Environment Variables

Developer configuration

PriceMinder MCP Server supports the following environment variable configuration.

stdio Mode Environment Variables

Applicable to local stdio mode (uvx sentinel-mcp-server):

VariableDescriptionDefault Value
SENTINEL_API_BASESentinel REST API addresshttps://priceminder.online/api/v1
SENTINEL_TOKENUser authentication Token (required)
SENTINEL_TIMEOUTHTTP request timeout (seconds)30

TIP

The token is obtained from the Chrome extension settings page, or created via the POST /auth/init API endpoint.

HTTP Hosted Mode Environment Variables

Applicable to self-hosted HTTP mode deployment (see Deployment Guide):

VariableDescriptionDefault Value
SENTINEL_API_BASEBackend API addresshttps://priceminder.online/shopee
SENTINEL_MCP_INTERNAL_KEYInternal communication keysentinel-mcp-internal-2026
SENTINEL_TOKENRequired only in stdio mode
MCP_MODERunning modehttp
MCP_HOSTListening address0.0.0.0
MCP_PORTListening port8020
LOG_LEVELLog levelinfo

Configuration Examples

stdio Mode (Client Configuration)

Set the env field in your AI client's MCP configuration:

json
{
  "mcpServers": {
    "sentinel": {
      "command": "uvx",
      "args": ["sentinel-mcp-server"],
      "env": {
        "SENTINEL_API_BASE": "https://priceminder.online/api/v1",
        "SENTINEL_TOKEN": "your-token",
        "SENTINEL_TIMEOUT": "30"
      }
    }
  }
}

HTTP Mode (Docker / systemd)

bash
docker run -d \
  --name sentinel-mcp \
  -p 127.0.0.1:8020:8020 \
  -e SENTINEL_API_BASE=https://priceminder.online/shopee \
  -e SENTINEL_MCP_INTERNAL_KEY=sentinel-mcp-internal-2026 \
  -e MCP_MODE=http \
  -e MCP_HOST=0.0.0.0 \
  -e MCP_PORT=8020 \
  -e LOG_LEVEL=info \
  sentinel-mcp

Released under the MIT License.